How To Restart Kubernetes Pods With Kubectl
Kubectl doesn’t have a direct way of restarting individual Pods. Pods are meant to stay running until they’re replaced as part of your deployment routine. This is usually when you release a new version of your container image. Here are a few techniques you can use when you want to restart Pods without building a new image or running your CI pipeline. They can help when you think a fresh set of containers will get your workload running again....