skip to Main Content

Nginx Ingress path is not pointing to service / path

I have nginx ingress installed on my cluster. Here is the yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-client annotations: kubernetes.io/ingress.class: nginx namespace: dev spec: rules: - host: example.com http: paths: - path: / pathType: Prefix backend: service: name: client-service…

VIEW QUESTION

rewrites path on ingress kubernetes – Nginx

i have tomcat backend service running on kubernetes cluster try to rewrite using ingress with path /blob/api/v1/test-backend > /api/v1/test-backend so the configuration now is running so can hit to xx.somedomain.com/blob/api/v1/test-backend and i want change to xx.somedomain.com/api/v1/test-backend with rewrites my basic…

VIEW QUESTION

Unable to apply Nginx ingress controller

I have 3 VMS running in localsystemeach 1 Master, 2 Nodes. I have installed weave CNI Network. I am trying to install the Nginx ingress controller with kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/cloud/deploy.yaml But im unable to create it. I have tried…

VIEW QUESTION

Rewrite rule for nginx-ingress in Kubernetes

I am struggling with making a rewrite/redirect rule on nginx-ingress on Kubernetes. According to the doc https://kubernetes.github.io/ingress-nginx/examples/rewrite/ it says it is possible with the annotation "nginx.ingress.kubernetes.io/rewrite-target", but unable to implement on my ingress. Maybe I am doing it wrong. An…

VIEW QUESTION

kubernetes ingress 502 bad gateway – CentOS

I installed a Kubernetes Cluster on bare metal (using VMware virtual machines) with the following nodes master-01 Ready control-plane,master 5d3h v1.21.3 master-02 Ready control-plane,master 5d3h v1.21.3 master-03 Ready control-plane,master 5d3h v1.21.3 worker-01 Ready <none> 5d2h v1.21.3 worker-02 Ready <none> 5d2h…

VIEW QUESTION
Back To Top
Search