zoukankan      html  css  js  c++  java
  • kubernetes 强制删除istio-system空间,强制删除pod

    加上这个选项 --grace-period=0 --force--grace-period=0 --force

    先删除deployment,pod,svc再删除namespace

    > kubectl get pod -n istio-system
    NAME                                     READY     STATUS        RESTARTS   AGE
    istio-galley-75679b695b-5p8vn            0/1       Terminating   0          1h
    istio-sidecar-injector-c8c4c568b-x5m9j   0/1       Terminating   0          1h
    > kubectl delete pods istio-galley-75679b695b-5p8vn -n istio-system --grace-period=0 --force
    warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
    pod "istio-galley-75679b695b-5p8vn" deleted
    >
    > kubectl get pod -n istio-system
    NAME                                     READY     STATUS        RESTARTS   AGE
    istio-sidecar-injector-c8c4c568b-x5m9j   0/1       Terminating   0          1h
    > kubectl delete pods istio-sidecar-injector-c8c4c568b-x5m9j -n istio-system --grace-period=0 --force
    warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
    pod "istio-sidecar-injector-c8c4c568b-x5m9j" deleted
    > kubectl get pod -n istio-system
    No resources found.
    > kubectl delete ns istio-system --grace-period=0 --force
  • 相关阅读:
    LightOJ 1245(Harmonic Number (II))
    牛客练习赛13 乌龟跑步(DP)
    vue-cli 打包编译 -webkit-box-orient: vertical 被删除解决办法
    vue静态文件处理
    vue项目关闭eslint检查
    Mac 桌面软件开发基础问答
    Mac App开发
    mac os app 开发
    vue中html模板使用绑定的全局函数
    软件版本标识
  • 原文地址:https://www.cnblogs.com/linyouyi/p/11173590.html
Copyright © 2011-2022 走看看