I have 2 pods - P1
& P2
.
P1
is running Nginx Proxy.P2
running an envoy + custom application.
Due to some issue, the application stop responding to the requests redirected from P1
.
But locally K8s probes are working fine in P2.
In this condition, Is it possible to restart the P2 based on the Error count seen in P1? (No service mash used in this setup).