{"id":82138,"date":"2026-07-25T06:37:11","date_gmt":"2026-07-24T22:37:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82138.html"},"modified":"2026-07-25T06:37:11","modified_gmt":"2026-07-24T22:37:11","slug":"%e5%ae%9e%e6%88%98%ef%bc%9a%e6%b7%b7%e6%b2%8c%e5%b7%a5%e7%a8%8b%e5%85%a5%e9%97%a8%ef%bc%8c%e6%a8%a1%e6%8b%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%95%e6%9c%ba%e7%9a%84%e6%95%85%e9%9a%9c%e6%bc%94%e7%bb%83","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82138.html","title":{"rendered":"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3"},"content":{"rendered":"<h3>\u6838\u5fc3\u63d0\u8981<\/h3>\n<p>\u6df7\u6c8c\u5de5\u7a0b\u662f\u901a\u8fc7\u4e3b\u52a8\u6ce8\u5165\u53ef\u63a7\u6545\u969c&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u97e7\u6027\u4e0e\u6545\u969c\u81ea\u6108\u80fd\u529b\u7684\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u201c\u5728\u6545\u969c\u53d1\u751f\u524d\u53d1\u73b0\u7cfb\u7edf\u8106\u5f31\u70b9\u201d\u3002\u672c\u6b21\u5165\u95e8\u5b9e\u6218\u4ee5\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u4e3a\u6838\u5fc3\u573a\u666f&#xff0c;\u57fa\u4e8eChaos Mesh&#xff08;\u8f7b\u91cf\u7ea7\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177&#xff09;&#043; Kubernetes \u6280\u672f\u6808&#xff0c;\u4ece\u73af\u5883\u51c6\u5907\u3001\u6545\u969c\u5b9a\u4e49\u3001\u6f14\u7ec3\u6267\u884c\u3001\u7ed3\u679c\u5206\u6790\u5230\u590d\u76d8\u4f18\u5316&#xff0c;\u5b8c\u6574\u8986\u76d6\u6df7\u6c8c\u5de5\u7a0b\u6f14\u7ec3\u5168\u6d41\u7a0b&#xff0c;\u96f6\u57fa\u7840\u638c\u63e1\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u64cd\u4f5c&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u5728\u670d\u52a1\u5668\u5b95\u673a\u540e\u7684\u670d\u52a1\u53ef\u7528\u6027\u3001\u6d41\u91cf\u5207\u6362\u3001\u6570\u636e\u4e00\u81f4\u6027\u80fd\u529b&#xff0c;\u6700\u7ec8\u5b9e\u73b0\u201c\u53d1\u73b0\u8106\u5f31\u70b9\u2192\u4f18\u5316\u7cfb\u7edf\u2192\u63d0\u5347\u97e7\u6027\u201d\u7684\u76ee\u6807\u3002<\/p>\n<p>\u672c\u6b21\u5b9e\u6218\u4e3a\u5165\u95e8\u7ea7&#xff0c;\u65e0\u9700\u590d\u6742\u7684\u5206\u5e03\u5f0f\u7cfb\u7edf\u57fa\u7840&#xff0c;\u57fa\u4e8e\u5355\u8282\u70b9K8s&#xff08;Minikube&#xff09;\u642d\u5efa\u6f14\u7ec3\u73af\u5883&#xff0c;\u6240\u6709\u64cd\u4f5c\u5747\u63d0\u4f9b\u53ef\u76f4\u63a5\u6267\u884c\u7684\u547d\u4ee4&#xff0c;\u5feb\u901f\u4e0a\u624b\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u601d\u8def\u3002<\/p>\n<h3>\u4e00\u3001\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u6982\u5ff5&#xff08;\u5165\u95e8\u5fc5\u77e5&#xff09;<\/h3>\n<h4>&#x1f4ca; \u5b9e\u6218\u603b\u89c8\u601d\u7ef4\u5bfc\u56fe<\/h4>\n<p>\u5feb\u901f\u628a\u63e1\u672c\u6b21\u6df7\u6c8c\u6f14\u7ec3\u7684\u5168\u5c40\u7ed3\u6784&#xff1a;<\/p>\n<p>#mermaid-svg-yMy776qjT2XM7vHm{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-yMy776qjT2XM7vHm .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-yMy776qjT2XM7vHm .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-yMy776qjT2XM7vHm .error-icon{fill:#552222;}#mermaid-svg-yMy776qjT2XM7vHm .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-yMy776qjT2XM7vHm .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-yMy776qjT2XM7vHm .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-yMy776qjT2XM7vHm .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-yMy776qjT2XM7vHm .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-yMy776qjT2XM7vHm .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-yMy776qjT2XM7vHm .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-yMy776qjT2XM7vHm .marker{fill:#333333;stroke:#333333;}#mermaid-svg-yMy776qjT2XM7vHm .marker.cross{stroke:#333333;}#mermaid-svg-yMy776qjT2XM7vHm svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-yMy776qjT2XM7vHm p{margin:0;}#mermaid-svg-yMy776qjT2XM7vHm .edge{stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 rect,#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 path,#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 circle,#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 path{fill:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 text{fill:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon&#8211;1{font-size:40px;color:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge&#8211;1{stroke:hsl(240, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth&#8211;1{stroke-width:17;}#mermaid-svg-yMy776qjT2XM7vHm .section&#8211;1 line{stroke:hsl(60, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-0 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-0 path,#mermaid-svg-yMy776qjT2XM7vHm .section-0 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-0 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-0 path{fill:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-yMy776qjT2XM7vHm .section-0 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-0{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-0{stroke:hsl(60, 100%, 73.5294117647%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-0{stroke-width:14;}#mermaid-svg-yMy776qjT2XM7vHm .section-0 line{stroke:hsl(240, 100%, 83.5294117647%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-1 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-1 path,#mermaid-svg-yMy776qjT2XM7vHm .section-1 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-1 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-1 path{fill:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-1 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-1{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-1{stroke:hsl(80, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-1{stroke-width:11;}#mermaid-svg-yMy776qjT2XM7vHm .section-1 line{stroke:hsl(260, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-2 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-2 path,#mermaid-svg-yMy776qjT2XM7vHm .section-2 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-2 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-2 path{fill:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-2 text{fill:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-2{font-size:40px;color:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-2{stroke:hsl(270, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-2{stroke-width:8;}#mermaid-svg-yMy776qjT2XM7vHm .section-2 line{stroke:hsl(90, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-3 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-3 path,#mermaid-svg-yMy776qjT2XM7vHm .section-3 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-3 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-3 path{fill:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-3 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-3{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-3{stroke:hsl(300, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-3{stroke-width:5;}#mermaid-svg-yMy776qjT2XM7vHm .section-3 line{stroke:hsl(120, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-4 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-4 path,#mermaid-svg-yMy776qjT2XM7vHm .section-4 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-4 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-4 path{fill:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-4 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-4{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-4{stroke:hsl(330, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-4{stroke-width:2;}#mermaid-svg-yMy776qjT2XM7vHm .section-4 line{stroke:hsl(150, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-5 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-5 path,#mermaid-svg-yMy776qjT2XM7vHm .section-5 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-5 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-5 path{fill:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-5 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-5{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-5{stroke:hsl(0, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-5{stroke-width:-1;}#mermaid-svg-yMy776qjT2XM7vHm .section-5 line{stroke:hsl(180, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-6 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-6 path,#mermaid-svg-yMy776qjT2XM7vHm .section-6 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-6 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-6 path{fill:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-6 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-6{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-6{stroke:hsl(30, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-6{stroke-width:-4;}#mermaid-svg-yMy776qjT2XM7vHm .section-6 line{stroke:hsl(210, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-7 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-7 path,#mermaid-svg-yMy776qjT2XM7vHm .section-7 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-7 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-7 path{fill:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-7 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-7{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-7{stroke:hsl(90, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-7{stroke-width:-7;}#mermaid-svg-yMy776qjT2XM7vHm .section-7 line{stroke:hsl(270, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-8 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-8 path,#mermaid-svg-yMy776qjT2XM7vHm .section-8 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-8 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-8 path{fill:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-8 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-8{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-8{stroke:hsl(150, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-8{stroke-width:-10;}#mermaid-svg-yMy776qjT2XM7vHm .section-8 line{stroke:hsl(330, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-9 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-9 path,#mermaid-svg-yMy776qjT2XM7vHm .section-9 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-9 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-9 path{fill:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-9 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-9{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-9{stroke:hsl(180, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-9{stroke-width:-13;}#mermaid-svg-yMy776qjT2XM7vHm .section-9 line{stroke:hsl(0, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-10 rect,#mermaid-svg-yMy776qjT2XM7vHm .section-10 path,#mermaid-svg-yMy776qjT2XM7vHm .section-10 circle,#mermaid-svg-yMy776qjT2XM7vHm .section-10 polygon,#mermaid-svg-yMy776qjT2XM7vHm .section-10 path{fill:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-10 text{fill:black;}#mermaid-svg-yMy776qjT2XM7vHm .node-icon-10{font-size:40px;color:black;}#mermaid-svg-yMy776qjT2XM7vHm .section-edge-10{stroke:hsl(210, 100%, 76.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .edge-depth-10{stroke-width:-16;}#mermaid-svg-yMy776qjT2XM7vHm .section-10 line{stroke:hsl(30, 100%, 86.2745098039%);stroke-width:3;}#mermaid-svg-yMy776qjT2XM7vHm .disabled,#mermaid-svg-yMy776qjT2XM7vHm .disabled circle,#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:lightgray;}#mermaid-svg-yMy776qjT2XM7vHm .disabled text{fill:#efefef;}#mermaid-svg-yMy776qjT2XM7vHm .section-root rect,#mermaid-svg-yMy776qjT2XM7vHm .section-root path,#mermaid-svg-yMy776qjT2XM7vHm .section-root circle,#mermaid-svg-yMy776qjT2XM7vHm .section-root polygon{fill:hsl(240, 100%, 46.2745098039%);}#mermaid-svg-yMy776qjT2XM7vHm .section-root text{fill:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .section-root span{color:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .section-2 span{color:#ffffff;}#mermaid-svg-yMy776qjT2XM7vHm .icon-container{height:100%;display:flex;justify-content:center;align-items:center;}#mermaid-svg-yMy776qjT2XM7vHm .edge{fill:none;}#mermaid-svg-yMy776qjT2XM7vHm .mindmap-node-label{dy:1em;alignment-baseline:middle;text-anchor:middle;dominant-baseline:middle;text-align:center;}#mermaid-svg-yMy776qjT2XM7vHm :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6df7\u6c8c\u5de5\u7a0b&#xff1a;\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u6f14\u7ec3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f50d; \u524d\u7f6e\u8ba4\u77e5<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u539f\u5219<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u672c\u6b21\u5b9e\u9a8c\u76ee\u6807<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f6e0;\ufe0f \u73af\u5883\u51c6\u5907<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5de5\u5177\u6808\u9009\u578b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Docker\u96c6\u7fa4\u642d\u5efa<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f9ea; \u6df7\u6c8c\u5b9e\u9a8c<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u57fa\u7840\u7248&#xff1a;\u624b\u52a8\u6a21\u62df\u5b95\u673a<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4e13\u4e1a\u7248&#xff1a;ChaosBlade\u5de5\u5177\u6ce8\u5165<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f4c8; \u89c2\u6d4b\u4e0e\u5206\u6790<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6545\u969c\u573a\u666f\u8868\u73b0<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7cfb\u7edf\u8106\u5f31\u70b9\u53d1\u73b0<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u2705 \u6062\u590d\u4e0e\u4f18\u5316<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6545\u969c\u5feb\u901f\u56de\u6eda<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Nginx\u5065\u5eb7\u68c0\u67e5\u4f18\u5316<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u4f18\u5316\u540e\u6548\u679c\u9a8c\u8bc1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f4dd; \u590d\u76d8\u4e0e\u8fdb\u9636<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5b9e\u9a8c\u95ed\u73af\u603b\u7ed3<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5165\u95e8\u907f\u5751\u6307\u5357<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8fdb\u9636\u573a\u666f\u62d3\u5c55<\/p>\n<p><\/span><\/p>\n<h4>1. \u6838\u5fc3\u539f\u5219&#xff08;5\u5927\u6838\u5fc3\u539f\u5219&#xff09;<\/h4>\n<p>#mermaid-svg-ViUOEFEofRLRPYPA{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-ViUOEFEofRLRPYPA .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-ViUOEFEofRLRPYPA .error-icon{fill:#552222;}#mermaid-svg-ViUOEFEofRLRPYPA .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-ViUOEFEofRLRPYPA .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-ViUOEFEofRLRPYPA .marker{fill:#333333;stroke:#333333;}#mermaid-svg-ViUOEFEofRLRPYPA .marker.cross{stroke:#333333;}#mermaid-svg-ViUOEFEofRLRPYPA svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-ViUOEFEofRLRPYPA p{margin:0;}#mermaid-svg-ViUOEFEofRLRPYPA .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-ViUOEFEofRLRPYPA .cluster-label text{fill:#333;}#mermaid-svg-ViUOEFEofRLRPYPA .cluster-label span{color:#333;}#mermaid-svg-ViUOEFEofRLRPYPA .cluster-label span p{background-color:transparent;}#mermaid-svg-ViUOEFEofRLRPYPA .label text,#mermaid-svg-ViUOEFEofRLRPYPA span{fill:#333;color:#333;}#mermaid-svg-ViUOEFEofRLRPYPA .node rect,#mermaid-svg-ViUOEFEofRLRPYPA .node circle,#mermaid-svg-ViUOEFEofRLRPYPA .node ellipse,#mermaid-svg-ViUOEFEofRLRPYPA .node polygon,#mermaid-svg-ViUOEFEofRLRPYPA .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-ViUOEFEofRLRPYPA .rough-node .label text,#mermaid-svg-ViUOEFEofRLRPYPA .node .label text,#mermaid-svg-ViUOEFEofRLRPYPA .image-shape .label,#mermaid-svg-ViUOEFEofRLRPYPA .icon-shape .label{text-anchor:middle;}#mermaid-svg-ViUOEFEofRLRPYPA .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-ViUOEFEofRLRPYPA .rough-node .label,#mermaid-svg-ViUOEFEofRLRPYPA .node .label,#mermaid-svg-ViUOEFEofRLRPYPA .image-shape .label,#mermaid-svg-ViUOEFEofRLRPYPA .icon-shape .label{text-align:center;}#mermaid-svg-ViUOEFEofRLRPYPA .node.clickable{cursor:pointer;}#mermaid-svg-ViUOEFEofRLRPYPA .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-ViUOEFEofRLRPYPA .arrowheadPath{fill:#333333;}#mermaid-svg-ViUOEFEofRLRPYPA .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-ViUOEFEofRLRPYPA .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-ViUOEFEofRLRPYPA .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ViUOEFEofRLRPYPA .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-ViUOEFEofRLRPYPA .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ViUOEFEofRLRPYPA .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-ViUOEFEofRLRPYPA .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-ViUOEFEofRLRPYPA .cluster text{fill:#333;}#mermaid-svg-ViUOEFEofRLRPYPA .cluster span{color:#333;}#mermaid-svg-ViUOEFEofRLRPYPA div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-ViUOEFEofRLRPYPA .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-ViUOEFEofRLRPYPA rect.text{fill:none;stroke-width:0;}#mermaid-svg-ViUOEFEofRLRPYPA .icon-shape,#mermaid-svg-ViUOEFEofRLRPYPA .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-ViUOEFEofRLRPYPA .icon-shape p,#mermaid-svg-ViUOEFEofRLRPYPA .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-ViUOEFEofRLRPYPA .icon-shape rect,#mermaid-svg-ViUOEFEofRLRPYPA .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-ViUOEFEofRLRPYPA .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-ViUOEFEofRLRPYPA .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-ViUOEFEofRLRPYPA :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5b9a\u4e49\u7a33\u6001\u660e\u786e\u7cfb\u7edf\u6b63\u5e38\u57fa\u51c6<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u63d0\u51fa\u5047\u8bbe\u9884\u5224\u6545\u969c\u4e0b\u7684\u7cfb\u7edf\u8868\u73b0<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u53d7\u63a7\u6ce8\u5165\u6545\u969c\u4e25\u683c\u9694\u79bb\u5f71\u54cd\u8303\u56f4<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u9a8c\u8bc1\u5047\u8bbe\u53d1\u73b0\u7cfb\u7edf\u8106\u5f31\u70b9<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6062\u590d\u4e0e\u590d\u76d8\u4f18\u5316\u7cfb\u7edf\u5e76\u95ed\u73af<\/p>\n<p><\/span><\/p>\n<ul>\n<li>\n<p>\u53ef\u63a7\u6545\u969c&#xff1a;\u4ec5\u5728\u6307\u5b9a\u73af\u5883&#xff08;\u6d4b\u8bd5\/\u9884\u53d1&#xff09;\u6ce8\u5165\u6545\u969c&#xff0c;\u4e25\u683c\u63a7\u5236\u6545\u969c\u8303\u56f4\u3001\u6301\u7eed\u65f6\u95f4&#xff0c;\u907f\u514d\u5f71\u54cd\u751f\u4ea7&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5148\u5b9a\u57fa\u51c6&#xff1a;\u660e\u786e\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\u7684\u57fa\u51c6\u6307\u6807&#xff08;\u5982\u670d\u52a1\u53ef\u7528\u738799.9%\u3001\u63a5\u53e3\u54cd\u5e94\u65f6\u95f4&lt;500ms&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5047\u8bbe\u9a71\u52a8&#xff1a;\u5148\u63d0\u51fa\u5047\u8bbe&#xff08;\u5982\u201c\u670d\u52a1\u5668\u5b95\u673a\u540e&#xff0c;\u670d\u52a1\u53ef\u81ea\u52a8\u5207\u6362\u81f3\u5907\u7528\u8282\u70b9&#xff0c;\u53ef\u7528\u7387\u4fdd\u630199%\u4ee5\u4e0a\u201d&#xff09;&#xff0c;\u518d\u901a\u8fc7\u6f14\u7ec3\u9a8c\u8bc1&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u590d\u76d8\u4f18\u5316&#xff1a;\u65e0\u8bba\u6f14\u7ec3\u662f\u5426\u7b26\u5408\u5047\u8bbe&#xff0c;\u5747\u9700\u590d\u76d8&#xff0c;\u9488\u5bf9\u8106\u5f31\u70b9\u4f18\u5316\u7cfb\u7edf&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u95ed\u73af\u8fed\u4ee3&#xff1a;\u5c06\u6f14\u7ec3\u53d1\u73b0\u7684\u95ee\u9898\u3001\u4f18\u5316\u65b9\u6848\u7eb3\u5165\u8fed\u4ee3&#xff0c;\u6301\u7eed\u63d0\u5347\u7cfb\u7edf\u97e7\u6027\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>2. \u672c\u6b21\u6f14\u7ec3\u6838\u5fc3\u76ee\u6807<\/h4>\n<p>\u6211\u4eec\u5c06\u642d\u5efa\u6781\u7b80\u5206\u5e03\u5f0f\u67b6\u6784&#xff0c;\u9a8c\u8bc1\u5355\u670d\u52a1\u5668\u5b95\u673a\u540e\u7cfb\u7edf\u7684\u5bb9\u9519\u80fd\u529b&#xff0c;\u6838\u5fc3\u76ee\u6807\u5982\u4e0b&#xff1a;<\/p>\n<p>#mermaid-svg-KZD2z10qMJi4Xbzp{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-KZD2z10qMJi4Xbzp .error-icon{fill:#552222;}#mermaid-svg-KZD2z10qMJi4Xbzp .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-KZD2z10qMJi4Xbzp .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-KZD2z10qMJi4Xbzp .marker{fill:#333333;stroke:#333333;}#mermaid-svg-KZD2z10qMJi4Xbzp .marker.cross{stroke:#333333;}#mermaid-svg-KZD2z10qMJi4Xbzp svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-KZD2z10qMJi4Xbzp p{margin:0;}#mermaid-svg-KZD2z10qMJi4Xbzp .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster-label text{fill:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster-label span{color:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster-label span p{background-color:transparent;}#mermaid-svg-KZD2z10qMJi4Xbzp .label text,#mermaid-svg-KZD2z10qMJi4Xbzp span{fill:#333;color:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp .node rect,#mermaid-svg-KZD2z10qMJi4Xbzp .node circle,#mermaid-svg-KZD2z10qMJi4Xbzp .node ellipse,#mermaid-svg-KZD2z10qMJi4Xbzp .node polygon,#mermaid-svg-KZD2z10qMJi4Xbzp .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-KZD2z10qMJi4Xbzp .rough-node .label text,#mermaid-svg-KZD2z10qMJi4Xbzp .node .label text,#mermaid-svg-KZD2z10qMJi4Xbzp .image-shape .label,#mermaid-svg-KZD2z10qMJi4Xbzp .icon-shape .label{text-anchor:middle;}#mermaid-svg-KZD2z10qMJi4Xbzp .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-KZD2z10qMJi4Xbzp .rough-node .label,#mermaid-svg-KZD2z10qMJi4Xbzp .node .label,#mermaid-svg-KZD2z10qMJi4Xbzp .image-shape .label,#mermaid-svg-KZD2z10qMJi4Xbzp .icon-shape .label{text-align:center;}#mermaid-svg-KZD2z10qMJi4Xbzp .node.clickable{cursor:pointer;}#mermaid-svg-KZD2z10qMJi4Xbzp .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-KZD2z10qMJi4Xbzp .arrowheadPath{fill:#333333;}#mermaid-svg-KZD2z10qMJi4Xbzp .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-KZD2z10qMJi4Xbzp .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-KZD2z10qMJi4Xbzp .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-KZD2z10qMJi4Xbzp .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-KZD2z10qMJi4Xbzp .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-KZD2z10qMJi4Xbzp .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster text{fill:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp .cluster span{color:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-KZD2z10qMJi4Xbzp .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-KZD2z10qMJi4Xbzp rect.text{fill:none;stroke-width:0;}#mermaid-svg-KZD2z10qMJi4Xbzp .icon-shape,#mermaid-svg-KZD2z10qMJi4Xbzp .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-KZD2z10qMJi4Xbzp .icon-shape p,#mermaid-svg-KZD2z10qMJi4Xbzp .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-KZD2z10qMJi4Xbzp .icon-shape rect,#mermaid-svg-KZD2z10qMJi4Xbzp .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-KZD2z10qMJi4Xbzp .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-KZD2z10qMJi4Xbzp .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-KZD2z10qMJi4Xbzp :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"nodeLabel\"><\/p>\n<p>\u5b9e\u9a8c\u9a8c\u8bc1\u76ee\u6807<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8d1f\u8f7d\u5747\u8861\u662f\u5426\u81ea\u52a8\u5254\u9664\u6545\u969c\u8282\u70b9<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6838\u5fc3\u670d\u52a1\u53ef\u7528\u6027\u662f\u5426\u4fdd\u6301100%<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7528\u6237\u662f\u5426\u65e0\u611f\u77e5\u6545\u969c\u53d1\u751f<\/p>\n<p><\/span><\/p>\n<li>\n<p>\u638c\u63e1\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177Chaos Mesh\u7684\u57fa\u7840\u90e8\u7f72\u4e0e\u4f7f\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b66\u4f1a\u5b9a\u4e49\u670d\u52a1\u5668\u5b95\u673a\u6545\u969c&#xff08;\u8282\u70b9\u7ea7\u6545\u969c&#xff09;&#xff0c;\u5b9e\u73b0\u53ef\u63a7\u6ce8\u5165&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u76ee\u6807\u5e94\u7528\u5728\u8282\u70b9\u5b95\u673a\u540e\u7684\u670d\u52a1\u53ef\u7528\u6027&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u57fa\u4e8e\u6f14\u7ec3\u7ed3\u679c&#xff0c;\u5206\u6790\u7cfb\u7edf\u8106\u5f31\u70b9\u5e76\u7ed9\u51fa\u57fa\u7840\u4f18\u5316\u5efa\u8bae\u3002<\/p>\n<\/li>\n<h4>3. \u5b9e\u9a8c\u67b6\u6784\u53ef\u89c6\u5316<\/h4>\n<p>\u672c\u6b21\u5b9e\u6218\u57fa\u4e8eDocker\u642d\u5efa\u9694\u79bb\u73af\u5883&#xff0c;\u7ed3\u5408K8s\u4e0eChaos Mesh\u5b9e\u73b0&#xff0c;\u7b80\u5316\u7248\u67b6\u6784\u4e0e\u6d41\u91cf\u8d70\u5411\u5982\u4e0b&#xff1a;<\/p>\n<p>#mermaid-svg-dPygP6k5L1hgFc2W{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-dPygP6k5L1hgFc2W .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-dPygP6k5L1hgFc2W .error-icon{fill:#552222;}#mermaid-svg-dPygP6k5L1hgFc2W .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-dPygP6k5L1hgFc2W .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-dPygP6k5L1hgFc2W .marker{fill:#333333;stroke:#333333;}#mermaid-svg-dPygP6k5L1hgFc2W .marker.cross{stroke:#333333;}#mermaid-svg-dPygP6k5L1hgFc2W svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-dPygP6k5L1hgFc2W p{margin:0;}#mermaid-svg-dPygP6k5L1hgFc2W .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-dPygP6k5L1hgFc2W .cluster-label text{fill:#333;}#mermaid-svg-dPygP6k5L1hgFc2W .cluster-label span{color:#333;}#mermaid-svg-dPygP6k5L1hgFc2W .cluster-label span p{background-color:transparent;}#mermaid-svg-dPygP6k5L1hgFc2W .label text,#mermaid-svg-dPygP6k5L1hgFc2W span{fill:#333;color:#333;}#mermaid-svg-dPygP6k5L1hgFc2W .node rect,#mermaid-svg-dPygP6k5L1hgFc2W .node circle,#mermaid-svg-dPygP6k5L1hgFc2W .node ellipse,#mermaid-svg-dPygP6k5L1hgFc2W .node polygon,#mermaid-svg-dPygP6k5L1hgFc2W .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-dPygP6k5L1hgFc2W .rough-node .label text,#mermaid-svg-dPygP6k5L1hgFc2W .node .label text,#mermaid-svg-dPygP6k5L1hgFc2W .image-shape .label,#mermaid-svg-dPygP6k5L1hgFc2W .icon-shape .label{text-anchor:middle;}#mermaid-svg-dPygP6k5L1hgFc2W .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-dPygP6k5L1hgFc2W .rough-node .label,#mermaid-svg-dPygP6k5L1hgFc2W .node .label,#mermaid-svg-dPygP6k5L1hgFc2W .image-shape .label,#mermaid-svg-dPygP6k5L1hgFc2W .icon-shape .label{text-align:center;}#mermaid-svg-dPygP6k5L1hgFc2W .node.clickable{cursor:pointer;}#mermaid-svg-dPygP6k5L1hgFc2W .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-dPygP6k5L1hgFc2W .arrowheadPath{fill:#333333;}#mermaid-svg-dPygP6k5L1hgFc2W .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-dPygP6k5L1hgFc2W .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-dPygP6k5L1hgFc2W .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-dPygP6k5L1hgFc2W .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-dPygP6k5L1hgFc2W .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-dPygP6k5L1hgFc2W .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-dPygP6k5L1hgFc2W .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-dPygP6k5L1hgFc2W .cluster text{fill:#333;}#mermaid-svg-dPygP6k5L1hgFc2W .cluster span{color:#333;}#mermaid-svg-dPygP6k5L1hgFc2W div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-dPygP6k5L1hgFc2W .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-dPygP6k5L1hgFc2W rect.text{fill:none;stroke-width:0;}#mermaid-svg-dPygP6k5L1hgFc2W .icon-shape,#mermaid-svg-dPygP6k5L1hgFc2W .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-dPygP6k5L1hgFc2W .icon-shape p,#mermaid-svg-dPygP6k5L1hgFc2W .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-dPygP6k5L1hgFc2W .icon-shape rect,#mermaid-svg-dPygP6k5L1hgFc2W .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-dPygP6k5L1hgFc2W .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-dPygP6k5L1hgFc2W .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-dPygP6k5L1hgFc2W :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"nodeLabel\"><\/p>\n<p>K8s\u96c6\u7fa4\u73af\u5883<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5bbf\u4e3b\u673a\u73af\u5883&#xff08;Minikube\u8282\u70b9&#xff09;<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u8bbf\u95ee\u8282\u70b930080\u7aef\u53e3<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u8f6e\u8be2\u8f6c\u53d1\u6d41\u91cf<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u8f6e\u8be2\u8f6c\u53d1\u6d41\u91cf<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/p>\n<p>\u6ce8\u5165\u5b95\u673a\u6545\u969c<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u7528\u6237\/\u6d4b\u8bd5\u5de5\u5177 curl\/ab<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Chaos Mesh\u6545\u969c\u6ce8\u5165\u5de5\u5177<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8d1f\u8f7d\u5747\u8861 Ingress-Nginx<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Web\u8282\u70b91 nginx-demo-1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Web\u8282\u70b92 nginx-demo-2<\/p>\n<p><\/span><\/p>\n<h4>4. \u6280\u672f\u6808\u9009\u578b<\/h4>\n<table>\n<tr>\u6280\u672f\/\u5de5\u5177\u7248\u672c\u6838\u5fc3\u4f5c\u7528\u9009\u62e9\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>Kubernetes<\/td>\n<td>Minikube v1.32&#043;<\/td>\n<td>\u6f14\u7ec3\u57fa\u7840\u73af\u5883&#xff0c;\u8fd0\u884c\u76ee\u6807\u5e94\u7528\u4e0eChaos Mesh<\/td>\n<td>\u8f7b\u91cf\u7ea7&#xff0c;\u5355\u8282\u70b9\u5373\u53ef\u90e8\u7f72&#xff0c;\u5165\u95e8\u53cb\u597d<\/td>\n<\/tr>\n<tr>\n<td>Chaos Mesh<\/td>\n<td>v2.5&#043;<\/td>\n<td>\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u5de5\u5177&#xff0c;\u6ce8\u5165\u670d\u52a1\u5668\u5b95\u673a\u6545\u969c<\/td>\n<td>\u4e13\u4e3aK8s\u8bbe\u8ba1&#xff0c;\u652f\u6301\u8282\u70b9\/\u5bb9\u5668\/\u7f51\u7edc\u7b49\u591a\u79cd\u6545\u969c&#xff0c;\u64cd\u4f5c\u7b80\u5355&#xff0c;\u53ef\u89c6\u5316\u754c\u9762<\/td>\n<\/tr>\n<tr>\n<td>\u76ee\u6807\u5e94\u7528<\/td>\n<td>Nginx &#043; \u7b80\u5355Web\u670d\u52a1<\/td>\n<td>\u5f85\u9a8c\u8bc1\u97e7\u6027\u7684\u6d4b\u8bd5\u5e94\u7528<\/td>\n<td>\u65e0\u4e1a\u52a1\u4f9d\u8d56&#xff0c;\u6613\u90e8\u7f72&#xff0c;\u53ef\u5feb\u901f\u9a8c\u8bc1\u670d\u52a1\u53ef\u7528\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u76d1\u63a7\u5de5\u5177<\/td>\n<td>Prometheus &#043; Grafana<\/td>\n<td>\u76d1\u63a7\u7cfb\u7edf\u57fa\u51c6\u6307\u6807\u4e0e\u6545\u969c\u671f\u95f4\u6307\u6807<\/td>\n<td>\u4e0eK8s\/Chaos Mesh\u65e0\u7f1d\u96c6\u6210&#xff0c;\u76f4\u89c2\u67e5\u770b\u6307\u6807\u53d8\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u6d4b\u8bd5\u5de5\u5177<\/td>\n<td>curl\/ab<\/td>\n<td>\u9a8c\u8bc1\u670d\u52a1\u53ef\u7528\u6027\u4e0e\u63a5\u53e3\u54cd\u5e94<\/td>\n<td>\u7cfb\u7edf\u81ea\u5e26&#xff0c;\u65e0\u9700\u989d\u5916\u90e8\u7f72<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e8c\u3001\u6f14\u7ec3\u73af\u5883\u51c6\u5907<\/h3>\n<h4>1. \u73af\u5883\u89c4\u5212<\/h4>\n<table>\n<tr>\u8282\u70b9\u7c7b\u578b\u914d\u7f6e\u6838\u5fc3\u7ec4\u4ef6\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>K8s\u8282\u70b9&#xff08;Minikube&#xff09;<\/td>\n<td>2C4G&#xff08;\u6700\u4f4e&#xff09;\/4C8G&#xff08;\u63a8\u8350&#xff09;<\/td>\n<td>Minikube &#043; Docker<\/td>\n<td>\u8fd0\u884c\u76ee\u6807\u5e94\u7528\u3001Chaos Mesh\u3001\u76d1\u63a7\u5de5\u5177<\/td>\n<\/tr>\n<tr>\n<td>\u6d4b\u8bd5\u7ec8\u7aef<\/td>\n<td>\u4efb\u610f<\/td>\n<td>curl\/ab<\/td>\n<td>\u5411\u76ee\u6807\u5e94\u7528\u53d1\u8d77\u8bf7\u6c42&#xff0c;\u9a8c\u8bc1\u670d\u52a1\u53ef\u7528\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u7cfb\u7edf\u8981\u6c42&#xff1a;Linux\/macOS&#xff08;Windows\u9700\u5f00\u542fWSL2&#xff09;&#xff0c;\u5df2\u5b89\u88c5Docker&#xff08;Chaos Mesh\u4e0eMinikube\u5747\u57fa\u4e8eDocker\u8fd0\u884c&#xff09;\u3002<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u57fa\u7840\u73af\u5883\u90e8\u7f72&#xff08;\u4e00\u6b65\u5230\u4f4d\u547d\u4ee4&#xff09;<\/h4>\n<h5>&#xff08;1&#xff09;\u5b89\u88c5Minikube&#xff08;\u5355\u8282\u70b9K8s&#xff09;<\/h5>\n<p># \u4e0b\u8f7d\u5e76\u5b89\u88c5Minikube&#xff08;Linux\/macOS\u901a\u7528&#xff09;<br \/>\ncurl -LO https:\/\/storage.googleapis.com\/minikube\/releases\/latest\/minikube-linux-amd64<br \/>\nsudo install minikube-linux-amd64 \/usr\/local\/bin\/minikube<\/p>\n<p># \u542f\u52a8Minikube&#xff08;\u5206\u914d2C4G\u8d44\u6e90&#xff0c;\u9a71\u52a8\u4e3aDocker&#xff0c;\u5f00\u542fIngress&#xff09;<br \/>\nminikube start &#8211;cpus&#061;2 &#8211;memory&#061;4096 &#8211;driver&#061;docker &#8211;addons&#061;ingress<\/p>\n<p># \u9a8c\u8bc1Minikube\u72b6\u6001&#xff08;\u663e\u793aReady\u5373\u4e3a\u6b63\u5e38&#xff09;<br \/>\nminikube status<br \/>\nkubectl get nodes<\/p>\n<h5>&#xff08;2&#xff09;\u5b89\u88c5Chaos Mesh&#xff08;\u6838\u5fc3\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177&#xff09;<\/h5>\n<p>\u4f7f\u7528\u5b98\u65b9\u811a\u672c\u4e00\u952e\u90e8\u7f72&#xff0c;\u81ea\u52a8\u9002\u914dMinikube\u73af\u5883&#xff1a;<\/p>\n<p># \u4e0b\u8f7d\u5e76\u6267\u884cChaos Mesh\u5b89\u88c5\u811a\u672c<br \/>\ncurl -sSL https:\/\/mirrors.chaos-mesh.org\/v2.5\/install.sh | bash -s &#8212; &#8211;namespace&#061;chaos-mesh<\/p>\n<p># \u9a8c\u8bc1Chaos Mesh\u90e8\u7f72\u72b6\u6001&#xff08;\u6240\u6709Pod\u5747\u4e3aRunning\u5373\u4e3a\u6b63\u5e38&#xff09;<br \/>\nkubectl get pods -n chaos-mesh -w<\/p>\n<p>\u5173\u952e\u9a8c\u8bc1&#xff1a;\u51fa\u73b0 chaos-controller-manager\u3001chaos-daemon\u3001chaos-dashboard \u4e09\u4e2aPod\u4e14\u72b6\u6001\u4e3aRunning&#xff0c;\u8bf4\u660e\u90e8\u7f72\u6210\u529f\u3002<\/p>\n<h5>&#xff08;3&#xff09;\u66b4\u9732Chaos Mesh\u53ef\u89c6\u5316\u9762\u677f&#xff08;Dashboard&#xff09;<\/h5>\n<p># \u7aef\u53e3\u8f6c\u53d1&#xff0c;\u8bbf\u95ee\u672c\u57308080\u7aef\u53e3\u5373\u53ef\u8fdb\u5165Dashboard<br \/>\nkubectl port-forward -n chaos-mesh svc\/chaos-dashboard 8080:2333 &#8211;address 0.0.0.0<\/p>\n<p>\u8bbf\u95ee\u5730\u5740&#xff1a;http:\/\/\u670d\u52a1\u5668IP:8080&#xff0c;\u65e0\u9700\u8d26\u53f7\u5bc6\u7801&#xff08;\u5165\u95e8\u73af\u5883&#xff09;&#xff0c;\u751f\u4ea7\u73af\u5883\u9700\u914d\u7f6e\u8ba4\u8bc1\u3002<\/p>\n<h5>&#xff08;4&#xff09;\u90e8\u7f72\u76ee\u6807\u5e94\u7528&#xff08;Nginx Web\u670d\u52a1&#xff0c;\u5e26\u591a\u526f\u672c&#xff09;<\/h5>\n<p>\u4e3a\u4e86\u9a8c\u8bc1\u670d\u52a1\u5668\u5b95\u673a\u540e\u7684\u670d\u52a1\u97e7\u6027&#xff0c;\u5c06\u76ee\u6807\u5e94\u7528\u90e8\u7f72\u4e3a2\u4e2a\u526f\u672c&#xff08;\u6a21\u62df\u591a\u5b9e\u4f8b\u90e8\u7f72&#xff09;&#xff0c;\u914d\u7f6eK8s Service\u66b4\u9732\u670d\u52a1&#xff1a;<\/p>\n<p># \u521b\u5efa\u76ee\u6807\u5e94\u7528\u547d\u540d\u7a7a\u95f4<br \/>\nkubectl create namespace demo-app<\/p>\n<p># \u90e8\u7f72Nginx\u5e94\u7528&#xff08;2\u4e2a\u526f\u672c&#xff09;<br \/>\nkubectl apply -f &#8211; &lt;&lt;EOF<br \/>\napiVersion: apps\/v1<br \/>\nkind: Deployment<br \/>\nmetadata:<br \/>\n  name: nginx-demo<br \/>\n  namespace: demo-app<br \/>\nspec:<br \/>\n  replicas: 2<br \/>\n  selector:<br \/>\n    matchLabels:<br \/>\n      app: nginx-demo<br \/>\n  template:<br \/>\n    metadata:<br \/>\n      labels:<br \/>\n        app: nginx-demo<br \/>\n    spec:<br \/>\n      containers:<br \/>\n      &#8211; name: nginx<br \/>\n        image: nginx:1.25-alpine<br \/>\n        ports:<br \/>\n        &#8211; containerPort: 80<br \/>\n        resources:<br \/>\n          requests:<br \/>\n            cpu: 100m<br \/>\n            memory: 128Mi<br \/>\n&#8212;<br \/>\napiVersion: v1<br \/>\nkind: Service<br \/>\nmetadata:<br \/>\n  name: nginx-demo-svc<br \/>\n  namespace: demo-app<br \/>\nspec:<br \/>\n  type: NodePort<br \/>\n  selector:<br \/>\n    app: nginx-demo<br \/>\n  ports:<br \/>\n  &#8211; port: 80<br \/>\n    targetPort: 80<br \/>\n    nodePort: 30080<br \/>\nEOF<\/p>\n<p># \u9a8c\u8bc1\u5e94\u7528\u90e8\u7f72\u72b6\u6001&#xff08;2\u4e2aPod\u4e3aRunning\u5373\u4e3a\u6b63\u5e38&#xff09;<br \/>\nkubectl get pods -n demo-app<\/p>\n<h5>&#xff08;5&#xff09;\u9a8c\u8bc1\u76ee\u6807\u5e94\u7528\u6b63\u5e38\u8bbf\u95ee<\/h5>\n<p># \u83b7\u53d6Minikube\u8282\u70b9IP<br \/>\nMINIKUBE_IP&#061;$(minikube ip)<\/p>\n<p># \u6d4b\u8bd5\u8bbf\u95ee&#xff08;\u8fd4\u56deNginx\u9ed8\u8ba4\u9875\u9762\u5373\u4e3a\u6b63\u5e38&#xff09;<br \/>\ncurl http:\/\/$MINIKUBE_IP:30080<\/p>\n<p>\u9884\u671f\u8f93\u51fa&#xff1a;Nginx\u7684HTML\u9ed8\u8ba4\u9875\u9762&#xff0c;\u8bf4\u660e\u5e94\u7528\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<h3>\u4e09\u3001\u6f14\u7ec3\u524d\u7f6e\u51c6\u5907<\/h3>\n<h4>1. \u5b9a\u4e49\u7cfb\u7edf\u57fa\u51c6\u6307\u6807<\/h4>\n<p>\u5728\u6ce8\u5165\u6545\u969c\u524d&#xff0c;\u660e\u786e\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\u7684\u57fa\u51c6\u6307\u6807&#xff0c;\u4f5c\u4e3a\u6545\u969c\u6f14\u7ec3\u7684\u5bf9\u6bd4\u4f9d\u636e&#xff1a;<\/p>\n<table>\n<tr>\u6307\u6807\u7c7b\u578b\u57fa\u51c6\u503c\u68c0\u6d4b\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>\u670d\u52a1\u53ef\u7528\u7387<\/td>\n<td>100%<\/td>\n<td>curl\u8fde\u7eed\u8bf7\u6c42&#xff0c;\u65e0\u5931\u8d25<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u53e3\u54cd\u5e94\u65f6\u95f4<\/td>\n<td>&lt;100ms<\/td>\n<td>curl -w \u7edf\u8ba1\u54cd\u5e94\u65f6\u95f4<\/td>\n<\/tr>\n<tr>\n<td>\u5e94\u7528Pod\u72b6\u6001<\/td>\n<td>2\u4e2aRunning&#xff0c;\u65e0\u91cd\u542f<\/td>\n<td>kubectl get pods -n demo-app<\/td>\n<\/tr>\n<tr>\n<td>K8s\u8282\u70b9\u72b6\u6001<\/td>\n<td>Ready&#xff0c;\u65e0\u5f02\u5e38<\/td>\n<td>kubectl get nodes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u63d0\u51fa\u6f14\u7ec3\u5047\u8bbe<\/h4>\n<p>\u672c\u6b21\u6f14\u7ec3\u6838\u5fc3\u5047\u8bbe&#xff1a;\u5f53\u8fd0\u884c\u76ee\u6807\u5e94\u7528\u7684K8s\u8282\u70b9\u53d1\u751f\u5b95\u673a\u6545\u969c\u540e&#xff0c;\u76ee\u6807\u5e94\u7528\u7684\u670d\u52a1\u53ef\u7528\u7387\u4fdd\u6301\u226599%&#xff0c;\u63a5\u53e3\u54cd\u5e94\u65f6\u95f4\u4ecd&lt;500ms&#xff0c;K8s\u53ef\u81ea\u52a8\u5c06Pod\u8c03\u5ea6\u81f3\u5065\u5eb7\u8282\u70b9&#xff08;\u82e5\u6709&#xff09;\u3002<\/p>\n<h4>3. \u5236\u5b9a\u6545\u969c\u6ce8\u5165\u89c4\u5219&#xff08;\u53ef\u63a7\u6545\u969c\u6838\u5fc3&#xff09;<\/h4>\n<p>\u4e3a\u907f\u514d\u6545\u969c\u6269\u6563&#xff0c;\u4e25\u683c\u5b9a\u4e49\u6545\u969c\u6ce8\u5165\u7684\u8303\u56f4\u3001\u6301\u7eed\u65f6\u95f4\u3001\u6062\u590d\u65b9\u5f0f&#xff1a;<\/p>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u8282\u70b9\u7ea7\u6545\u969c&#xff08;\u670d\u52a1\u5668\u5b95\u673a&#xff09;&#xff0c;\u6a21\u62dfK8s\u8282\u70b9\u56e0\u786c\u4ef6\/\u7f51\u7edc\u6545\u969c\u5b8c\u5168\u4e0d\u53ef\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u8303\u56f4&#xff1a;\u4ec5\u9488\u5bf9Minikube\u7684\u552f\u4e00\u8282\u70b9&#xff08;\u5165\u95e8\u73af\u5883&#xff0c;\u5355\u8282\u70b9&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6301\u7eed\u65f6\u95f4&#xff1a;60\u79d2&#xff08;\u8d85\u65f6\u540eChaos Mesh\u81ea\u52a8\u6062\u590d\u6545\u969c&#xff0c;\u65e0\u9700\u4eba\u5de5\u5e72\u9884&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6062\u590d\u65b9\u5f0f&#xff1a;\u81ea\u52a8\u6062\u590d&#xff08;Chaos Mesh\u5185\u7f6e\u6545\u969c\u8fc7\u671f\u673a\u5236&#xff09;&#043; \u4eba\u5de5\u515c\u5e95&#xff08;\u53ef\u901a\u8fc7Dashboard\u624b\u52a8\u505c\u6b62\u6545\u969c&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6f14\u7ec3\u73af\u5883&#xff1a;\u4ec5Minikube\u6d4b\u8bd5\u73af\u5883&#xff0c;\u65e0\u751f\u4ea7\u73af\u5883\u5173\u8054\u3002<\/p>\n<\/li>\n<h4>4. \u542f\u52a8\u6307\u6807\u76d1\u63a7&#xff08;\u5b9e\u65f6\u67e5\u770b\u6545\u969c\u671f\u95f4\u53d8\u5316&#xff09;<\/h4>\n<p># \u5b9e\u65f6\u76d1\u63a7\u5e94\u7528Pod\u72b6\u6001<br \/>\nkubectl get pods -n demo-app -w<\/p>\n<p># \u65b0\u5f00\u7ec8\u7aef&#xff0c;\u5b9e\u65f6\u76d1\u63a7K8s\u8282\u70b9\u72b6\u6001<br \/>\nkubectl get nodes -w<\/p>\n<p># \u65b0\u5f00\u7ec8\u7aef&#xff0c;\u6301\u7eed\u6d4b\u8bd5\u670d\u52a1\u53ef\u7528\u6027&#xff08;\u6bcf2\u79d2\u8bf7\u6c42\u4e00\u6b21&#xff09;<br \/>\nwhile true; do<br \/>\n  curl -o \/dev\/null -s -w &#034;\u65f6\u95f4&#xff1a;%{time_now} \u54cd\u5e94\u7801&#xff1a;%{http_code} \u54cd\u5e94\u65f6\u95f4&#xff1a;%{time_total}s\\\\n&#034; http:\/\/$MINIKUBE_IP:30080<br \/>\n  sleep 2<br \/>\ndone<\/p>\n<h3>\u56db\u3001\u5b9e\u6218\u6b65\u9aa4&#xff1a;\u6ce8\u5165\u670d\u52a1\u5668\u5b95\u673a\u6545\u969c&#xff08;\u4e24\u79cd\u65b9\u5f0f&#xff09;<\/h3>\n<h4>\u5b9e\u9a8c\u5168\u6d41\u7a0b\u65f6\u5e8f\u56fe<\/h4>\n<p>\u5b8c\u6574\u8fd8\u539f\u4ece\u73af\u5883\u642d\u5efa\u3001\u6545\u969c\u6ce8\u5165\u5230\u6062\u590d\u4f18\u5316\u7684\u5168\u6d41\u7a0b\u65f6\u5e8f&#xff1a;<\/p>\n<p>Web2Web1Chaos Mesh\u5de5\u5177Web2&#xff08;nginx-demo-2&#xff09;Web1&#xff08;nginx-demo-1&#xff09;LB\u8d1f\u8f7d\u5747\u8861&#xff08;Ingress&#xff09;\u6d4b\u8bd5\u5de5\u5177\u5de5\u7a0b\u5e08Web2Web1Chaos Mesh\u5de5\u5177Web2&#xff08;nginx-demo-2&#xff09;Web1&#xff08;nginx-demo-1&#xff09;LB\u8d1f\u8f7d\u5747\u8861&#xff08;Ingress&#xff09;\u6d4b\u8bd5\u5de5\u5177\u5de5\u7a0b\u5e08#mermaid-svg-AvHEgKKF88dmdT9t{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-AvHEgKKF88dmdT9t .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-AvHEgKKF88dmdT9t .error-icon{fill:#552222;}#mermaid-svg-AvHEgKKF88dmdT9t .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-AvHEgKKF88dmdT9t .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-AvHEgKKF88dmdT9t .marker{fill:#333333;stroke:#333333;}#mermaid-svg-AvHEgKKF88dmdT9t .marker.cross{stroke:#333333;}#mermaid-svg-AvHEgKKF88dmdT9t svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-AvHEgKKF88dmdT9t p{margin:0;}#mermaid-svg-AvHEgKKF88dmdT9t .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-AvHEgKKF88dmdT9t text.actor&gt;tspan{fill:black;stroke:none;}#mermaid-svg-AvHEgKKF88dmdT9t .actor-line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-AvHEgKKF88dmdT9t .innerArc{stroke-width:1.5;stroke-dasharray:none;}#mermaid-svg-AvHEgKKF88dmdT9t .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-AvHEgKKF88dmdT9t .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-AvHEgKKF88dmdT9t #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-AvHEgKKF88dmdT9t .sequenceNumber{fill:white;}#mermaid-svg-AvHEgKKF88dmdT9t #sequencenumber{fill:#333;}#mermaid-svg-AvHEgKKF88dmdT9t #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-AvHEgKKF88dmdT9t .messageText{fill:#333;stroke:none;}#mermaid-svg-AvHEgKKF88dmdT9t .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-AvHEgKKF88dmdT9t .labelText,#mermaid-svg-AvHEgKKF88dmdT9t .labelText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-AvHEgKKF88dmdT9t .loopText,#mermaid-svg-AvHEgKKF88dmdT9t .loopText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-AvHEgKKF88dmdT9t .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-AvHEgKKF88dmdT9t .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-AvHEgKKF88dmdT9t .noteText,#mermaid-svg-AvHEgKKF88dmdT9t .noteText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-AvHEgKKF88dmdT9t .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-AvHEgKKF88dmdT9t .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-AvHEgKKF88dmdT9t .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-AvHEgKKF88dmdT9t .actorPopupMenu{position:absolute;}#mermaid-svg-AvHEgKKF88dmdT9t .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 \/ 0.4));}#mermaid-svg-AvHEgKKF88dmdT9t .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-AvHEgKKF88dmdT9t .actor-man circle,#mermaid-svg-AvHEgKKF88dmdT9t line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-AvHEgKKF88dmdT9t :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}&#x1f6e0;\ufe0f \u9636\u6bb51&#xff1a;\u73af\u5883\u642d\u5efa\u4e0e\u7a33\u6001\u9a8c\u8bc1\u2705 \u786e\u8ba4\u7a33\u6001&#xff1a;\u8bf7\u6c42\u6210\u529f\u7387100%&#xff0c;\u6d41\u91cf\u8f6e\u8be2\u5206\u914d&#x1f9ea; \u9636\u6bb52&#xff1a;\u6ce8\u5165\u5b95\u673a\u6545\u969c&#x1f4c8; \u9636\u6bb53&#xff1a;\u89c2\u6d4b\u6545\u969c\u8868\u73b0\u274c \u53d1\u73b0\u8106\u5f31\u70b9&#xff1a;\u65e0\u5065\u5eb7\u68c0\u67e5\u5bfc\u81f4\u90e8\u5206\u8bf7\u6c42\u5931\u8d25\u2705 \u9636\u6bb54&#xff1a;\u6545\u969c\u6062\u590d\u4e0e\u7cfb\u7edf\u4f18\u5316\u2705 \u4f18\u5316\u9a8c\u8bc1&#xff1a;\u670d\u52a1\u53ef\u7528\u6027\u4fdd\u6301100%&#x1f4dd; \u9636\u6bb55&#xff1a;\u590d\u76d8\u603b\u7ed3&#xff0c;\u5b8c\u6210\u95ed\u73af\u90e8\u7f72Nginx\u5e94\u7528&#xff08;2\u526f\u672c&#xff09;\u90e8\u7f72Nginx\u5e94\u7528&#xff08;2\u526f\u672c&#xff09;\u914d\u7f6eNodePort\u66b4\u9732\u670d\u52a1\u591a\u6b21\u53d1\u8d77\u8bf7\u6c42\u8f6c\u53d1\u8bf7\u6c42\u8f6c\u53d1\u8bf7\u6c42\u8fd4\u56deNginx\u9ed8\u8ba4\u9875\u9762\u8fd4\u56deNginx\u9ed8\u8ba4\u9875\u9762\u914d\u7f6e\u8282\u70b9\u5b95\u673a\u6545\u969c&#xff08;\u6301\u7eed60s&#xff09;\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a&#xff0c;Pod\u72b6\u6001\u5f02\u5e38\u6301\u7eed\u53d1\u8d77\u8bf7\u6c42\u5c1d\u8bd5\u8f6c\u53d1\u8bf7\u6c42\u65e0\u54cd\u5e94\/\u8fde\u63a5\u5931\u8d25\u8fd4\u56de502\u9519\u8bef\u8f6c\u53d1\u8bf7\u6c42\u8fd4\u56deNginx\u9ed8\u8ba4\u9875\u9762\u6545\u969c\u81ea\u52a8\u6062\u590d&#xff08;60s\u540e&#xff09;\u914d\u7f6e\u5b58\u6d3b\/\u5c31\u7eea\u63a2\u9488&#xff08;\u5065\u5eb7\u68c0\u67e5&#xff09;\u518d\u6b21\u6a21\u62dfWeb1\u5b95\u673a\u5468\u671f\u6027\u5065\u5eb7\u63a2\u6d4b\u63a2\u6d4b\u5931\u8d25\u5c06\u8282\u70b9\u4ece\u96c6\u7fa4\u4e2d\u5254\u9664\u8f6c\u53d1\u5168\u90e8\u6d41\u91cf\u5168\u90e8\u8bf7\u6c42\u6b63\u5e38\u8fd4\u56de<\/p>\n<p>Chaos Mesh\u652f\u6301\u53ef\u89c6\u5316\u754c\u9762&#xff08;Dashboard&#xff09; \u548c\u547d\u4ee4\u884c&#xff08;YAML&#xff09; \u4e24\u79cd\u6545\u969c\u6ce8\u5165\u65b9\u5f0f&#xff0c;\u5165\u95e8\u63a8\u8350\u4f7f\u7528\u53ef\u89c6\u5316\u754c\u9762&#xff0c;\u64cd\u4f5c\u66f4\u76f4\u89c2&#xff1b;\u547d\u4ee4\u884c\u65b9\u5f0f\u9002\u5408\u81ea\u52a8\u5316\u6f14\u7ec3&#xff0c;\u672c\u6b21\u4e24\u79cd\u65b9\u5f0f\u5747\u5b9e\u73b0\u3002<\/p>\n<h4>\u65b9\u5f0f1&#xff1a;\u53ef\u89c6\u5316\u754c\u9762&#xff08;Dashboard&#xff09;\u6ce8\u5165\u6545\u969c&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<h5>\u6b65\u9aa41&#xff1a;\u8fdb\u5165Chaos Mesh Dashboard<\/h5>\n<p>\u8bbf\u95ee http:\/\/\u670d\u52a1\u5668IP:8080&#xff0c;\u5de6\u4fa7\u5bfc\u822a\u680f\u9009\u62e9\u6df7\u6c8c\u5b9e\u9a8c \u2192 \u70b9\u51fb\u65b0\u5efa\u5b9e\u9a8c\u3002<\/p>\n<h5>\u6b65\u9aa42&#xff1a;\u9009\u62e9\u6545\u969c\u7c7b\u578b<\/h5>\n<ul>\n<li>\n<p>\u5b9e\u9a8c\u8303\u56f4&#xff1a;\u9009\u62e9\u96c6\u7fa4\u5185&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u70b9\u51fb\u8282\u70b9\u6545\u969c&#xff08;\u5bf9\u5e94\u670d\u52a1\u5668\u5b95\u673a&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u9a8c\u540d\u79f0&#xff1a;\u81ea\u5b9a\u4e49&#xff08;\u5982node-down-demo-01&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u9a8c\u63cf\u8ff0&#xff1a;\u6a21\u62dfMinikube\u8282\u70b9\u5b95\u673a&#xff0c;\u9a8c\u8bc1Nginx\u670d\u52a1\u97e7\u6027\u3002<\/p>\n<\/li>\n<\/ul>\n<h5>\u6b65\u9aa43&#xff1a;\u914d\u7f6e\u6545\u969c\u53c2\u6570&#xff08;\u6838\u5fc3&#xff09;<\/h5>\n<li>\n<p>\u8282\u70b9\u9009\u62e9&#xff1a;\u9009\u62e9Minikube\u7684\u552f\u4e00\u8282\u70b9&#xff08;\u5982minikube&#xff09;&#xff0c;\u4ec5\u5bf9\u8be5\u8282\u70b9\u6ce8\u5165\u6545\u969c&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u52a8\u4f5c&#xff1a;\u9009\u62e9\u8282\u70b9\u5b95\u673a&#xff08;node-down&#xff09;&#xff08;\u6a21\u62df\u670d\u52a1\u5668\u5b8c\u5168\u4e0d\u53ef\u7528&#xff0c;\u8282\u70b9\u72b6\u6001\u53d8\u4e3aNotReady&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u6301\u7eed\u65f6\u95f4&#xff1a;\u586b\u519960s&#xff08;\u8d85\u65f6\u81ea\u52a8\u6062\u590d&#xff0c;\u6838\u5fc3\u53ef\u63a7\u914d\u7f6e&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u9ad8\u7ea7\u914d\u7f6e&#xff1a;\u4fdd\u6301\u9ed8\u8ba4&#xff08;\u5165\u95e8\u65e0\u9700\u4fee\u6539&#xff09;\u3002<\/p>\n<\/li>\n<h5>\u6b65\u9aa44&#xff1a;\u63d0\u4ea4\u5b9e\u9a8c\u5e76\u542f\u52a8<\/h5>\n<p>\u70b9\u51fb\u63d0\u4ea4 \u2192 \u5b9e\u9a8c\u5217\u8868\u4e2d\u627e\u5230\u65b0\u5efa\u7684\u5b9e\u9a8c \u2192 \u70b9\u51fb\u542f\u52a8&#xff0c;\u6545\u969c\u5f00\u59cb\u6ce8\u5165\u3002<\/p>\n<h4>\u65b9\u5f0f2&#xff1a;\u547d\u4ee4\u884c&#xff08;YAML&#xff09;\u6ce8\u5165\u6545\u969c&#xff08;\u9002\u5408\u81ea\u52a8\u5316&#xff09;<\/h4>\n<p>\u76f4\u63a5\u901a\u8fc7kubectl apply\u521b\u5efaChaos Mesh\u7684\u6545\u969c\u8d44\u6e90&#xff0c;\u5b9e\u73b0\u65e0\u754c\u9762\u6545\u969c\u6ce8\u5165&#xff1a;<\/p>\n<p># \u6ce8\u5165\u8282\u70b9\u5b95\u673a\u6545\u969c&#xff0c;\u6301\u7eed60\u79d2<br \/>\nkubectl apply -f &#8211; &lt;&lt;EOF<br \/>\napiVersion: chaos-mesh.org\/v1alpha1<br \/>\nkind: NodeChaos<br \/>\nmetadata:<br \/>\n  name: node-down-demo-01<br \/>\n  namespace: chaos-mesh<br \/>\nspec:<br \/>\n  action: node-down  # \u6545\u969c\u7c7b\u578b&#xff1a;\u8282\u70b9\u5b95\u673a<br \/>\n  mode: one  # \u6545\u969c\u8303\u56f4&#xff1a;\u5355\u4e2a\u8282\u70b9<br \/>\n  selector:<br \/>\n    nodes:<br \/>\n      &#8211; minikube  # \u76ee\u6807\u8282\u70b9&#xff08;Minikube\u8282\u70b9\u540d&#xff09;<br \/>\n  duration: 60s  # \u6545\u969c\u6301\u7eed\u65f6\u95f4<br \/>\n  scheduler:<br \/>\n    cron: &#034;&#064;once&#034;  # \u6267\u884c\u65b9\u5f0f&#xff1a;\u7acb\u5373\u6267\u884c\u4e00\u6b21<br \/>\nEOF<\/p>\n<p>\u9a8c\u8bc1\u6545\u969c\u542f\u52a8&#xff1a;<\/p>\n<p># \u67e5\u770b\u6545\u969c\u72b6\u6001&#xff08;phase\u4e3aRunning\u5373\u4e3a\u6ce8\u5165\u6210\u529f&#xff09;<br \/>\nkubectl get nodechaos -n chaos-mesh<\/p>\n<h3>\u4e94\u3001\u6545\u969c\u671f\u95f4&#xff1a;\u5b9e\u65f6\u89c2\u5bdf\u7cfb\u7edf\u72b6\u6001<\/h3>\n<p>\u6545\u969c\u6ce8\u5165\u540e&#xff0c;\u89c2\u5bdf\u4e4b\u524d\u542f\u52a8\u7684\u76d1\u63a7\u7ec8\u7aef&#xff0c;\u8bb0\u5f55\u6838\u5fc3\u73b0\u8c61&#xff08;\u5165\u95e8\u7ea7\u5178\u578b\u73b0\u8c61&#xff09;&#xff1a;<\/p>\n<h4>1. K8s\u8282\u70b9\u72b6\u6001\u53d8\u5316<\/h4>\n<p>\u8282\u70b9\u72b6\u6001\u4eceReady\u5feb\u901f\u53d8\u4e3aNotReady&#xff0c;\u8868\u793a\u670d\u52a1\u5668\u5b95\u673a\u6545\u969c\u6ce8\u5165\u6210\u529f\u3002<\/p>\n<h4>2. \u5e94\u7528Pod\u72b6\u6001\u53d8\u5316<\/h4>\n<p>Pod\u72b6\u6001\u4eceRunning\u53d8\u4e3aUnknown\/NotReady&#xff0c;\u56e0\u4e3a\u8282\u70b9\u5b95\u673a&#xff0c;K8s\u65e0\u6cd5\u76d1\u63a7Pod\u72b6\u6001\u3002<\/p>\n<h4>3. \u670d\u52a1\u53ef\u7528\u6027\u53d8\u5316<\/h4>\n<ul>\n<li>\n<p>\u5355\u8282\u70b9K8s\u73af\u5883\u4e0b&#xff1a;\u670d\u52a1\u6682\u65f6\u4e0d\u53ef\u7528&#xff08;curl\u8fd4\u56de\u8fde\u63a5\u5931\u8d25&#xff0c;\u54cd\u5e94\u7801\u975e200&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u591a\u8282\u70b9K8s\u73af\u5883\u4e0b&#xff1a;K8s\u4f1a\u5c06Pod\u81ea\u52a8\u8c03\u5ea6\u81f3\u5065\u5eb7\u8282\u70b9&#xff0c;\u670d\u52a1\u4e2d\u65ad\u65f6\u95f4\u6781\u77ed&#xff08;\u79d2\u7ea7&#xff09;&#xff0c;\u968f\u540e\u6062\u590d\u53ef\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>4. \u6307\u6807\u53d8\u5316<\/h4>\n<ul>\n<li>\n<p>\u63a5\u53e3\u54cd\u5e94\u65f6\u95f4&#xff1a;\u6545\u969c\u671f\u95f4\u65e0\u54cd\u5e94&#xff08;\u8d85\u65f6&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u670d\u52a1\u53ef\u7528\u7387&#xff1a;\u6545\u969c\u671f\u95f4\u964d\u81f30%&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u6062\u590d\u540e&#xff1a;\u8282\u70b9\u72b6\u6001\u6062\u590dReady&#xff0c;Pod\u72b6\u6001\u6062\u590dRunning&#xff0c;\u670d\u52a1\u53ef\u7528\u7387\u56de\u5230100%\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u516d\u3001\u6545\u969c\u6062\u590d&#xff1a;\u81ea\u52a8&#043;\u4eba\u5de5\u515c\u5e95<\/h3>\n<h4>1. \u81ea\u52a8\u6062\u590d<\/h4>\n<p>\u6545\u969c\u6301\u7eed\u65f6\u95f4&#xff08;60s&#xff09;\u7ed3\u675f\u540e&#xff0c;Chaos Mesh\u4f1a\u81ea\u52a8\u6e05\u7406\u6545\u969c&#xff0c;\u8282\u70b9\u72b6\u6001\u4eceNotReady\u6062\u590d\u4e3aReady&#xff0c;Pod\u72b6\u6001\u4e5f\u4f1a\u968f\u4e4b\u6062\u590d&#xff0c;\u670d\u52a1\u81ea\u52a8\u6062\u590d\u53ef\u7528\u3002<\/p>\n<h4>2. \u4eba\u5de5\u515c\u5e95\u6062\u590d&#xff08;\u82e5\u81ea\u52a8\u6062\u590d\u5931\u8d25&#xff09;<\/h4>\n<h5>\u65b9\u5f0f1&#xff1a;\u53ef\u89c6\u5316\u754c\u9762\u505c\u6b62\u6545\u969c<\/h5>\n<p>Dashboard \u2192 \u6df7\u6c8c\u5b9e\u9a8c \u2192 \u627e\u5230\u5bf9\u5e94\u5b9e\u9a8c \u2192 \u70b9\u51fb\u505c\u6b62&#xff0c;\u6545\u969c\u7acb\u5373\u6062\u590d\u3002<\/p>\n<h5>\u65b9\u5f0f2&#xff1a;\u547d\u4ee4\u884c\u5220\u9664\u6545\u969c\u8d44\u6e90<\/h5>\n<p># \u5220\u9664\u8282\u70b9\u5b95\u673a\u6545\u969c\u8d44\u6e90&#xff0c;\u7acb\u5373\u6062\u590d<br \/>\nkubectl delete nodechaos node-down-demo-01 -n chaos-mesh<\/p>\n<p># \u9a8c\u8bc1\u8282\u70b9\u72b6\u6001\u6062\u590d<br \/>\nkubectl get nodes<\/p>\n<h4>3. \u9a8c\u8bc1\u6545\u969c\u5b8c\u5168\u6062\u590d<\/h4>\n<p># \u6d4b\u8bd5\u670d\u52a1\u8bbf\u95ee&#xff08;\u8fd4\u56deNginx\u9875\u9762\u5373\u4e3a\u6062\u590d&#xff09;<br \/>\ncurl http:\/\/$MINIKUBE_IP:30080<\/p>\n<p># \u9a8c\u8bc1Pod\u72b6\u6001&#xff08;2\u4e2aRunning&#xff09;<br \/>\nkubectl get pods -n demo-app<\/p>\n<h3>\u4e03\u3001\u6f14\u7ec3\u7ed3\u679c\u5206\u6790\u4e0e\u590d\u76d8<\/h3>\n<h4>\u6545\u969c\u573a\u666f\u5bf9\u6bd4\u53ef\u89c6\u5316<\/h4>\n<p>\u76f4\u89c2\u5c55\u793a\u300c\u6709\u65e0\u5065\u5eb7\u68c0\u67e5\u300d\u4e24\u79cd\u60c5\u51b5\u4e0b&#xff0c;\u670d\u52a1\u5668\u5b95\u673a\u540e\u7684\u7cfb\u7edf\u8868\u73b0\u5dee\u5f02&#xff1a;<\/p>\n<p>#mermaid-svg-9WjmCzJ1PZe4fx1y{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-9WjmCzJ1PZe4fx1y .error-icon{fill:#552222;}#mermaid-svg-9WjmCzJ1PZe4fx1y .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-9WjmCzJ1PZe4fx1y .marker{fill:#333333;stroke:#333333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .marker.cross{stroke:#333333;}#mermaid-svg-9WjmCzJ1PZe4fx1y svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-9WjmCzJ1PZe4fx1y p{margin:0;}#mermaid-svg-9WjmCzJ1PZe4fx1y .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster-label text{fill:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster-label span{color:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster-label span p{background-color:transparent;}#mermaid-svg-9WjmCzJ1PZe4fx1y .label text,#mermaid-svg-9WjmCzJ1PZe4fx1y span{fill:#333;color:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .node rect,#mermaid-svg-9WjmCzJ1PZe4fx1y .node circle,#mermaid-svg-9WjmCzJ1PZe4fx1y .node ellipse,#mermaid-svg-9WjmCzJ1PZe4fx1y .node polygon,#mermaid-svg-9WjmCzJ1PZe4fx1y .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .rough-node .label text,#mermaid-svg-9WjmCzJ1PZe4fx1y .node .label text,#mermaid-svg-9WjmCzJ1PZe4fx1y .image-shape .label,#mermaid-svg-9WjmCzJ1PZe4fx1y .icon-shape .label{text-anchor:middle;}#mermaid-svg-9WjmCzJ1PZe4fx1y .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .rough-node .label,#mermaid-svg-9WjmCzJ1PZe4fx1y .node .label,#mermaid-svg-9WjmCzJ1PZe4fx1y .image-shape .label,#mermaid-svg-9WjmCzJ1PZe4fx1y .icon-shape .label{text-align:center;}#mermaid-svg-9WjmCzJ1PZe4fx1y .node.clickable{cursor:pointer;}#mermaid-svg-9WjmCzJ1PZe4fx1y .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .arrowheadPath{fill:#333333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-9WjmCzJ1PZe4fx1y .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-9WjmCzJ1PZe4fx1y .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-9WjmCzJ1PZe4fx1y .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster text{fill:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y .cluster span{color:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-9WjmCzJ1PZe4fx1y .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-9WjmCzJ1PZe4fx1y rect.text{fill:none;stroke-width:0;}#mermaid-svg-9WjmCzJ1PZe4fx1y .icon-shape,#mermaid-svg-9WjmCzJ1PZe4fx1y .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-9WjmCzJ1PZe4fx1y .icon-shape p,#mermaid-svg-9WjmCzJ1PZe4fx1y .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-9WjmCzJ1PZe4fx1y .icon-shape rect,#mermaid-svg-9WjmCzJ1PZe4fx1y .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-9WjmCzJ1PZe4fx1y .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-9WjmCzJ1PZe4fx1y .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-9WjmCzJ1PZe4fx1y :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"nodeLabel\"><\/p>\n<p>&#x1f7e2; \u914d\u7f6e\u5065\u5eb7\u68c0\u67e5\u540e<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Web1\u670d\u52a1\u5668\u5b95\u673a<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>LB\u5468\u671f\u6027\u6267\u884c\u5065\u5eb7\u63a2\u6d4b<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u8fde\u7eed\u63a2\u6d4b\u5931\u8d25&#xff0c;\u5c06Web1\u4ece\u96c6\u7fa4\u5254\u9664<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u6240\u6709\u6d41\u91cf\u81ea\u52a8\u8f6c\u53d1\u5230\u6b63\u5e38\u8282\u70b9Web2<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u670d\u52a1\u53ef\u7528\u6027\u4fdd\u6301100%&#xff0c;\u7528\u6237\u65e0\u611f\u77e5<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>&#x1f534; \u672a\u914d\u7f6e\u5065\u5eb7\u68c0\u67e5<\/p>\n<p><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>Web1\u670d\u52a1\u5668\u5b95\u673a<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>LB\u4ecd\u6309\u8f6e\u8be2\u89c4\u5219\u8f6c\u53d1\u6d41\u91cf\u5230Web1<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u90e8\u5206\u8bf7\u6c42\u51fa\u73b0502\u9519\u8bef<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u670d\u52a1\u53ef\u7528\u6027\u4e0b\u964d&#xff0c;\u7528\u6237\u611f\u77e5\u6545\u969c<\/p>\n<p><\/span><\/p>\n<h4>1. \u9a8c\u8bc1\u6f14\u7ec3\u5047\u8bbe<\/h4>\n<p>\u672c\u6b21\u6f14\u7ec3\u4e3a\u5355\u8282\u70b9K8s\u73af\u5883&#xff0c;\u6838\u5fc3\u5047\u8bbe\u9a8c\u8bc1\u7ed3\u679c&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u274c \u670d\u52a1\u53ef\u7528\u7387&#xff1a;\u6545\u969c\u671f\u95f4\u964d\u81f30%&#xff0c;\u672a\u8fbe\u5230\u226599%\u7684\u76ee\u6807&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u274c \u63a5\u53e3\u54cd\u5e94\u65f6\u95f4&#xff1a;\u6545\u969c\u671f\u95f4\u65e0\u54cd\u5e94&#xff0c;\u8d85\u51fa&lt;500ms\u7684\u76ee\u6807&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u2705 \u81ea\u52a8\u6062\u590d&#xff1a;\u6545\u969c\u8d85\u65f6\u540e&#xff0c;\u7cfb\u7edf\u81ea\u52a8\u6062\u590d\u81f3\u6b63\u5e38\u72b6\u6001&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u591a\u8282\u70b9K8s\u73af\u5883\u4e0b&#xff1a;\u2705 \u670d\u52a1\u53ef\u7528\u7387\u53ef\u4fdd\u6301\u226599%&#xff0c;Pod\u81ea\u52a8\u8c03\u5ea6\u81f3\u5065\u5eb7\u8282\u70b9\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>2. \u5206\u6790\u7cfb\u7edf\u8106\u5f31\u70b9&#xff08;\u6838\u5fc3&#xff09;<\/h4>\n<p>\u4ece\u6f14\u7ec3\u7ed3\u679c\u4e2d\u63d0\u70bc\u7cfb\u7edf\u97e7\u6027\u7684\u8106\u5f31\u70b9&#xff0c;\u8fd9\u662f\u6df7\u6c8c\u5de5\u7a0b\u7684\u6838\u5fc3\u4ef7\u503c&#xff1a;<\/p>\n<li>\n<p>\u5355\u8282\u70b9\u90e8\u7f72\u98ce\u9669&#xff1a;\u76ee\u6807\u5e94\u7528\u4e0eK8s\u8282\u70b9\u5f3a\u7ed1\u5b9a&#xff0c;\u5355\u8282\u70b9\u5b95\u673a\u76f4\u63a5\u5bfc\u81f4\u670d\u52a1\u4e0d\u53ef\u7528&#xff08;\u6700\u6838\u5fc3\u8106\u5f31\u70b9&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5907\u7528\u8282\u70b9&#xff1a;\u672a\u90e8\u7f72\u591a\u8282\u70b9K8s\u96c6\u7fa4&#xff0c;K8s\u65e0\u6cd5\u8fdb\u884cPod\u8c03\u5ea6\u548c\u6545\u969c\u8f6c\u79fb&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u65e0\u670d\u52a1\u53d1\u73b0\/\u8d1f\u8f7d\u5747\u8861&#xff1a;\u5165\u95e8\u73af\u5883\u672a\u914d\u7f6e\u4e13\u4e1a\u7684\u8d1f\u8f7d\u5747\u8861\u5668&#xff0c;\u5355\u8282\u70b9\u6545\u969c\u540e\u65e0\u6d41\u91cf\u5207\u6362\u80fd\u529b&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5065\u5eb7\u68c0\u67e5\u515c\u5e95&#xff1a;\u867dK8s\u6709\u81ea\u5e26\u5065\u5eb7\u68c0\u67e5&#xff0c;\u4f46\u5355\u8282\u70b9\u73af\u5883\u4e0b\u65e0\u5b9e\u9645\u5bb9\u9519\u6548\u679c\u3002<\/p>\n<\/li>\n<h4>3. \u9488\u5bf9\u6027\u4f18\u5316\u5efa\u8bae&#xff08;\u5165\u95e8\u7ea7\u53ef\u843d\u5730&#xff09;<\/h4>\n<p>\u9488\u5bf9\u4ee5\u4e0a\u8106\u5f31\u70b9&#xff0c;\u7ed9\u51fa\u4f4e\u6210\u672c\u3001\u53ef\u843d\u5730\u7684\u4f18\u5316\u65b9\u6848&#xff0c;\u4ece\u6839\u672c\u4e0a\u63d0\u5347\u7cfb\u7edf\u97e7\u6027&#xff1a;<\/p>\n<li>\n<p>\u90e8\u7f72\u591a\u8282\u70b9K8s\u96c6\u7fa4&#xff1a;\u66ff\u6362\u5355\u8282\u70b9Minikube\u4e3a\u591a\u8282\u70b9K8s\u96c6\u7fa4&#xff08;\u5982k3s\/CKA&#xff09;&#xff0c;\u5b9e\u73b0Pod\u8de8\u8282\u70b9\u8c03\u5ea6&#xff0c;\u907f\u514d\u5355\u8282\u70b9\u6545\u969c\u5bfc\u81f4\u670d\u52a1\u4e0d\u53ef\u7528&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u63d0\u5347\u5e94\u7528\u526f\u672c\u6570&#xff1a;\u5c06\u5e94\u7528\u526f\u672c\u6570\u63d0\u5347\u81f33\u4e2a\u53ca\u4ee5\u4e0a&#xff0c;\u5e76\u901a\u8fc7K8s\u7684podAntiAffinity\u914d\u7f6e&#xff0c;\u8ba9Pod\u5206\u5e03\u5728\u4e0d\u540c\u8282\u70b9&#xff0c;\u5b9e\u73b0\u201c\u8282\u70b9\u7ea7\u5bb9\u707e\u201d&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u4e13\u4e1a\u8d1f\u8f7d\u5747\u8861&#xff1a;\u4f7f\u7528Ingress-Nginx\/Traefik\u4f5c\u4e3a\u8d1f\u8f7d\u5747\u8861\u5668&#xff0c;\u66ff\u4ee3NodePort&#xff0c;\u5b9e\u73b0\u6d41\u91cf\u7684\u667a\u80fd\u5206\u53d1\u548c\u6545\u969c\u8282\u70b9\u9694\u79bb&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5f3a\u5316K8s\u5065\u5eb7\u68c0\u67e5&#xff1a;\u4e3a\u5e94\u7528\u914d\u7f6e\u5b58\u6d3b\u63a2\u9488&#xff08;livenessProbe&#xff09; \u548c\u5c31\u7eea\u63a2\u9488&#xff08;readinessProbe&#xff09;&#xff0c;\u8ba9K8s\u5feb\u901f\u53d1\u73b0\u6545\u969cPod\u5e76\u91cd\u542f\/\u5254\u9664&#xff1a;<\/p>\n<\/li>\n<p># \u4e3aNginx\u6dfb\u52a0\u5065\u5eb7\u68c0\u67e5&#xff08;\u66f4\u65b0Deployment&#xff09;<br \/>\nkubectl patch deployment nginx-demo -n demo-app &#8211;type&#061;&#039;json&#039; -p &#039;[<br \/>\n  {<br \/>\n    &#034;op&#034;: &#034;add&#034;,<br \/>\n    &#034;path&#034;: &#034;\/spec\/template\/spec\/containers\/0\/livenessProbe&#034;,<br \/>\n    &#034;value&#034;: {<br \/>\n      &#034;httpGet&#034;: {&#034;path&#034;: &#034;\/&#034;, &#034;port&#034;: 80},<br \/>\n      &#034;initialDelaySeconds&#034;: 5,<br \/>\n      &#034;periodSeconds&#034;: 10<br \/>\n    }<br \/>\n  },<br \/>\n  {<br \/>\n    &#034;op&#034;: &#034;add&#034;,<br \/>\n    &#034;path&#034;: &#034;\/spec\/template\/spec\/containers\/0\/readinessProbe&#034;,<br \/>\n    &#034;value&#034;: {<br \/>\n      &#034;httpGet&#034;: {&#034;path&#034;: &#034;\/&#034;, &#034;port&#034;: 80},<br \/>\n      &#034;initialDelaySeconds&#034;: 5,<br \/>\n      &#034;periodSeconds&#034;: 10<br \/>\n    }<br \/>\n  }<br \/>\n]&#039;<\/p>\n<li>\u914d\u7f6e\u8d44\u6e90\u9650\u5236&#xff1a;\u4e3a\u5e94\u7528Pod\u914d\u7f6eCPU\/\u5185\u5b58\u7684\u8bf7\u6c42&#xff08;requests&#xff09; \u548c\u9650\u5236&#xff08;limits&#xff09;&#xff0c;\u907f\u514d\u5355\u5e94\u7528\u5360\u7528\u8282\u70b9\u5168\u90e8\u8d44\u6e90\u5bfc\u81f4\u8282\u70b9\u5b95\u673a\u3002<\/li>\n<h4>4. \u5b9e\u9a8c\u95ed\u73af\u603b\u7ed3<\/h4>\n<p>#mermaid-svg-vLwPqdBspxi31L6l{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-vLwPqdBspxi31L6l .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-vLwPqdBspxi31L6l .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-vLwPqdBspxi31L6l .error-icon{fill:#552222;}#mermaid-svg-vLwPqdBspxi31L6l .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-vLwPqdBspxi31L6l .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-vLwPqdBspxi31L6l .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-vLwPqdBspxi31L6l .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-vLwPqdBspxi31L6l .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-vLwPqdBspxi31L6l .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-vLwPqdBspxi31L6l .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-vLwPqdBspxi31L6l .marker{fill:#333333;stroke:#333333;}#mermaid-svg-vLwPqdBspxi31L6l .marker.cross{stroke:#333333;}#mermaid-svg-vLwPqdBspxi31L6l svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-vLwPqdBspxi31L6l p{margin:0;}#mermaid-svg-vLwPqdBspxi31L6l .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-vLwPqdBspxi31L6l .cluster-label text{fill:#333;}#mermaid-svg-vLwPqdBspxi31L6l .cluster-label span{color:#333;}#mermaid-svg-vLwPqdBspxi31L6l .cluster-label span p{background-color:transparent;}#mermaid-svg-vLwPqdBspxi31L6l .label text,#mermaid-svg-vLwPqdBspxi31L6l span{fill:#333;color:#333;}#mermaid-svg-vLwPqdBspxi31L6l .node rect,#mermaid-svg-vLwPqdBspxi31L6l .node circle,#mermaid-svg-vLwPqdBspxi31L6l .node ellipse,#mermaid-svg-vLwPqdBspxi31L6l .node polygon,#mermaid-svg-vLwPqdBspxi31L6l .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-vLwPqdBspxi31L6l .rough-node .label text,#mermaid-svg-vLwPqdBspxi31L6l .node .label text,#mermaid-svg-vLwPqdBspxi31L6l .image-shape .label,#mermaid-svg-vLwPqdBspxi31L6l .icon-shape .label{text-anchor:middle;}#mermaid-svg-vLwPqdBspxi31L6l .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-vLwPqdBspxi31L6l .rough-node .label,#mermaid-svg-vLwPqdBspxi31L6l .node .label,#mermaid-svg-vLwPqdBspxi31L6l .image-shape .label,#mermaid-svg-vLwPqdBspxi31L6l .icon-shape .label{text-align:center;}#mermaid-svg-vLwPqdBspxi31L6l .node.clickable{cursor:pointer;}#mermaid-svg-vLwPqdBspxi31L6l .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-vLwPqdBspxi31L6l .arrowheadPath{fill:#333333;}#mermaid-svg-vLwPqdBspxi31L6l .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-vLwPqdBspxi31L6l .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-vLwPqdBspxi31L6l .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-vLwPqdBspxi31L6l .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-vLwPqdBspxi31L6l .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-vLwPqdBspxi31L6l .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-vLwPqdBspxi31L6l .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-vLwPqdBspxi31L6l .cluster text{fill:#333;}#mermaid-svg-vLwPqdBspxi31L6l .cluster span{color:#333;}#mermaid-svg-vLwPqdBspxi31L6l div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-vLwPqdBspxi31L6l .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-vLwPqdBspxi31L6l rect.text{fill:none;stroke-width:0;}#mermaid-svg-vLwPqdBspxi31L6l .icon-shape,#mermaid-svg-vLwPqdBspxi31L6l .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-vLwPqdBspxi31L6l .icon-shape p,#mermaid-svg-vLwPqdBspxi31L6l .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-vLwPqdBspxi31L6l .icon-shape rect,#mermaid-svg-vLwPqdBspxi31L6l .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-vLwPqdBspxi31L6l .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-vLwPqdBspxi31L6l .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-vLwPqdBspxi31L6l :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"edgeLabel\"><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u672a\u914d\u7f6e\u5065\u5eb7\u68c0\u67e5&#xff0c;\u6545\u969c\u8282\u70b9\u65e0\u6cd5\u81ea\u52a8\u5254\u9664<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>Nginx\u6dfb\u52a0\u5065\u5eb7\u68c0\u67e5\u89c4\u5219&#043;\u591a\u8282\u70b9\u90e8\u7f72<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5355\u8282\u70b9\u5b95\u673a\u540e\u670d\u52a1\u53ef\u7528\u6027100%<\/p>\n<p><\/span><span class=\"nodeLabel\"><\/p>\n<p>\u5206\u5e03\u5f0f\u67b6\u6784\u9700\u914d\u5957\u5065\u5eb7\u68c0\u67e5\u4e0e\u5bb9\u707e\u673a\u5236<\/p>\n<p><\/span><\/p>\n<h3>\u516b\u3001\u8fdb\u9636\u6f14\u7ec3&#xff1a;\u6269\u5c55\u6545\u969c\u573a\u666f&#xff08;\u5165\u95e8\u540e\u5c1d\u8bd5&#xff09;<\/h3>\n<p>\u638c\u63e1\u57fa\u7840\u7684\u670d\u52a1\u5668\u5b95\u673a\u6f14\u7ec3\u540e&#xff0c;\u53ef\u57fa\u4e8e\u672c\u6b21\u73af\u5883&#xff0c;\u6269\u5c55\u4ee5\u4e0b\u5e38\u89c1\u6df7\u6c8c\u5de5\u7a0b\u6545\u969c\u573a\u666f&#xff0c;\u8fdb\u4e00\u6b65\u9a8c\u8bc1\u7cfb\u7edf\u97e7\u6027&#xff1a;<\/p>\n<h4>1. \u5bb9\u5668\u7ea7\u6545\u969c<\/h4>\n<p>\u6a21\u62df\u5355\u4e2a\u5e94\u7528Pod\u5b95\u673a&#xff08;\u800c\u975e\u6574\u4e2a\u670d\u52a1\u5668&#xff09;&#xff0c;\u9a8c\u8bc1K8s\u7684Pod\u91cd\u542f\/\u91cd\u5efa\u80fd\u529b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u5bb9\u5668\u6545\u969c&#xff08;container-kill&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u9a8c\u8bc1&#xff1a;Pod\u88ab\u6740\u6b7b\u540e&#xff0c;K8s\u662f\u5426\u81ea\u52a8\u91cd\u5efaPod&#xff0c;\u670d\u52a1\u662f\u5426\u65e0\u611f\u77e5\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>2. \u7f51\u7edc\u6545\u969c<\/h4>\n<p>\u6a21\u62df\u670d\u52a1\u5668\u7f51\u7edc\u4e2d\u65ad\/\u5ef6\u8fdf&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u7684\u7f51\u7edc\u97e7\u6027&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u7f51\u7edc\u6545\u969c&#xff08;network-partition\/network-latency&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u9a8c\u8bc1&#xff1a;\u7f51\u7edc\u4e2d\u65ad\u540e&#xff0c;\u670d\u52a1\u662f\u5426\u6709\u964d\u7ea7\u7b56\u7565&#xff0c;\u7f51\u7edc\u6062\u590d\u540e\u662f\u5426\u6b63\u5e38\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u8d44\u6e90\u8017\u5c3d\u6545\u969c<\/h4>\n<p>\u6a21\u62df\u670d\u52a1\u5668CPU\/\u5185\u5b58\u8017\u5c3d&#xff0c;\u9a8c\u8bc1\u5e94\u7528\u7684\u8d44\u6e90\u9694\u79bb\u80fd\u529b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u538b\u529b\u6545\u969c&#xff08;stress-cpu\/stress-memory&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u9a8c\u8bc1&#xff1a;\u5355\u4e2a\u5e94\u7528\u8d44\u6e90\u8017\u5c3d\u540e&#xff0c;\u662f\u5426\u5f71\u54cd\u5176\u4ed6\u5e94\u7528&#xff0c;K8s\u662f\u5426\u89e6\u53d1\u8d44\u6e90\u9650\u5236\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>4. \u6301\u4e45\u5316\u5b58\u50a8\u6545\u969c<\/h4>\n<p>\u6a21\u62df\u670d\u52a1\u5668\u5b58\u50a8\u5377\u6302\u8f7d\u5931\u8d25&#xff0c;\u9a8c\u8bc1\u5e94\u7528\u7684\u6570\u636e\u4e00\u81f4\u6027\u80fd\u529b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6545\u969c\u7c7b\u578b&#xff1a;\u5b58\u50a8\u6545\u969c&#xff08;pod-failure&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u9a8c\u8bc1&#xff1a;\u5b58\u50a8\u6545\u969c\u540e&#xff0c;\u5e94\u7528\u662f\u5426\u6709\u6570\u636e\u5907\u4efd&#xff0c;\u6062\u590d\u540e\u6570\u636e\u662f\u5426\u4e00\u81f4\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e5d\u3001\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\u6838\u5fc3\u7ecf\u9a8c\u603b\u7ed3<\/h3>\n<li>\n<p>\u53ef\u63a7\u662f\u7b2c\u4e00\u539f\u5219&#xff1a;\u5165\u95e8\u9636\u6bb5\u52a1\u5fc5\u5728\u72ec\u7acb\u6d4b\u8bd5\u73af\u5883&#xff08;\u5982Minikube&#xff09;\u8fdb\u884c\u6f14\u7ec3&#xff0c;\u4e25\u683c\u63a7\u5236\u6545\u969c\u8303\u56f4\u548c\u6301\u7eed\u65f6\u95f4&#xff0c;\u907f\u514d\u5f71\u54cd\u751f\u4ea7&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5148\u7b80\u540e\u7e41&#xff1a;\u4ece\u8282\u70b9\u5b95\u673a\/\u5bb9\u5668\u5b95\u673a\u7b49\u7b80\u5355\u6545\u969c\u5f00\u59cb&#xff0c;\u638c\u63e1\u6838\u5fc3\u64cd\u4f5c\u540e&#xff0c;\u518d\u5c1d\u8bd5\u7f51\u7edc\/\u5b58\u50a8\/\u8d44\u6e90\u7b49\u590d\u6742\u6545\u969c&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u57fa\u51c6\u6307\u6807\u662f\u57fa\u7840&#xff1a;\u6ce8\u5165\u6545\u969c\u524d\u5fc5\u987b\u660e\u786e\u7cfb\u7edf\u6b63\u5e38\u7684\u57fa\u51c6\u6307\u6807&#xff0c;\u5426\u5219\u65e0\u6cd5\u5224\u65ad\u6f14\u7ec3\u7ed3\u679c&#xff0c;\u4e5f\u65e0\u6cd5\u53d1\u73b0\u8106\u5f31\u70b9&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u590d\u76d8\u6bd4\u6f14\u7ec3\u66f4\u91cd\u8981&#xff1a;\u6df7\u6c8c\u5de5\u7a0b\u7684\u6838\u5fc3\u4e0d\u662f\u201c\u6ce8\u5165\u6545\u969c\u201d&#xff0c;\u800c\u662f\u901a\u8fc7\u6f14\u7ec3\u53d1\u73b0\u8106\u5f31\u70b9\u5e76\u4f18\u5316&#xff0c;\u5373\u4f7f\u6f14\u7ec3\u7ed3\u679c\u7b26\u5408\u5047\u8bbe&#xff0c;\u4e5f\u9700\u590d\u76d8\u662f\u5426\u6709\u4f18\u5316\u7a7a\u95f4&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5de5\u5177\u53ea\u662f\u624b\u6bb5&#xff1a;Chaos Mesh\u7b49\u5de5\u5177\u662f\u5b9e\u73b0\u6df7\u6c8c\u5de5\u7a0b\u7684\u624b\u6bb5&#xff0c;\u6838\u5fc3\u662f\u5efa\u7acb\u201c\u4e3b\u52a8\u53d1\u73b0\u6545\u969c\u201d\u7684\u601d\u7ef4&#xff0c;\u800c\u975e\u5355\u7eaf\u4f7f\u7528\u5de5\u5177&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5faa\u5e8f\u6e10\u8fdb&#xff1a;\u4e0d\u8981\u4e00\u6b21\u6027\u5728\u590d\u6742\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u6ce8\u5165\u591a\u4e2a\u6545\u969c&#xff0c;\u5165\u95e8\u9636\u6bb5\u5355\u6545\u969c\u3001\u5355\u8282\u70b9\u3001\u5355\u5e94\u7528\u5373\u53ef&#xff0c;\u9010\u6b65\u63d0\u5347\u6f14\u7ec3\u590d\u6742\u5ea6\u3002<\/p>\n<\/li>\n<h3>\u5341\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5&#xff08;\u5165\u95e8\u8e29\u5751\u6307\u5357&#xff09;<\/h3>\n<h4>\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\u907f\u5751\u6838\u5fc3\u8981\u70b9<\/h4>\n<p>\u274c \u7981\u6b62\u76f4\u63a5\u5728\u751f\u4ea7\u73af\u5883\u5f00\u5c55\u5165\u95e8\u5b9e\u9a8c<br \/>\n\u2705 \u4ece\u9694\u79bb\u73af\u5883&#xff08;\u672c\u5730\/\u6d4b\u8bd5\u73af\u5883&#xff09;\u5f00\u59cb<br \/>\n\u2705 \u4ece\u5c0f\u6545\u969c&#xff08;\u5355\u8282\u70b9\u5b95\u673a&#xff09;\u5230\u590d\u6742\u6545\u969c&#xff08;\u7f51\u7edc\u5206\u533a\u3001\u8d44\u6e90\u8017\u5c3d&#xff09;\u9010\u6b65\u8fdb\u9636<br \/>\n\u2705 \u5b9e\u9a8c\u524d\u5fc5\u987b\u660e\u786e\u6545\u969c\u56de\u6eda\u9884\u6848<br \/>\n\u2705 \u914d\u5957\u76d1\u63a7\u5de5\u5177&#xff0c;\u63d0\u5347\u6545\u969c\u89c2\u6d4b\u80fd\u529b<\/p>\n<h4>1. Chaos Mesh\u90e8\u7f72\u540ePod\u72b6\u6001\u4e3aImagePullBackOff<\/h4>\n<p>\u539f\u56e0&#xff1a;\u955c\u50cf\u62c9\u53d6\u5931\u8d25&#xff0c;\u56fd\u5185\u7f51\u7edc\u65e0\u6cd5\u8bbf\u95ee\u5b98\u65b9\u955c\u50cf&#xff1b;<\/p>\n<p>\u89e3\u51b3&#xff1a;\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90\u91cd\u65b0\u90e8\u7f72&#xff1a;<\/p>\n<p># \u5378\u8f7d\u539f\u6709Chaos Mesh<br \/>\ncurl -sSL https:\/\/mirrors.chaos-mesh.org\/v2.5\/uninstall.sh | bash &#8211;<\/p>\n<p># \u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90\u90e8\u7f72<br \/>\ncurl -sSL https:\/\/mirrors.chaos-mesh.org\/v2.5\/install.sh | bash -s &#8212; &#8211;namespace&#061;chaos-mesh &#8211;image-registry&#061;registry.aliyuncs.com\/chaos-mesh<\/p>\n<h4>2. \u6ce8\u5165\u8282\u70b9\u5b95\u673a\u6545\u969c\u540e&#xff0c;\u8282\u70b9\u72b6\u6001\u672a\u53d8\u4e3aNotReady<\/h4>\n<p>\u539f\u56e0&#xff1a;Minikube\u8282\u70b9\u672a\u5f00\u542f\u7279\u6743\u6a21\u5f0f&#xff0c;Chaos Mesh\u65e0\u6743\u9650\u4fee\u6539\u8282\u70b9\u72b6\u6001&#xff1b;<\/p>\n<p>\u89e3\u51b3&#xff1a;\u91cd\u65b0\u542f\u52a8Minikube\u5e76\u5f00\u542f\u7279\u6743\u6a21\u5f0f&#xff1a;<\/p>\n<p>minikube stop &amp;&amp; minikube delete<br \/>\nminikube start &#8211;cpus&#061;2 &#8211;memory&#061;4096 &#8211;driver&#061;docker &#8211;addons&#061;ingress &#8211;privileged<\/p>\n<h4>3. \u6545\u969c\u6062\u590d\u540e&#xff0c;\u5e94\u7528Pod\u4ecd\u4e3aUnknown\u72b6\u6001<\/h4>\n<p>\u539f\u56e0&#xff1a;K8s\u8282\u70b9\u7f13\u5b58\u672a\u5237\u65b0&#xff1b;<\/p>\n<p>\u89e3\u51b3&#xff1a;\u624b\u52a8\u91cd\u542f\u5e94\u7528Deployment&#xff1a;<\/p>\n<p>kubectl rollout restart deployment nginx-demo -n demo-app<\/p>\n<h4>4. Chaos Mesh Dashboard\u65e0\u6cd5\u8bbf\u95ee<\/h4>\n<p>\u539f\u56e0&#xff1a;\u7aef\u53e3\u8f6c\u53d1\u5931\u8d25&#xff0c;\u6216\u670d\u52a1\u5668\u9632\u706b\u5899\u672a\u5f00\u653e8080\u7aef\u53e3&#xff1b;<\/p>\n<p>\u89e3\u51b3&#xff1a;<\/p>\n<li>\n<p>\u91cd\u65b0\u6267\u884c\u7aef\u53e3\u8f6c\u53d1\u547d\u4ee4&#xff1a;kubectl port-forward -n chaos-mesh svc\/chaos-dashboard 8080:2333 &#8211;address 0.0.0.0&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u5f00\u653e\u670d\u52a1\u56688080\u7aef\u53e3&#xff1a;sudo ufw allow 8080&#xff08;Linux&#xff09;\u3002<\/p>\n<\/li>\n<h4>5. \u6ce8\u5165\u6545\u969c\u540e&#xff0c;\u670d\u52a1\u672a\u6309\u9884\u671f\u6062\u590d<\/h4>\n<p>\u539f\u56e0&#xff1a;\u6545\u969c\u6301\u7eed\u65f6\u95f4\u914d\u7f6e\u8fc7\u957f&#xff0c;\u6216\u6545\u969c\u8d44\u6e90\u672a\u88ab\u6e05\u7406&#xff1b;<\/p>\n<p>\u89e3\u51b3&#xff1a;<\/p>\n<li>\n<p>\u624b\u52a8\u505c\u6b62\u6545\u969c&#xff08;Dashboard\/\u547d\u4ee4\u884c&#xff09;&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u6545\u969c\u8d44\u6e90\u662f\u5426\u6b8b\u7559&#xff1a;kubectl get nodechaos\/podchaos -n chaos-mesh&#xff0c;\u6b8b\u7559\u5219\u6267\u884cdelete\u5220\u9664\u3002<\/p>\n<\/li>\n<h4>\u53ef\u89c6\u5316\u5185\u5bb9\u6269\u5c55\u65b9\u6848<\/h4>\n<p>\u82e5\u9700\u63d0\u5347\u6587\u6863\u53ef\u89c6\u5316\u6548\u679c&#xff0c;\u53ef\u53c2\u8003\u4ee5\u4e0b\u65b9\u5f0f\u4f18\u5316&#xff1a;<\/p>\n<table>\n<tr>\u53ef\u89c6\u5316\u7c7b\u578b\u5b9e\u73b0\u5de5\u5177\/\u65b9\u6cd5<\/tr>\n<tbody>\n<tr>\n<td>\u7cbe\u7f8e\u67b6\u6784\u56fe<\/td>\n<td>ProcessOn\u3001Figma\u3001Draw.io&#xff0c;\u53ef\u5bfc\u51fa\u9ad8\u6e05\u77e2\u91cf\u56fe<\/td>\n<\/tr>\n<tr>\n<td>\u6d41\u7a0b\u52a8\u753b<\/td>\n<td>\u5c06Mermaid\u65f6\u5e8f\u56fe\u5bfc\u51fa\u4e3aSVG&#xff0c;\u901a\u8fc7Canva\u3001AE\u5236\u4f5c\u5206\u6b65\u52a8\u753b&#xff1b;\u6216\u4f7f\u7528Mermaid Live Editor\u751f\u6210\u52a8\u6001\u6f14\u793a<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u62a5\u8868<\/td>\n<td>\u7ed3\u5408ab\u538b\u6d4b\u5de5\u5177&#xff0c;\u7528Excel\u3001Grafana\u751f\u6210\u6545\u969c\u524d\u540e\u7684\u8bf7\u6c42\u6210\u529f\u7387\u3001\u54cd\u5e94\u65f6\u95f4\u5bf9\u6bd4\u62a5\u8868<\/td>\n<\/tr>\n<tr>\n<td>\u4ea4\u4e92\u5f0f\u6587\u6863<\/td>\n<td>\u5c06\u5185\u5bb9\u5bfc\u5165Notion\u3001\u8bed\u96c0&#xff0c;\u5b9e\u73b0\u56fe\u8868\u4e0e\u6587\u5b57\u7684\u8054\u52a8\u4ea4\u4e92<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u6838\u5fc3\u63d0\u8981<br \/>\n\u6df7\u6c8c\u5de5\u7a0b\u662f\u901a\u8fc7\u4e3b\u52a8\u6ce8\u5165\u53ef\u63a7\u6545\u969c&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u97e7\u6027\u4e0e\u6545\u969c\u81ea\u6108\u80fd\u529b\u7684\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u201c\u5728\u6545\u969c\u53d1\u751f\u524d\u53d1\u73b0\u7cfb\u7edf\u8106\u5f31\u70b9\u201d\u3002\u672c\u6b21\u5165\u95e8\u5b9e\u6218\u4ee5\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u4e3a\u6838\u5fc3\u573a\u666f&#xff0c;\u57fa\u4e8eChaos Mesh&#xff08;\u8f7b\u91cf\u7ea7\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177&#xff09; Kubernetes \u6280\u672f\u6808&#xff0c;\u4ece\u73af\u5883\u51c6\u5907\u3001\u6545\u969c\u5b9a\u4e49\u3001\u6f14\u7ec3\u6267\u884c\u3001\u7ed3\u679c\u5206\u6790\u5230\u590d\u76d8\u4f18\u5316&#xff0c;\u5b8c\u6574\u8986\u76d6\u6df7\u6c8c\u5de5\u7a0b\u6f14\u7ec3\u5168\u6d41\u7a0b&#xff0c;\u96f6\u57fa\u7840\u638c\u63e1\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u64cd\u4f5c&#xff0c;\u9a8c\u8bc1\u7cfb<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9175,120,44],"topic":[],"class_list":["post-82138","post","type-post","status-publish","format-standard","hentry","category-server","tag-chaos-mesh","tag-kubernetes","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/82138.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6838\u5fc3\u63d0\u8981 \u6df7\u6c8c\u5de5\u7a0b\u662f\u901a\u8fc7\u4e3b\u52a8\u6ce8\u5165\u53ef\u63a7\u6545\u969c&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u97e7\u6027\u4e0e\u6545\u969c\u81ea\u6108\u80fd\u529b\u7684\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u201c\u5728\u6545\u969c\u53d1\u751f\u524d\u53d1\u73b0\u7cfb\u7edf\u8106\u5f31\u70b9\u201d\u3002\u672c\u6b21\u5165\u95e8\u5b9e\u6218\u4ee5\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u4e3a\u6838\u5fc3\u573a\u666f&#xff0c;\u57fa\u4e8eChaos Mesh&#xff08;\u8f7b\u91cf\u7ea7\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177&#xff09; Kubernetes \u6280\u672f\u6808&#xff0c;\u4ece\u73af\u5883\u51c6\u5907\u3001\u6545\u969c\u5b9a\u4e49\u3001\u6f14\u7ec3\u6267\u884c\u3001\u7ed3\u679c\u5206\u6790\u5230\u590d\u76d8\u4f18\u5316&#xff0c;\u5b8c\u6574\u8986\u76d6\u6df7\u6c8c\u5de5\u7a0b\u6f14\u7ec3\u5168\u6d41\u7a0b&#xff0c;\u96f6\u57fa\u7840\u638c\u63e1\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u64cd\u4f5c&#xff0c;\u9a8c\u8bc1\u7cfb\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82138.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T22:37:11+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"29 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82138.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82138.html\",\"name\":\"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T22:37:11+00:00\",\"dateModified\":\"2026-07-24T22:37:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82138.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82138.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82138.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/82138.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6838\u5fc3\u63d0\u8981 \u6df7\u6c8c\u5de5\u7a0b\u662f\u901a\u8fc7\u4e3b\u52a8\u6ce8\u5165\u53ef\u63a7\u6545\u969c&#xff0c;\u9a8c\u8bc1\u7cfb\u7edf\u97e7\u6027\u4e0e\u6545\u969c\u81ea\u6108\u80fd\u529b\u7684\u5de5\u7a0b\u5b9e\u8df5&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u201c\u5728\u6545\u969c\u53d1\u751f\u524d\u53d1\u73b0\u7cfb\u7edf\u8106\u5f31\u70b9\u201d\u3002\u672c\u6b21\u5165\u95e8\u5b9e\u6218\u4ee5\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u4e3a\u6838\u5fc3\u573a\u666f&#xff0c;\u57fa\u4e8eChaos Mesh&#xff08;\u8f7b\u91cf\u7ea7\u6df7\u6c8c\u5de5\u7a0b\u5de5\u5177&#xff09; Kubernetes \u6280\u672f\u6808&#xff0c;\u4ece\u73af\u5883\u51c6\u5907\u3001\u6545\u969c\u5b9a\u4e49\u3001\u6f14\u7ec3\u6267\u884c\u3001\u7ed3\u679c\u5206\u6790\u5230\u590d\u76d8\u4f18\u5316&#xff0c;\u5b8c\u6574\u8986\u76d6\u6df7\u6c8c\u5de5\u7a0b\u6f14\u7ec3\u5168\u6d41\u7a0b&#xff0c;\u96f6\u57fa\u7840\u638c\u63e1\u6df7\u6c8c\u5de5\u7a0b\u6838\u5fc3\u64cd\u4f5c&#xff0c;\u9a8c\u8bc1\u7cfb","og_url":"https:\/\/www.wsisp.com\/helps\/82138.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T22:37:11+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"29 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82138.html","url":"https:\/\/www.wsisp.com\/helps\/82138.html","name":"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T22:37:11+00:00","dateModified":"2026-07-24T22:37:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82138.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82138.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82138.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5b9e\u6218\uff1a\u6df7\u6c8c\u5de5\u7a0b\u5165\u95e8\uff0c\u6a21\u62df\u670d\u52a1\u5668\u5b95\u673a\u7684\u6545\u969c\u6f14\u7ec3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=82138"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82138\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82138"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}