> Anti-Pattern: Direct Use Of Pods
> Kubernetes Pod is a building block that itself is not durable.
Kind of.. but you can set `restartPolicy: Always` and will always restart in case of failure.
Kind of.. but you can set `restartPolicy: Always` and will always restart in case of failure.
If so, the hack we've applied for StatefulSets is to delete the StatefulSet with `--cascade=false`. This keeps the Pods of the StatefulSet online, but removes the StatefulSet itself. We can then deploy the StatefulSet with the new configuration vlaues, and manually delete the Pods one-by-one to have the changes be applied.
Graceful: Nope. Needs Improvement: For sure Gets the job done: Yep!
But yah like I said, not as nice as deploying a deployment.