The DevOps Handbookfailure, tested for failure, and evolved beyond it b. ESTABLISH A JUST, LEARNING CULTURE i. Unjust responses to incidents 1. Impede safety 2. Promote fear over mindfulness 3. Create bureaucracy rather Bad Apple Theory – you cannot eliminate error by eliminating the people who caused the error. 1. “Human error is not our cause of troubles; instead, human error is a consequence of the design of the0 码力 | 9 页 | 25.13 KB | 5 月前3
The DevOps HandbookExamples of ineffective quality controls include: a. Requiring another team to complete tedious, error-prone, and manual tasks that could be easily automated and run as needed by the team who needs the batches of work to teams and special committees for approval and processing and then waiting for responses 3. Instead a. Use peer reviews of our proposed changes to gain whatever assurance is needed that0 码力 | 8 页 | 22.57 KB | 5 月前3
python3学习手册★print输出带颜色的字windows 此种方法仅windows命令行下有效 import ctypes STD_INPUT_HANDLE = -10 STD_OUTPUT_HANDLE = -11 STD_ERROR_HANDLE = -12 FOREGROUND_BLACK = 0x0 FOREGROUND_BLUE = 0x01 # text color contains blue. FOREGROUND_GREEN extend(listyy) # 把listyy追加到列表的末尾 listxx.remove(x) # 删除列表中第一个值为x的元素,若无这样的 元素则返回一个error listxx.pop(i) # 从列表的指定索引位置移除元素,并返回此元素值, 如果不指定i,则移除并返回最后一个元素 listxx.popleft() # 移除列表头元素并返回其值 返回列表中第一个值为x的元素的索引 listxx.count(x) # 返回x在列表中出现的次数 listxx.sort() #对列表中的元素排序,改变列表本身,返回值为None或 error,不返回新的list,默认升序,从小到大 listxx.sort(reverse=True) # 排序,降序,从大到小 listxx.reverse() # 反转列表,头变尾,尾变头0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookdriven actions or system specific 3. Warn – conditions 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 2001 study – “paired programmers are 15% slower than two independent individual programmers, while ‘error-free’ code increased from 70% to 85%. Since testing and debugging are often many times more costly0 码力 | 8 页 | 24.02 KB | 5 月前3
The DevOps Handbookfixes errors in a separate test phase. b. Delayed feedback fades the cause & effect link of the error; now requires firefighting and archaeology. c. Worst effect – lose the ability to learn from mistakes to find the error as early as possible, in the fastest category as possible ii. Later stages require more scarce and complex environment to detect and reproduce issues iii. When an error is found, create create a test in an earlier, faster stage to detect the error iv. Ideal vs. Non-Ideal Testing Pyramids h. ENSURE TESTS RUN QUICKLY (IN PARALLEL, IF NECESSARY) i. Design tests to run in parallel ii0 码力 | 8 页 | 23.08 KB | 5 月前3
postgresql操作手册("line_number", "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为自动生成的规则编号,前面的00 码力 | 17 页 | 445.84 KB | 1 年前3
k8s操作手册 2.3请勿操作错了,“kubeadm reset”这条命令是在要移除的node结点上执行,不可 在master上执行!! ★k8s初始化报错(树莓派) CGROUPS_MEMORY: missing [ERROR SystemVerifica�on]: missing required cgroups: memory 因为树莓派系统默认未启动cgroup_memory,解决方法: # vi /boot/firmware/cmdline0 码力 | 126 页 | 4.33 MB | 1 年前3
共 7 条
- 1













