Skip to content

How to Restart a Kubernetes Application

  • While one could simply delete a pod to have Kubernetes redeploy it, the correct way to restart an application is to perform a 'rollout restart'.
$ kubectl rollout restart deployment (deployment name) -n (namespace name)

Created: 2021-06-09 02:05
Last update: 2021-09-01 02:37