How to disable istio readiness probe

5/9/2019

I want to disable istio readiness probe from doing health check.. on running service. Is there a way to disable http readiness probe and later enable it

-- pappu_kutty
envoyproxy
istio
kubernetes

1 Answer

5/10/2019

Rewriting my comment as an answer as it seems to be a valid workaround for this issue:

You can add this annotation to the pods to disable probes on the istio-proxy containers:

status.sidecar.istio.io/port: "0"

The issue is being discussed on github, with more information: https://github.com/istio/istio/issues/9504#issuecomment-439432130

According to some comments there, it may happen when there's no service in front of some pods, or if some ports are exposed but not declared as containerPort, or in case of some labels mismatch between pods and services.

-- Joel
Source: StackOverflow