Hi team,
we are having 1000’s of pods running for our application. due to some reason we need to restart 100’s of pods. is there any way we can do it in kubernetes using kubectl or any other tool. Please advice. it should be pure pod restart.
we are using aws eks.
Thanks,
Manoj.
Pods aren’t really meant to be restarted, they’re meant to be destroyed and recreated. You can delete them to trigger an automatic redeployment or update the podspec to force a new rollout according to how you have your strategy configured.
@mrbobbytables thanks for you suggestion. we will try that rollout strategy