部署istio测试环境,想重新部署istio-operator,在清理残留资源时,在使用 kubectl delete ns istio-operator --grace-period=0 --force删除istio-operator这个namespace时,发现这个ns一直卡在Terminating 状态。

强制删除kubernetes的ns

 

解决

kubectl get ns istio-operator  -o json | jq 'del(.spec.finalizers)' |curl -v -H "Content-Type: application/json" -X PUT --data-binary @- http://127.0.0.1:8080/api/v1/namespaces/istio-operator/finalize

强制删除kubernetes的ns

 

相关文章:

  • 2022-02-19
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
猜你喜欢
  • 2022-12-23
  • 2021-05-25
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
相关资源
相似解决方案