k8s操作手册 2.3edit cm kube-proxy -n kube-system #编辑configMap 找到kind: KubeProxyConfigura�on这行往下第2行的mode: "",在""里写入ipvs, 保存退出 (要求在做准备工作时已加载ipvs内核模块) 再删除kube-proxy的所有pod(即重启这些pod) # kubectl get pod -n kube-system 51~53)使用haproxy做反向代理 frontend k8s_api_tcp_6443 bind *:6443 mode tcp default_backend my_k8s_cluster_6443 backend my_k8s_cluster_6443 mode tcp balance roundrobin server s1 10.99.1.51:6443 规则进行流量 的转发 ★kube-proxy的代理规则模式有: 代理模式 k8s版本要求 User Space proxy mode v1.0 + iptables proxy mode v1.1 + ipvs proxy mode v1.8 + 需要在所有k8s服务器上加载ipvs内核 模块 效率:ipvs > iptables > UserSpace0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册geometry("480x320") # 设置窗口大小,宽x高 sv = tkinter.StringVar() # 创建字符串变量 sv.trace("w", lambda name, index, mode, sv=sv: on_entry_change(sv)) entry = tkinter.Entry(window, textvariable=sv) # 创建条目 组件 entry.pack() window.title(f"{file_path} - 记事本") txt_edit.delete("1.0", tkinter.END) with open(file_path, mode="r", encoding="utf-8") as input_file: txt_edit.insert(tkinter.END, input_file.read()) # files", "*.txt"), ("All files", "*.*")]) if not file_path: return with open(file_path, mode="w", encoding="utf-8") as output_file: output_file.write(txt_edit.get("1.0", tkinter.END))#0 码力 | 213 页 | 3.53 MB | 1 年前3
Velocity Conference 2015self-teaching through search) is mentor telling you what not to worry about Perf events mixed mode can show stack traces of both Java and native system calls Continuous Delivery in Financial Training0 码力 | 4 页 | 176.79 KB | 5 月前3
The DevOps HandbookRollback by swinging traffic back 2. Database changes a. Create two DB – put one in read only mode, backup & restore to new environment, swing traffic b. Decouple DB changes from application changes0 码力 | 8 页 | 23.08 KB | 5 月前3
git 操作手册commit -m "msgxxx" #将暂存区提交到仓库区(commit为提交操作),- m后指定本次提交的说明信息 1 file changed, 1 inser�on(+) create mode 100644 main.py # git log #查看提交记录;显示完整的hash值 commit 7b8ff6902bf14780a40 码力 | 35 页 | 1.69 MB | 1 年前3
共 5 条
- 1













