k8s操作手册 2.3disabled_plugins = ["cri"] #再重启containerd即可有 unix:///run/containerd/containerd.sock 接口 #信任私有镜像仓库ssl证书,添加或修改以下几行配置 [plugins."io.containerd.grpc.v1.cri".registry.configs] [plugins."io.containerd # systemctl restart containerd ★如果不想配置信任私有镜像仓库,也可将服务器证书添加到操作系统的ca证 书库里 # cat ca.com.crt >> /etc/pki/tls/certs/ca-bundle.crt #将ca证书添加到centos系统证书信任列表中,链接到: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle 54:6443 \ #指定控制面板vip与端口号 --ignore-preflight-errors=Swap \ #忽略swap未关闭而导致的检查错误 --upload-certs #将控制平面证书上传到kubeadm-certs Secret;并在后续添加节点时自动分发证 书文件 ★使用配置文件方式去初始化集群(和上面命令行方式二选一) # kubeadm config print0 码力 | 126 页 | 4.33 MB | 1 年前3
git 操作手册cof@cof-lee.com #设置邮箱 # git config --global h�p.sslVerify false #不验证ssl证书 # git config --global --list #查看全局设置 ★本地设置 针 对 单 一 项 目 的 设 置 email cof@cof-lee.com #设置邮箱 # git config --local h�p.sslVerify false #不验证ssl证书 # git config --local --list #查看本地设置 ★系统设置 系统设置信息保存在/etc/gitconfig文件里 nginx['ssl_cer�ficate_key'] = "/etc/gitlab/gitlab.cof-lee.com.key" EOF # mkdir /git-data # mkdir /git-backup #将证书及密钥文件复制到/etc/gitlab目录下 # gitlab-ctl reconfigure #重加载配置文件(耗时较长,约5到10分钟) # gitlab-ctl0 码力 | 35 页 | 1.69 MB | 1 年前3
python3学习手册password_manager_enabled": False} chrome_options.add_experimental_option("prefs", prefs) # 信任网站自签名证书(信任不安全的连接) chrome_options.set_capability("acceptInsecureCerts", True) # 禁用javascript chrome_options0 码力 | 213 页 | 3.53 MB | 1 年前3
共 3 条
- 1













