The DevOps Handbookto Enable Seeing and Solving Problems a. Fact – Things will go wrong in Operations! i. 2001 Microsoft Operation Framework study found the best-performing organization were better at diagnosing & fixing Etsy has a religion, it’s the Church of Graphs. If it moves, we track it. Sometimes we’ll draw a graph of something that isn’t moving yet, just in case it decides to make a run for it…Tracking everything that 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 significant0 码力 | 8 页 | 24.02 KB | 5 月前3
git 操作手册提交时,HEAD都会自动指向最新的提交。 首次创建分支前,得先进行一次提交,否则git无法创建分支(因为分支是基于 提交去创建的)。 # git log --decorate --graph --all #查看整个项目的分支图 # git branch #查看分支列表,默认只有一个分支,分支名默认为 master 然后普通用户就可在自己的项目里配置“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
The DevOps HandbookQuickly building enables quickly re-creating on demand rather than repairing ii. Bill Baker, Microsoft distinguished engineer – We used to treat servers like pets: “You name them and when they get sick 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 | 5 月前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 高可用集群拓扑图: ★先配置HA高可用的反向代理 本例中vip为10.99.1.54(三台master ip为10.99.1.51~53)使用haproxy做反向代理 frontend k8s_api_tcp_6443 bind *:6443 mode tcp default_backend my_k8s_cluster_6443 backend my_k8s_cluster_64430 码力 | 126 页 | 4.33 MB | 1 年前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 | 5 月前3
python3学习手册tree_1_2 = tree_root.insert(tree_1, 2, "any", text="any") tree_2_0 = tree_root.insert(tree_2, 0, "api", text="api") tree_2_1 = tree_root.insert(tree_2, 1, "auth", text="auth") tree_2_2 = tree_root.insert(tree_20 码力 | 213 页 | 3.53 MB | 1 年前3
共 6 条
- 1













