0

https://github.com/istio/istio/issues/41233

I have one namespace 'eshop-bg-poc' into kubernetes cluster and I have enabled istio automatic injection also into namespace. I have one nginx under service name 'eshop-bgpoc-nginx' running with minimum replicas 3 and maximum replicas 5 . but if i redeployed nginx than for few seconds i received 502 badgateway request on nginx .

I tested same scenario by disable istio automatic injection into same namespace . It worked fine for redeployment nginx not able to see 502 bad gateway request.

Note : I haven't applied any virtual services and destination rule for nginx

  • if you dont need side car proxy for nginx pod alone you can add annotation sidecar.istio.io/inject with value false for nginx pods. is there any specific requirement for nginx pod to have istio configuration? – Nataraj Medayhal Sep 30 '22 at 11:49
  • if i disable sidecar injection into nginx than virtual services stop working for below services . my application structue is like nginx(no virtual services) -> ui(virtual services) -> bf(virtual services). virtual services logic apply on ui is stop working – hunny kalra Oct 04 '22 at 10:21
  • If I am not wrong the flow should be nginx (outside from application namespace) to istio enabled application namespace. nginx itself can be an reverse proxy or ingress controller. – Nataraj Medayhal Oct 04 '22 at 13:09
  • No , nginx is not outside application namespace , it is into same namespace – hunny kalra Oct 04 '22 at 13:40
  • Please deploy nginx outside application namespace – Nataraj Medayhal Oct 04 '22 at 14:54
  • if i move nginx outside of namespace issue will not be resolved than routing of traffic will stop working – hunny kalra Oct 04 '22 at 19:05

0 Answers0