k8s操作手册 2.3mtu 65536 qdisc noqueue state UNKNOWN # 本地环回口 inet 127.0.0.1/8 scope host lo 2: ens33: mtu 1500 qdisc pfifo_fast state UP #k8s服务器本身用于通信的网口 ver在重 启期间不可用 The connec�on to the server 10.99.1.245:6443 was refused - did you specify the right host or port? 等待几分钟恢复 对于旧的svc,端口范围不在刚刚设置的范围内,也是生效的,新创建的svc端口 范围必须在设置的范围内 ★创建ingress ①部署ingress控制器 ress控制器可基于某ingress 资源定义的规则将客户端的请求流量直接转发至与Service对应的后端pod资源 上,绕过service直接转发到真实pod上。Ingress资源是基于h�p的host名或url的 转发规则 k8s-ingress-nginx官网地址 h�ps://kubernetes.github.io/ingress-nginx/deploy/ # wget h�ps://raw 0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册--trusted-host xxx.com ②写入配置文件 在当前用户家目录下创建.pip目录,其下创建pip.conf文件 (windows为家目录下的pip目录下创建pip.ini文件) # mkdir ~/.pip # vi ~/.pip/pip.conf [global] index-url=h�ps://xxx.com/simple trusted-host=xxx.com com proxy=h�p://x.x.x.x:3128 [install] trusted-host=xxx.com ★国内的pip源地址: h�p://mirrors.aliyun.com/pypi/simple h�ps://pypi.tuna.tsinghua.edu.cn/simple ★python2.7安装pip命令 # curl h�ps://bootstrap.pypa 248:7788/simple/ ★客户端使用此pipy源 # pip3 install paramiko -i h�p://10.99.1.248:7788/simple/ --trusted-host 10.99.1.248 #上图可见成功了 ★python创建虚拟环境 有时在同一台服务器上安装多个python包,可能会产生依赖冲突问 题,可以通过创建虚拟环境来解决,python虚拟环境的原理是创建一0 码力 | 213 页 | 3.53 MB | 1 年前3
postgresql操作手册pg_hba.conf #pg-13版本,添加以下一行表示允 许所有客户端ip远程连接 #若修改了存储路径,则在新的路径下/data_pg/data/pg_hba.conf host all all 0.0.0.0/0 password # systemctl restart postgresql-13 hba.conf #pg-10版本,添加以下一行表示允许 所有客户端ip远程连接 #若修改了存储路径,则在新的路径下/data_pg/data/pg_hba.conf host all all 0.0.0.0/0 password # systemctl restart postgresql "type", "database", "user_name", "address", "netmask", "auth_method", "options", "error") VALUES (94, 'host', '{all}', '{all}', '0.0.0.0', '0.0.0.0', 'password', NULL, NULL); 第一个94为自动生成的规则编号,前面的0.0.0.0为网段,后面的00 码力 | 17 页 | 445.84 KB | 1 年前3
DoD CIO Enterprise DevSecOps Reference Design - Summaryservice 5. DCAR for the hardened containers 6. Common Vulnerabilities and Exposures (CVE)Service / host-based security to provide CVEs for the security sidecar container CSIAC Webinars - DoD Enterprise0 码力 | 8 页 | 3.38 MB | 5 月前3
git 操作手册★客户端使用ssh密钥登录gitlab 编辑ssh的客户端配置文件,使用ssh登录gitlab.cof-lee.com主机时,指定用户名 及ssh私钥 # vi ~/.ssh/config Host gitlab.cof-lee.com Iden�tyFile ~/cof-sshkey User cof Iden�tyAgent none # ssh git@gitlab0 码力 | 35 页 | 1.69 MB | 1 年前3
共 5 条
- 1













