Tag: restart

  • Kubernetes – Prevent Empty Replicasets From Deployments

    Kubernetes – Prevent Empty Replicasets From Deployments

    Kubernetes deployments are funny. For every kubectl rollout restart deployment (or it’s API equivalent), there is a new -empty- statefulset… If you want to take a look, run the following: Quite allot huh? Clean them up with: To prevent a new empty replicaset for every new deployment, add: To your deployment, this will prevent each…