skip to Main Content

kubernetes ingress-nginx-controller: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io" no route to host

After creating a deployment for a web-application, consisting of pod, internal service and ingress, the ingress can't be created. When executing kubectl apply -f web-app.yaml, I get the error: error when creating "web-app.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io":…

VIEW QUESTION

Nginx `$remote_addr` always returns `127.0.0.1` only

My workflow is as follows. [ Client => Kubernetes Service => Nginx => Tomcat ] Here's my nginx.conf worker_processes 1; http { log_format main '$remote_addr - $http_nid_id [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; # HTTP server server…

VIEW QUESTION

Flask add multiple prefix to all routes – Nginx

Here is my nginx conf for my Flask app: server { listen 8888; location /dev1 { proxy_pass http://127.0.0.1:8000/; } location /prod1 { proxy_pass http://127.0.0.1:8001/; } location /prod2 { proxy_pass http://127.0.0.1:8002/; } location /prod3 { proxy_pass http://127.0.0.1:8003/; } } Now if…

VIEW QUESTION
Back To Top
Search