kubernetes 强制删除istio-system空间,强制删除pod
2024-10-19 03:38:32
加上这个选项 --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 / Terminating 1h
istio-sidecar-injector-c8c4c568b-x5m9j / Terminating 1h
> kubectl delete pods istio-galley-75679b695b-5p8vn -n istio-system --grace-period= --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 / Terminating 1h
> kubectl delete pods istio-sidecar-injector-c8c4c568b-x5m9j -n istio-system --grace-period= --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
最新文章
- Android 内容提供者的实现
- [转]jquery $(document).ready() 与window.onload的区别
- HDU 5727 Necklace 环排+二分图匹配
- IsBadStringPtr、IsBadWritePtr
- UESTC_The Most Wonderful Competition CDOJ 56
- Ubuntu下安装Pyqt4
- VS2010下创建的VB.NET项目打包发布安装包的流程
- 2017-5-18 Repeater 重复器的使用
- 鸟哥的linux私房菜学习-(四)linux命令的基本概念
- Swift中 删除Array的元素对象
- yii2 使用指定数据库执行createCommand
- iOS网络请求-AFNetworking源码解析
- django rest framework批量上传图片及导入字段
- CF1096D Easy Problem
- .NoSuchBeanDefinitionException: No bean named 'userService' available
- etymon word air aero aeri aer ag agreement walk joint trick skill chief forget out~1
- 微服务之间的调用(Ribbon与Feign)
- GBDT源码剖析
- JAVA简单内存泄露分析及解决
- nginx/ajax跨子域请求的两种现代方法以及403解决