Erika
Erika

Reputation: 599

How to restart deployment in Kubernetes helm?

I deployed the consul client on my k8s cluster using helm .

sudo helm install hi-consul hashicorp/consul -n consul-client  -f config.yaml

enter image description here

One of the pods is not working now. Is there a way to restart that pod in the helm?

Thanks

Upvotes: 2

Views: 10459

Answers (1)

Harsh Manvar
Harsh Manvar

Reputation: 30113

You can delete the POD with kubectl delete <POD name> -n <Namespace name>

If you want all pods to be restarted you can use the kubectl rollout restart deployment <deployment name> -n <Namespace name>

Upvotes: 4

Related Questions