在没有pod 的yaml文件时,强制重启某个pod

kubectl get pod PODNAME -n NAMESPACE -o yaml | kubectl replace --force -f -

 

来源 :https://www.jianshu.com/p/baa6b11062de

相关文章:

  • 2022-12-23
  • 2021-07-18
  • 2022-03-11
  • 2021-07-04
  • 2022-12-23
  • 2021-09-02
  • 2021-06-27
猜你喜欢
  • 2021-07-14
  • 2021-11-17
  • 2022-12-23
  • 2022-01-11
  • 2022-03-09
相关资源
相似解决方案