Restart container within pod

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

命令

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

  

猜你喜欢

转载自www.cnblogs.com/robinunix/p/11325769.html
pod