kubernetes - Nginx not reflecting the proxy server -
trying nginx on kubernetes access services running @ different ports.
intially when services deployed , nginx deployed @ last see working fine.
if of services updated/restarted , nginx unable access particular service.
server { location / { proxy_pass http://backends.example.com:8080; } }
and able access service if restart nginx through
nginx -s reload
anyway make nginx detect/poll reflect services restarts (service discovery dns)
service never "restarts", , it's clusterip never changes (well, unless delete , recreate service), don't need watch changes in backing endpoints @ in way kube-proxy you.
Comments
Post a Comment