How to Restart a Kubernetes Application

radar23131st August 2021 at 10:37pm
  • 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-08, last modified: 2021-08-31 at 22:37:20)