Restart container within pod

前端 未结 9 1091
日久生厌
日久生厌 2020-12-04 07:04

I have a pod test-1495806908-xn5jn with 2 containers. I\'d like to restart one of them called container-test. Is it possible to restart a single co

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 07:26

    There was an issue in coredns pod, I deleted such pod by

    kubectl delete pod -n=kube-system coredns-fb8b8dccf-8ggcf
    

    Its pod will restart automatically.

提交回复
热议问题