How to restart pod in Kubernetes?

You have a running Kubernetes deployment with pods and want to restart all of them. How could you do that? If you have Kubernetes 1.15, simply try:

$ kubectl rollout restart deployment YOUR_DEPLOYMENT_NAME_HERE

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *