Category : kubernetes-ingress

I am using Kubernetes v1.21.5 on docker. The following is my ingress YAML file kind: Ingress metadata: name: ingress-service annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" nginx.ingress.kubernetes.io/cors-allow-headers: Authorization, origin, accept nginx.ingress.kubernetes.io/cors-allow-methods: GET,POST nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/ssl-redirect: "false" spec: rules: – http: paths: – path: /service/account/?(.*) pathType: Prefix backend: service: name: auth-srv port: number: 3000 I am ..

Read more

I am trying to host my own Nextcloud server using Kubernetes. I want my Nextcloud server to be accessed from http://localhost:32738/nextcloud but every time I access that URL, it gets redirected to http://localhost:32738/login and gives me "404 Not Found". If I replace the path with path: / then, it works no problem on http://localhost:32738/login, but ..

Read more

I walked through the code in a 3 node K8 cluster and doesn’t seem like I am able to block the flow of traffic using networkpolicy on a deployment pod. Here is the the output from the exercise. [email protected]:~$ kubectl get deployment,svc,networkpolicy NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP X.X.X.X <none> 443/TCP 20d [email protected]:~$ ..

Read more

I got 2 spring app pods deployed in k8 cluster. 1 replica each. Both have their cluster-ip services exposing the services. /upstream/agentLabs/makeotherTierCall should forward to prevlab deployment /agentLabs/makeOtherTierCall /downstream/basics/hello should forward to newlab deployment /basics/hello I am using ingress-nginx to redirect the traffic with following rules. ingress-service.yml apiVersion: networking.k8s.io/v1 # UPDATE API kind: Ingress metadata: ..

Read more

We have configured traefik Ingress controller with self signed certificate, its working fine. Now we have to configure valid signed certificates(cert chain) with traefik controller. for this we have application_request.key, application.crt, intermediate.crt and root.crt certificates. we are trying to create secret by appending all the crt file in the below format. —–BEGIN CERTIFICATE—– application.crt —–END ..

Read more

Here is my ingress: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: 8link-app-kubernetes-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/use-regex: "true" nginx.ingress.kubernetes.io/rewrite-target: / spec: rules: – host: link8.in http: paths: – backend: service: name: link8-app-prod-svc port: number: 80 path: / pathType: Prefix – host: test.link8.in http: paths: – backend: service: name: link8-app-prod-svc port: number: 80 path: / pathType: Prefix In ..

Read more