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"

  

posted @ 2019-08-09 10:50  番茄土豆西红柿  阅读(204)  评论(0编辑  收藏  举报
TOP