python3学习手册#删除一个环境默认 存储路径 # conda list #查看当前环境安装的所有包 # conda list --explicit > pkgs.txt #输出当前环境所有包列表到 pkgs.txt文件里 # conda list -e > epkgs.txt #输出当前环境所有包列表到 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()) #0 码力 | 213 页 | 3.53 MB | 1 年前3
 k8s操作手册 2.3kubeadm init --kubernetes- version=v1.19.4 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster kubeadm init --kubernetes- version=v1.28.2 \ --apiserver-adver�se- address=10.99.1.51 \ # api server地址 --pod-network-cidr=10.244.0.0/16 \ # pod容器网段 --service-cidr=10.7.0.0/16 \ # service网段,即cluster edit cm kube-proxy -n kube-system #编辑configMap 找到kind: KubeProxyConfigura�on这行往下第2行的mode: "",在""里写入ipvs, 保存退出 (要求在做准备工作时已加载ipvs内核模块) 再删除kube-proxy的所有pod(即重启这些pod) # kubectl get pod -n kube-system0 码力 | 126 页 | 4.33 MB | 1 年前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 changes Coined by Martin Fowler in 2004 ii. Strangler Application 1. Put existing functionality behind an API 2. New functionality implemented in new services with new architecture 3. Make calls to old system0 码力 | 8 页 | 23.08 KB | 6 月前3
 git 操作手册commit -m "msgxxx" #将暂存区提交到仓库区(commit为提交操作),- m后指定本次提交的说明信息 1 file changed, 1 inser�on(+) create mode 100644 main.py # git log #查看提交记录;显示完整的hash值 commit 7b8ff6902bf14780a4 然后普通用户就可在自己的项目里配置“WebHook”功能了 Se�ngs→Webhooks→Add new webhook Webhook URL: h�p://10.99.1.241:32433/api/v2/job_templates/42/gitlab/ Webhook Key: vHRMIUlRQql9khxfr23sVlaeeMaLA7pZEmbKmmECeFL3bgF7kP Trigger可选择“Push0 码力 | 35 页 | 1.69 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 | 6 月前3
 The DevOps Handbookthat could become an error and will likely trigger an alert 4. Error – error conditions such as API failures, internal issues 5. Fatal – forces a termination iv. Examples of potentially significant Use telemetry to measure outcomes iv. Etsy open-sourced their experimentation framework – Feature API e. INTEGRATE A/B TESTING INTO OUR FEATURE PLANNING i. Product owners should consider each feature0 码力 | 8 页 | 24.02 KB | 6 月前3
 The DevOps Handbooksuite becomes the living documentation of the system specification and represent working examples of API use e. DESIGN FOR OPERATIONS THROUGH CODIFIED NON-FUNCTIONAL REQUIREMENTS i. Designing for fast changes through pair programming or code review 3. Instrument the repository to detect suspicious code (API calls from certain types of test code) 4. Ensure every CI process is in an isolated container 50 码力 | 9 页 | 25.13 KB | 6 月前3
共 7 条
- 1
 













