摘要:
Kubernetes 排错之 Pod 异常 本章介绍 Pod 运行异常的排错方法。 一般来说,无论 Pod 处于什么异常状态,都可以执行以下命令来查看 Pod 的状态 kubectl get pod <pod-name> -o yaml 查看 Pod 的配置是否正确 kubectl describe 阅读全文
摘要:
while 循环应用的实例:一:写出只有 1 2 3 4 5 6 8 9 10a = 1while True: if a == 7: a = a+1 continue print(a) a = a+1 if a == 11: break二:写出1-100 的和i = 1a = 0while i < 阅读全文