Kubernetes : If node lost, communication is intermittent with running Pods

11/21/2019

Anyone has aware of this issue, I have a cluster of 3 nodes and Am running pods in statefulset. totally 3 pods are running in the order, assume pod-0 running on node-1, pod-2 running on node-2, and pod-3 running on node-3. now, the traffic is going properly and getting the response immediately, when we stop one node(eg: node-2) , then the response is intermittent and the traffic is routing to stopped pod as well, is there any solution/workaround for this issue.

-- Raja
kubernetes

1 Answer

11/21/2019

when we stop one node(eg: node-2), then the response is intermittent and the traffic is routing to stopped pod as well, is there any solution/workaround for this issue.

This seem to be a reported issue. However, Kubernetes is a distribued cloud native system and you should design for resilience with use of request retries.

-- Jonas
Source: StackOverflow