随笔分类 -  Kubernetes 奇淫巧计

摘要:强制删除所有Pods -- 谨慎使用 kubectl get pods -n ava-job | grep Error | awk '{print$1}'| xargs kubectl delete -n ava-job pods --grace-period=0 --force 阅读全文
posted @ 2019-11-25 11:35 JokerJason 阅读(978) 评论(0) 推荐(0) 编辑
摘要:1. 获取 Clientset 2. 获取 ConfigMap 3. 获取Nodes 4. 删减Nodes 5. 生成Secret 6. Ingress 获取 7. Deployment 获取 来源 : https://pizi.netlify.com/posts/kubernetes-client 阅读全文
posted @ 2019-11-20 16:07 JokerJason 阅读(5123) 评论(0) 推荐(0) 编辑
摘要:{{ 数据 }} 改写为 {{ ` {{ 数据 }} ` }} 阅读全文
posted @ 2019-08-27 15:18 JokerJason 阅读(2022) 评论(0) 推荐(0) 编辑
摘要:在没有pod 的yaml文件时,强制重启某个pod kubectl get pod PODNAME -n NAMESPACE -o yaml | kubectl replace --force -f - 来源 :https://www.jianshu.com/p/baa6b11062de 在没有po 阅读全文
posted @ 2019-07-24 16:58 JokerJason 阅读(2968) 评论(0) 推荐(0) 编辑

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things

点击右上角即可分享
微信分享提示