How to prevent an automatic spin up of the pod of a StatefulSet ?
Issue
- Whenever a pod of a
statefulsetis deleted, a new pod will spin up on the assigned node as per the node-selector. - To temporarily prevent an
automaticspin up of the pod on the node of a statefulset so that any maintenance can be done on the node.
Environment
- Red Hat OpenShift Container Platform [OCP]
- v3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.