摘要:
[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"... 阅读全文
摘要:
查看所有的node节点 [root@test1 ~]# kubectl get nodes NAME STATUS ROLES AGE VERSION test1 Ready 2h v1.11.0 test2 Ready node 21h ... 阅读全文