k8s操作手册 2.3nodeRegistra�on: criSocket: /var/run/dockershim.sock name: k8s-master1 taints: - effect: NoSchedule key: node-role.kubernetes.io/master --- apiServer: �meoutForControlPlane: 4m0s apiVersion: kubeadm.k8s nodeRegistra�on: criSocket: /var/run/dockershim.sock name: k8s-master1 taints: - effect: NoSchedule key: node-role.kubernetes.io/master --- apiServer: �meoutForControlPlane: 4m0s apiVersion: kubeadm.k8s sha256:63b5f34842ec20db12f19f6f4ca535b03e498e95842b97b452a04f9dc94b1151 \ --control-plane --cer�ficate-key 9b77643809b701522a61c109d42dcc1b93edcd5a2e5d0c8677942171bbc0e619 kubeadm join 10.99.1.54:6443 --token0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册键),结果就弹出全局搜索框,不太友好,可以关闭此功能 File → Se�ngs → Advanced Se�ngs → 右 侧 的 User Interface , 勾 选 Disable double modifier key shortcuts ★设置每行最大长度 File → Se�ngs → Editor → Code Style → 右侧的 General下的 Hard wrap at: 120(默认为120字符) print(len(arr[0])) # 列数 ★遍历字典dic�onary ①遍历key dictx = {"k1": "v1", "k2": "v2", "k3": "v3"} for key in dictx.keys(): print(key, "-------->", dictx[key]) ②遍历value dictx = {"k1": "v1", "k2": "v2" ③dic�onary数据操作(无序,key不重复) dictxx["new_key"] = "new_value" # 新增键值对,如果已存在则 更新值 dictxx.update(lx) #添加多个键值对,lx为另一 dictionary value2 = dictxx["k2"] # 取指定key对应的值 k,v=dictxx.popitem()0 码力 | 213 页 | 3.53 MB | 1 年前3
git 操作手册nginx['ssl_cer�ficate'] = "/etc/gitlab/gitlab.cof-lee.com.crt" nginx['ssl_cer�ficate_key'] = "/etc/gitlab/gitlab.cof-lee.com.key" EOF # mkdir /git-data # mkdir /git-backup #将证书及密钥文件复制到/etc/gitlab目录下 # gitlab-ctl ★添加用户的ssh密钥 由用户登录gitlab界面,自行添加ssh key 首先在linux服务器上生成用户的ssh密钥对文件 # ssh-keygen -t rsa -b 2048 -C "cof@cof-lee.com" -P "" -f cof-sshkey #直接生成key文件及公钥.pub文件,无需交互,-C指定密钥的描述信息,-P指定 加密密钥的密码,-f指定生成的文件名,生成的密钥文件: 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可选择“Push events”(表示更新代码时),All branches表示所有分支,也0 码力 | 35 页 | 1.69 MB | 1 年前3
DoD CIO Enterprise DevSecOps Reference Design - Summaryintegration, and security testing - this is a key DevSecOps differentiator since security and functional capabilities are tested and built simultaneously. Key Measures Mean-time to production: the average Mean-time to recovery: how long it takes applications in the production stage to recover from failure. Key Principles to implementing a successful DevSecOps approach Remove bottlenecks (including human ones) container level. Zero trust requires strict controls, never trust anything by default and always verify. Key aspects of zero trust at the container level include mutual Transport Layer Security authentication0 码力 | 8 页 | 3.38 MB | 5 月前3
Open Discussion on Project PlanningOpen Discussion on Project Planning Planning in an Agile Environment Key Tenets Planning should focus strongly on the near term Eliminate waste caused by planning for eventualities that never come reviews, this less formal approach does not equate to less rigor. Instead, greater frequency allows key decision makers and other stakeholders to become more familiar and comfortable with processes in the environment, which enables a more collaborative and productive review process. Provide information to all key stakeholders on a consistent, regularly scheduled basis, either through design reviews or program0 码力 | 2 页 | 49.30 KB | 5 月前3
The DevOps Handbooksomething that isn’t moving yet, just in case it decides to make a run for it…Tracking everything is key to moving fast, but the only way to do it is to make tracking anything easy…We enable engineers to well-designed and executed experiments that were designed to improve a key metric, only about one-third were successful at improving the key metric!” iii. A/B testing helps reduce zero or negative value add0 码力 | 8 页 | 24.02 KB | 5 月前3
Redis操作手册51:6379> keys * #查看所有的key 1) "what" 2) "namexx" 3) "keyxx" 10.99.1.51:6379> 10.99.1.51:6379> get keyxx #查看指定key对应的值 "valuexx" ★可视化客户端工具 官网: h�ps://redis0 码力 | 5 页 | 80.37 KB | 1 年前3
The DevOps Handbookcan more easily prioritize work in the context of global goals. ii. REDUCE BATCH SIZES1. Another key component to creating smooth and fast flow is performing work in small batch sizes. 2. Large batch processes, or review processes 2. Places where significant rework is generated or received. iii. Key metrics in value stream 1. Lead Time 2. Process time 3. Percent Complete & Accurate (%C/A) c.0 码力 | 8 页 | 22.57 KB | 5 月前3
The DevOps Handbookmalicious binaries 4. Source code integrity and code signing – all contributors should have their own key and sign all commits to version control. All created packages should be signed and hash recorded for lead times 3. Urgent changes: emergency and potentially high-risk that must be done immediately. Key goal of DevOps – streamlined normal process that is suitable for emergency changes b. RE-CATEGORIZE0 码力 | 9 页 | 25.13 KB | 5 月前3
Velocity Conference 2015culture, metaprocess, process, entropy Actively discourage email: it is exclusive Where there any key themes? Real User Monitoring: more valuable than any other metric Web Performance: 2 seconds0 码力 | 4 页 | 176.79 KB | 5 月前3
共 13 条
- 1
- 2













