摘要: [root@master ~]# cat a.py #!/usr/bin/python # -*- coding:UTF-8 -*- import subprocess def fun(): subprocess.call(["touch /rubbish/test1"], shell=True) subprocess.call(["touch /rubbish/test2"... 阅读全文
posted @ 2019-01-24 09:11 effortsing 阅读(1981) 评论(0) 推荐(0) 编辑
摘要: 查看所有的node节点 [root@test1 ~]# kubectl get nodes NAME STATUS ROLES AGE VERSION test1 Ready 2h v1.11.0 test2 Ready node 21h ... 阅读全文
posted @ 2019-01-24 08:06 effortsing 阅读(7284) 评论(0) 推荐(0) 编辑