StatefulSet pod not restarted after pod eviction timeout
Applies to
- RedHat OpenShift 3.11 cluster
- Netapp HCI
- StatefulSet resource defined in the OpenShift cluster
- Netapp Trident plugin
- Persistent Volume Claim (PVC)
- Persistent Volume (PV)
- Kubernetes cluster
Issue
- A PVC was submitted to the Openshift cluster and Trident created the associated PV in Element
- Deployed a StatefulSet resource (with one replica pod) in the RedHat OpenShift cluster
- The pod template yaml file in the StatefulSet resource contains the PVC created, so its bound PV will be attached and mounted in the StatefulSet pod replica
- When the node where the StatefulSet pod has been scheduled to, fails for any reason, the pod is not restarted in another worker node in the same OpenShift cluster, when the pod eviction timeout has been reached (by default set to 5 minutes)