摘要: working directory 即工作目录,工作目录,就是脚本运行时候时的当前目录,linux中用pwd可以查看。 阅读全文
posted @ 2021-07-14 20:26 年轻人——001 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 总体来看,Kubernetes API Server的核心功能是提供kubernetes各类资源对象(如Pod,Rc,Service等)的增,删,改,查及watch等HTTP接口,成为集群内各个模块功能之间数据交互和通信的中心枢纽。 Kubenetes API Server 通过一个名为kube-a 阅读全文
posted @ 2021-07-14 16:10 年轻人——001 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1 import os 2 from dotenv import load_dotenv 3 4 # 一,__file__变量代表本运行脚本的绝对路径 5 print(__file__) 6 7 local_dir = os.path.dirname(__file__) 8 # 二,拼接出local 阅读全文
posted @ 2021-07-14 15:40 年轻人——001 阅读(187) 评论(0) 推荐(0) 编辑