I have a statefulset deployed with 1 replica. the pod was Running fine on a node until my node went into NotReady State. Pod went into Terminating state and got stuck there. I was hoping pod to get scheduled on a another healthy node. but it didn’t happen and my application had downtime until the un-healthy node went back to healthy state
I tried to deploy a PDB as well with minAvailable as 1. but still pod is remaining stuck in terminating state
kubectl version
Client Version: version.Info{Major:“1”, Minor:“19”, GitVersion:“v1.19.13”, GitCommit:“53c7b65d4531a749cd3a7004c5212d23daa044a9”, GitTreeState:“clean”, BuildDate:“2021-07-15T20:58:11Z”, GoVersion:“go1.15.14”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“19”, GitVersion:“v1.19.13”, GitCommit:“53c7b65d4531a749cd3a7004c5212d23daa044a9”, GitTreeState:“clean”, BuildDate:“2021-07-15T20:53:19Z”, GoVersion:“go1.15.14”, Compiler:“gc”, Platform:“linux/amd64”}