k8s操作手册 2.3
configs."cof-lee.com:5443".tls] insecure_skip_verify = true #跳过安全认证 #如果下载镜像需要身份验证则配置下面3行,不需要身份验证则不用配置 [plugins."io.containerd.grpc.v1.cri".registry.configs."cof-lee.com:5443".auth] lbname: lbvalue-nginx-web1 spec: containers: #在spec次级,定义一组容器,-表示数组 - name: nginx-v1-19-5 #容器名,小写字母开头,后可接数字-减 号,不可带小数点 image: cof-lee.com/k8s/nginx:v1 在containers/- name/下面,与image标签同级 spec: containers: #在spec次级,定义一组容器,-表示数组 - name: nginx-v1-19-5 #容器名,小写字母开头,后可接数字-减 号,不可带小数点 image: cof-lee.0 码力 | 126 页 | 4.33 MB | 1 年前3python3学习手册
hon --> /usr/libexec/pla�orm-python3.6 (可执行文件) ①进入交互模式 # python3 #输入python3 回车 >>> #这里可执行python代码,类似shell脚本 >>> print("hello") >>> exit() Se�ngs → Project: xxx →Python Interpreter → 右 侧 选 择 目 标 python解释器 ★关闭双击shi�全局搜索功能 有时我们使用shi�切换输入法,若不小心按的次数多了(按2次shi� 键),结果就弹出全局搜索框,不太友好,可以关闭此功能 File → Se�ngs → Advanced Se�ngs → 右 侧 的 User Interface 不区别单引号与双引号, 单个字符也是string list 有序 列表,数组 tuple 有序 元组 set 无序 不重复(自动删除重复项) 集合 py3新 增 dic�onary 无序 字典 {键值对 集合} 关键字必须互不相同 bytes 有序 字节数组,其元素值不可变,其元素类型为int (0~255) py3新增 bytearray0 码力 | 213 页 | 3.53 MB | 1 年前3git 操作手册
#查看git软件版本 git version 2.39.1 ★全局设置 设置用户名和邮箱,只用于提交commit时做metadata信息,不用于身份验证 #全局设置信息保存在 ~/.gitconfig 文件里 # git config --global user.name cof #设置用户名 # cof@cof-lee.com #设置邮箱 # git config --global h�p.sslVerify false #不验证ssl证书 # git config --global --list #查看全局设置 ★本地设置 针 对 单 一 项 目 user.email cof@cof-lee.com #设置邮箱 # git config --local h�p.sslVerify false #不验证ssl证书 # git config --local --list #查看本地设置 ★系统设置 系统设置信息保存在/etc/gitconfig文件里0 码力 | 35 页 | 1.69 MB | 1 年前3postgresql操作手册
ell用户名),-W指定 用户密码, # -d指定数据库,默认连接的数据库名同用户名 Password for user postgres: #输入密码 psql (13.13) Type "help" for help. postgres=# #提示符#前的postgres表示当前数据库名0 码力 | 17 页 | 445.84 KB | 1 年前3
共 4 条
- 1