python3学习手册Alt + Shi� 列选择模式,可同时选择多列 Ctrl + Alt + L 重新格式化代码,Reformat Code Ctrl + B 跳转到鼠标指定的函数定义处 Shi� + F10 运行程序 Ctrl + R 查找替换 ★设置字体颜色 File → Se�ngs → Editor → Color Scheme → Language Defaults → 选中目 标Scheme 链 接 , 默 认 安 装 路 径 : /usr/local/bin/ # python2 -c "import sys; print sys.path" ['', #程序当前路径 '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2 '/usr/lib/python2.7/site-packages'] # python3 -c "import sys; print(sys.path)" ['', #程序当前路径 '/usr/local/python3/lib/python37.zip', '/usr/local/python3/lib/python3.7', '/usr/local/python3/lib/python30 码力 | 213 页 | 3.53 MB | 1 年前3
k8s操作手册 2.3#镜像获取方式,优先本地,后网络 拉取 #command: [ "/bin/sh", "-ce", "ping -c 3 1.1.1.1" ] #容器入口程序及参数 resources: requests: #资源需求,定义了容器所需要的最小资源量,便于调度,不 能小于jvm中的Xms memory: IfNotPresent #镜像获取方式,优先本地,后网络拉 取 command: [ "/bin/sh", "-ce", "sleep 180" ] #容器入口程序及参数 restartPolicy: Never #重启策略,默认Always EOF # kubectl apply -f pod-busybox-test tolera�onSeconds: 600 #达到600秒后,也会被驱逐 ★第14章、Helm包管理 helm就是k8s的应用程序包管理器,helm将k8s应用的相关资源配置文件组织为 Charts Charts就是一个helm程序包, ★安装helm ①helm v3 ★Helm v3不再使用�ller,直接使用helm命令即可 helm开源地址: h�ps://github0 码力 | 126 页 | 4.33 MB | 1 年前3
共 2 条
- 1













