Restart container within pod

https://stackoverflow.com/questions/46123457/restart-container-within-pod

command

kubectl exec -it [POD_NAME] -c [CONTAINER_NAME] -- /bin/sh -c "kill 1"

  

Guess you like

Origin www.cnblogs.com/robinunix/p/11325769.html