{"id":56495,"date":"2023-06-30T10:21:56","date_gmt":"2023-06-30T02:21:56","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=56495"},"modified":"2023-06-30T10:21:56","modified_gmt":"2023-06-30T02:21:56","slug":"devops-five-rules","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/devops-five-rules.html","title":{"rendered":"DevOps\u76d1\u63a7\u5fae\u670d\u52a1\u7684\u4e94\u539f\u5219"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u76d1\u63a7\u662f\u5fae\u670d\u52a1\u63a7\u5236\u7cfb\u7edf\u7684\u5173\u952e\u90e8\u5206\uff0c\u4f60\u7684\u8f6f\u4ef6\u8d8a\u590d\u6742\uff0c\u90a3\u4e48\u4f60\u5c31\u8d8a\u96be\u4e86\u89e3\u5176\u6027\u80fd\u53ca\u95ee\u9898\u6392\u969c\u3002\u9274\u4e8e\u8f6f\u4ef6\u4ea4\u4ed8\u53d1\u751f\u7684\u5de8\u5927\u6539\u53d8\uff0c\u76d1\u63a7\u7cfb\u7edf\u540c\u6837\u9700\u8981\u8fdb\u884c\u5f7b\u5e95\u7684\u6539\u9020\uff0c\u4ee5\u4fbf\u5728\u5fae\u670d\u52a1\u73af\u5883\u4e0b\u8868\u73b0\u66f4\u597d\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u6211\u4eec\u5bf9\u5fae\u670d\u52a1\u7684\u9700\u6c42\u53ef\u4ee5\u5f52\u7eb3\u4e3a\u4e00\u4e2a\u8bcd\uff1a\u901f\u5ea6\u3002\u8fd9\u79cd\u66f4\u5feb\u63d0\u4f9b\u529f\u80fd\u5b8c\u5584\u4e14\u53ef\u9760\u7684\u8f6f\u4ef6\u7684\u9700\u6c42\uff0c\u5f7b\u5e95\u6539\u53d8\u4e86\u8f6f\u4ef6\u5f00\u53d1\u6a21\u5f0f\u3002\u6beb\u65e0\u7591\u95ee\uff0c\u8fd9\u4e2a\u6539\u53d8\u5bf9\u8f6f\u4ef6\u7ba1\u7406\uff0c\u5305\u62ec\u7cfb\u7edf\u76d1\u63a7\u7684\u65b9\u5f0f\uff0c\u90fd\u4ea7\u751f\u4e86\u5f71\u54cd\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u91cc\uff0c\u6211\u4eec\u5c06\u91cd\u70b9\u5173\u6ce8\u653e\u5728\u6709\u6548\u5730\u76d1\u63a7\u4ea7\u54c1\u73af\u5883\u4e2d\u7684\u5fae\u670d\u52a1\u6240\u9700\u505a\u51fa\u7684\u4e3b\u8981\u6539\u53d8\u3002\u6211\u4eec\u5c06\u4e3a\u8fd9\u4e00\u65b0\u7684\u8f6f\u4ef6\u67b6\u6784\u62df\u5b9a 5 \u6761\u6307\u5bfc\u6027\u539f\u5219\u6765\u8c03\u6574\u4f60\u7684\u76d1\u63a7\u65b9\u6cd5\u3002<\/p>\n

\u76d1\u63a7\u662f\u5fae\u670d\u52a1\u63a7\u5236\u7cfb\u7edf\u7684\u5173\u952e\u90e8\u5206\uff0c\u4f60\u7684\u8f6f\u4ef6\u8d8a\u590d\u6742\uff0c\u90a3\u4e48\u4f60\u5c31\u8d8a\u96be\u4e86\u89e3\u5176\u6027\u80fd\u53ca\u95ee\u9898\u6392\u969c\u3002\u9274\u4e8e\u8f6f\u4ef6\u4ea4\u4ed8\u53d1\u751f\u7684\u5de8\u5927\u6539\u53d8\uff0c\u76d1\u63a7\u7cfb\u7edf\u540c\u6837\u9700\u8981\u8fdb\u884c\u5f7b\u5e95\u7684\u6539\u9020\uff0c\u4ee5\u4fbf\u5728\u5fae\u670d\u52a1\u73af\u5883\u4e0b\u8868\u73b0\u66f4\u597d\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u4ecb\u7ecd\u76d1\u63a7\u5fae\u670d\u52a1\u7684 5 \u6761\u539f\u5219\uff0c\u5982\u4e0b\uff1a<\/p>\n

    \n
  • \u76d1\u63a7\u5bb9\u5668\u53ca\u5176\u91cc\u9762\u7684\u4e1c\u897f\u3002<\/li>\n
  • \u5728\u670d\u52a1\u6027\u80fd\u4e0a\u505a\u76d1\u63a7\uff0c\u800c\u4e0d\u662f\u5bb9\u5668\u6027\u80fd\u3002<\/li>\n
  • \u76d1\u63a7\u5f39\u6027\u548c\u591a\u5730\u90e8\u7f72\u7684\u670d\u52a1\u3002<\/li>\n
  • \u76d1\u63a7 API\u3002<\/li>\n
  • \u5c06\u60a8\u7684\u76d1\u63a7\u6620\u5c04\u5230\u60a8\u7684\u7ec4\u7ec7\u7ed3\u6784\u3002<\/li>\n<\/ul>\n

    \u5229\u7528\u8fd9 5 \u6761\u539f\u5219\uff0c\u4f60\u53ef\u4ee5\u5728\u5411\u5fae\u670d\u52a1\u524d\u8fdb\u7684\u9053\u8def\u4e0a\uff0c\u5efa\u7acb\u66f4\u6709\u6548\u7684\u5bf9\u5fae\u670d\u52a1\u7684\u76d1\u63a7\u3002\u8fd9\u4e9b\u539f\u5219\uff0c\u53ef\u4ee5\u8ba9\u4f60\u5e94\u5bf9\u968f\u7740\u5fae\u670d\u52a1\u800c\u6765\u7684\u6280\u672f\u53d8\u5316\u548c\u7ec4\u7ec7\u53d8\u5316\u3002<\/p>\n

    \u5fae\u670d\u52a1\u76d1\u63a7\u7684\u539f\u5219<\/strong><\/div>\n
    1\u3001\u76d1\u63a7\u5bb9\u5668\u53ca\u5176\u91cc\u9762\u7684\u4e1c\u897f<\/strong><\/span><\/div>\n

    \u5bb9\u5668\u56e0\u6784\u5efa\u5fae\u670d\u52a1\u800c\u51f8\u663e\u5176\u91cd\u8981\u6027\uff0c\u5bb9\u5668\u7684\u901f\u5ea6\u3001\u53ef\u79fb\u690d\u6027\u548c\u9694\u79bb\u7279\u6027\u8ba9\u5f00\u53d1\u8005\u5f88\u5bb9\u6613\u5c31\u7231\u4e0a\u4e86\u5fae\u670d\u52a1\u6a21\u578b\u3002\u5bb9\u5668\u7684\u597d\u5904\u5df2\u7ecf\u5199\u7684\u591f\u591a\u4e86\uff0c\u6bcb\u5eb8\u8d58\u8ff0\u3002<\/p>\n

    \u5bb9\u5668\u5bf9\u4e8e\u5176\u5916\u56f4\u7684\u7cfb\u7edf\u6765\u8bf4\u5c31\u50cf\u662f\u9ed1\u76d2\u5b50\u3002\u8fd9\u5bf9\u4e8e\u5f00\u53d1\u6765\u8bf4\u5927\u6709\u88e8\u76ca\uff0c\u4ece\u5f00\u53d1\u73af\u5883\u5230\u751f\u4ea7\u73af\u5883\uff0c\u751a\u81f3\u4ece\u5f00\u53d1\u8005\u7684\u7b14\u8bb0\u672c\u5230\u4e91\u7aef\uff0c\u4e3a\u5b83\u4eec\u5e26\u6765\u9ad8\u5ea6\u7684\u53ef\u79fb\u690d\u6027\u3002\u4f46\u662f\u5f53\u8fd0\u884c\u8d77\u6765\u540e\uff0c\u76d1\u63a7\u548c\u89e3\u51b3\u670d\u52a1\u95ee\u9898\u65f6\uff0c\u8fd9\u4e2a\u9ed1\u76d2\u5b50\u8ba9\u5e38\u89c4\u7684\u65b9\u6cd5\u96be\u4ee5\u594f\u6548\u4e86\uff0c\u6211\u4eec\u4f1a\u60f3\uff1a\u5bb9\u5668\u91cc\u5230\u5e95\u5728\u8fd0\u884c\u7740\u4ec0\u4e48?\u7a0b\u5e8f\u548c\u4ee3\u7801\u8fd0\u884c\u6027\u80fd\u5982\u4f55?\u5b83\u6709\u4ec0\u4e48\u91cd\u8981\u7684\u8f93\u51fa\u6307\u6807\u5417?\u4ece DevOps \u7684\u89c6\u89d2\uff0c\u4f60\u9700\u8981\u5bf9\u5bb9\u5668\u6709\u66f4\u6df1\u7684\u4e86\u89e3\u800c\u4e0d\u662f\u4ec5\u4ec5\u77e5\u9053\u6709\u4e00\u4e9b\u5bb9\u5668\u7684\u5b58\u5728\u3002<\/p>\n

    \"\"<\/p>\n

    \u975e\u5bb9\u5668\u73af\u5883\u4e0b\u8861\u91cf\u7684\u5178\u578b\u505a\u6cd5\uff0c\u662f\u8ba9\u4e00\u4e2a\u4ee3\u7406\u7a0b\u5e8f\u8fd0\u884c\u5728\u4e3b\u673a\u6216\u8005\u865a\u673a\u4e0a\u7684\u7528\u6237\u7a7a\u95f4\u91cc\uff0c\u4f46\u8fd9\u5e76\u4e0d\u9002\u7528\u4e8e\u5bb9\u5668\u3002\u56e0\u4e3a\u5bb9\u5668\u7684\u4f18\u70b9\u662f\u5c0f\uff0c\u5c06\u5404\u79cd\u8fdb\u7a0b\u5206\u79bb\u5f00\u6765\uff0c\u5e76\u5c3d\u53ef\u80fd\u7684\u51cf\u5c11\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n

    \u800c\u4e14\uff0c\u4ece\u89c4\u6a21\u4e0a\u770b\uff0c\u6210\u5343\u4e0a\u4e07\u7684\u76d1\u6d4b\u4ee3\u7406\uff0c\u5bf9\u5373\u4f7f\u662f\u4e00\u4e2a\u4e2d\u7b49\u5927\u5c0f\u7684\u90e8\u7f72\u90fd\u662f\u4e00\u4e2a\u6602\u8d35\u7684\u8d44\u6e90\u6d6a\u8d39\u548c\u7ba1\u7406\u7684\u5669\u68a6\u3002\u5bf9\u4e8e\u5bb9\u5668\u6709\u4e24\u4e2a\u6f5c\u5728\u7684\u89e3\u51b3\u65b9\u6848\uff1a1)\u8981\u6c42\u4f60\u7684\u5f00\u53d1\u4eba\u5458\u76f4\u63a5\u76d1\u63a7\u4ed6\u4eec\u7684\u4ee3\u7801\uff0c\u6216\u80052)\u5229\u7528\u4e00\u4e2a\u901a\u7528\u7684\u5185\u6838\u7ea7\u7684\u68c0\u6d4b\u65b9\u6cd5\u6765\u67e5\u770b\u4e3b\u673a\u4e0a\u7684\u6240\u6709\u5e94\u7528\u7a0b\u5e8f\u548c\u5bb9\u5668\u6d3b\u52a8\u3002\u8fd9\u91cc\u6211\u4eec\u4e0d\u4f1a\u6df1\u5165\u8bf4\u660e\uff0c\u4f46\u6bcf\u4e00\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\u548c\u7f3a\u70b9\u3002<\/p>\n

    2\u3001 \u5229\u7528\u4e1a\u52a1\u6d41\u7a0b\u7cfb\u7edf\u63d0\u9192\u670d\u52a1\u6027\u80fd<\/strong><\/span><\/div>\n

    \u7406\u89e3\u5bb9\u5668\u5bb9\u5668\u4e2d\u7684\u8fd0\u884c\u6570\u636e\u5e76\u4e0d\u5bb9\u6613\uff0c\u4e00\u4e2a\u5355\u4e00\u5bb9\u5668\u76f8\u6bd4\u7ec4\u6210\u4e00\u4e2a\u529f\u80fd\u6216\u670d\u52a1\u7684\u5bb9\u5668\u805a\u5408\uff0c\u6d4b\u91cf\u590d\u6742\u5ea6\u8981\u4f4e\u5f97\u591a\u3002<\/p>\n

    \u8fd9\u7279\u522b\u9002\u7528\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7ea7\u522b\u7684\u4fe1\u606f\uff0c\u6bd4\u5982\u54ea\u4e2a\u8bf7\u6c42\u62e5\u6709\u6700\u77ed\u54cd\u5e94\u65f6\u95f4\uff0c\u6216\u8005\u54ea\u4e9b URL \u9047\u5230\u6700\u591a\u7684\u9519\u8bef\uff0c\u4f46\u5b83\u540c\u6837\u4e5f\u9002\u7528\u4e8e\u67b6\u6784\u7ea7\u522b\u7684\u76d1\u6d4b\uff0c\u6bd4\u5982\u54ea\u4e2a\u670d\u52a1\u7684\u5bb9\u5668\u4f7f\u7528 CPU \u8d44\u6e90\u8d85\u8fc7\u4e86\u4e8b\u5148\u5206\u914d\u7684\u8d44\u6e90\u6570\u3002<\/p>\n

    \u8d8a\u6765\u8d8a\u591a\u7684\u8f6f\u4ef6\u90e8\u7f72\u9700\u8981\u4e00\u4e2a\u7f16\u6392\u7cfb\u7edforchestration system\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u7684\u903b\u8f91\u89c4\u5212\u8f6c\u5316\u5230\u7269\u7406\u7684\u5bb9\u5668\u4e2d\u3002\u5e38\u89c1\u7684\u7f16\u6392\u7cfb\u7edf\u5305\u62ec Kubernetes\u3001Mesosphere DC\/OS \u548c Docker Swarm\u3002\u56e2\u961f\u53ef\u4ee5\u7528\u4e00\u4e2a\u7f16\u6392\u7cfb\u7edf\u6765(1)\u5b9a\u4e49\u5fae\u670d\u52a1(2)\u7406\u89e3\u90e8\u7f72\u7684\u6bcf\u4e2a\u670d\u52a1\u7684\u5f53\u524d\u72b6\u6001\u3002\u4f60\u53ef\u4ee5\u8ba4\u4e3a\u7f16\u6392\u7cfb\u7edf\u751a\u81f3\u6bd4\u5bb9\u5668\u8fd8\u91cd\u8981\u3002\u5bb9\u5668\u662f\u77ed\u6682\u7684\uff0c\u53ea\u6709\u6ee1\u8db3\u4f60\u7684\u670d\u52a1\u9700\u6c42\u624d\u4f1a\u5b58\u5728\u3002<\/p>\n

    DevOps \u56e2\u961f\u5e94\u8be5\u5c06\u544a\u8b66\u91cd\u70b9\u653e\u5230\u8fd0\u884c\u7279\u5f81\u4e0a\uff0c\u4ee5\u5c3d\u53ef\u80fd\u8d34\u8fd1\u76d1\u63a7\u670d\u52a1\u7684\u4f53\u9a8c\u3002\u5982\u679c\u5e94\u7528\u53d7\u5230\u4e86\u5f71\u54cd\uff0c\u8fd9\u4e9b\u544a\u8b66\u662f\u8bc4\u4f30\u4e8b\u6001\u7684\u7b2c\u4e00\u9053\u9632\u7ebf\u3002\u4f46\u662f\u83b7\u5f97\u8fd9\u4e9b\u544a\u8b66\u5e76\u4e0d\u5bb9\u6613\uff0c\u9664\u975e\u4f60\u7684\u76d1\u63a7\u7cfb\u7edf\u662f\u57fa\u4e8e\u539f\u751f\u4e8e\u5bb9\u5668\u7684\u3002<\/p>\n

    \u539f\u751f\u5bb9\u5668Container-native\u89e3\u51b3\u65b9\u6848\u5229\u7528\u7f16\u6392\u5143\u6570\u636eorchestration metadata\u6765\u52a8\u6001\u805a\u5408\u5bb9\u5668\u548c\u5e94\u7528\u7a0b\u5e8f\u6570\u636e\uff0c\u5e76\u6309\u6bcf\u4e2a\u670d\u52a1\u8ba1\u7b97\u76d1\u63a7\u5ea6\u91cf\u3002\u6839\u636e\u60a8\u7684\u7f16\u6392\u5de5\u5177\uff0c\u60a8\u53ef\u80fd\u60f3\u5728\u4e0d\u540c\u5c42\u6b21\u8fdb\u884c\u6df1\u5165\u68c0\u6d4b\u3002\u6bd4\u5982\uff0c\u5728 Kubernetes \u91cc\uff0c\u4f60\u901a\u5e38\u6709 Namespace\u3001ReplicaSet\u3001Pod \u548c\u4e00\u4e9b\u5176\u4ed6\u5bb9\u5668\u3002\u805a\u5408\u8fd9\u4e9b\u4e0d\u540c\u7684\u5c42\uff0c\u5bf9\u6392\u9664\u903b\u8f91\u6545\u969c\u662f\u5f88\u6709\u5fc5\u8981\u7684\uff0c\u4e0e\u6784\u6210\u670d\u52a1\u7684\u5bb9\u5668\u7684\u7269\u7406\u90e8\u7f72\u65e0\u5173\u3002<\/p>\n

    \"\"<\/p>\n

    3\u3001 \u76d1\u63a7\u5f39\u6027Elastic\u548c\u591a\u5730\u90e8\u7f72Multi-Location\u7684\u670d\u52a1<\/strong><\/span><\/div>\n

    \u5f39\u6027\u670d\u52a1\u4e0d\u662f\u4e00\u4e2a\u65b0\u6982\u5ff5\uff0c\u4f46\u662f\u5b83\u5728\u539f\u751f\u5bb9\u5668\u73af\u5883\u4e2d\u7684\u53d8\u5316\u901f\u5ea6\u6bd4\u5728\u865a\u62df\u73af\u5883\u4e2d\u5feb\u7684\u591a\u3002\u8fc5\u901f\u7684\u53d8\u5316\u4f1a\u4e25\u91cd\u5f71\u54cd\u68c0\u6d4b\u7cfb\u7edf\u7684\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

    \u76d1\u6d4b\u4f20\u7edf\u7684\u7cfb\u7edf\u7ecf\u5e38\u9700\u8981\u6839\u636e\u8f6f\u4ef6\u90e8\u7f72\uff0c\u624b\u52a8\u8c03\u6574\u68c0\u67e5\u6307\u6807\u3002\u8fd9\u79cd\u8c03\u6574\u53ef\u4ee5\u662f\u5177\u4f53\u7684\uff0c\u5982\u5b9a\u4e49\u8981\u6355\u83b7\u7684\u5355\u4e2a\u6307\u6807\uff0c\u6216\u57fa\u4e8e\u5e94\u7528\u7a0b\u5e8f\u5728\u4e00\u4e2a\u7279\u5b9a\u7684\u5bb9\u5668\u4e2d\u7684\u64cd\u4f5c\u914d\u7f6e\u8981\u6536\u96c6\u7684\u6570\u636e\u3002\u5728\u5c0f\u89c4\u6a21\u4e0a(\u6bd4\u5982\u51e0\u5341\u4e2a\u5bb9\u5668)\u6211\u4eec\u53ef\u4ee5\u63a5\u53d7\uff0c\u4f46\u662f\u518d\u5927\u89c4\u6a21\u5c31\u96be\u4ee5\u627f\u53d7\u4e86\u3002\u5fae\u670d\u52a1\u7684\u96c6\u4e2d\u76d1\u63a7\u5fc5\u987b\u80fd\u591f\u81ea\u7531\u7684\u968f\u5f39\u6027\u670d\u52a1\u800c\u589e\u957f\u548c\u7f29\u51cf\uff0c\u65e0\u9700\u4eba\u5de5\u5e72\u9884\u3002<\/p>\n

    \u6bd4\u5982\uff0c\u5982\u679c DevOps \u56e2\u961f\u5fc5\u987b\u624b\u52a8\u5b9a\u4e49\u5bb9\u5668\u5305\u542b\u54ea\u4e2a\u670d\u52a1\u9700\u8981\u76d1\u63a7\uff0c\u4ed6\u4eec\u6beb\u65e0\u7591\u95ee\u4f1a\u5931\u624b\uff0c\u56e0\u4e3a Kubernetes \u6216\u8005 Mesos \u6bcf\u5929\u90fd\u4f1a\u5b9a\u671f\u521b\u5efa\u65b0\u7684\u5bb9\u5668\u3002\u540c\u6837\uff0c\u5982\u679c\u4ee3\u7801\u53d1\u5e03\u5e76\u7f6e\u4e8e\u751f\u4ea7\u73af\u5883\u65f6\u8981\u6c42\u8fd0\u7ef4\u56e2\u961f\u5b89\u88c5\u4e00\u4e2a\u5b9a\u5236\u7684\u72b6\u6001\u7aef\u70b9custom stats endpoint\uff0c\u4e5f\u7ed9\u5f00\u53d1\u8005\u4ece Docker \u4ed3\u5e93\u83b7\u53d6\u57fa\u7840\u955c\u50cf\u5e26\u6765\u66f4\u591a\u7684\u6311\u6218\u3002<\/p>\n

    \u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u5efa\u7acb\u9762\u5411\u8de8\u8d8a\u591a\u4e2a\u6570\u636e\u4e2d\u5fc3\u6216\u591a\u4e2a\u4e91\u7684\u590d\u6742\u90e8\u7f72\u7684\u76d1\u63a7\uff0c\u6bd4\u5982\uff0c\u5982\u679c\u4f60\u7684\u670d\u52a1\u8de8\u8d8a\u79c1\u6709\u6570\u636e\u4e2d\u5fc3\u548c AWS\uff0c\u90a3\u4e48\u4e9a\u9a6c\u900a\u7684 AWS CloudWatch \u5c31\u5f88\u96be\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u8fd9\u5c31\u8981\u6c42\u6211\u4eec\u5efa\u7acb\u4e00\u4e2a\u8de8\u4e0d\u540c\u5730\u57df\u7684\u76d1\u63a7\u7cfb\u7edf\uff0c\u5e76\u53ef\u5728\u52a8\u6001\u7684\u539f\u751f\u5bb9\u5668\u73af\u5883\u4e0b\u8fd0\u884c\u3002<\/p>\n

    4\u3001 \u76d1\u63a7 API<\/strong><\/span><\/div>\n

    \u5728\u5fae\u670d\u52a1\u73af\u5883\u4e2d\uff0cAPI \u63a5\u53e3\u662f\u901a\u7528\u7684\u3002\u672c\u8d28\u4e0a\uff0c\u5b83\u4eec\u662f\u5c06\u670d\u52a1\u66b4\u9732\u7ed9\u5176\u5b83\u56e2\u961f\u7684\u552f\u4e00\u7ec4\u4ef6\u3002\u4e8b\u5b9e\u4e0a\uff0cAPI \u7684\u54cd\u5e94\u548c\u4e00\u81f4\u6027\u53ef\u4ee5\u770b\u4f5c\u662f\u201c\u5185\u90e8 SLA\u201d\uff0c\u5373\u4f7f\u8fd8\u6ca1\u6709\u5b9a\u4e49\u4e00\u4e2a\u6b63\u5f0f\u7684 SLA(\u670d\u52a1\u7b49\u7ea7\u534f\u8bae)\u3002<\/p>\n

    \u56e0\u6b64\uff0cAPI \u63a5\u53e3\u7684\u76d1\u63a7\u4e5f\u662f\u5fc5\u8981\u7684\u3002API \u76d1\u63a7\u53ef\u4ee5\u6709\u4e0d\u540c\u7684\u5f62\u5f0f\uff0c\u4f46\u662f\u5f88\u663e\u7136\u5b83\u7edd\u5bf9\u4e0d\u662f\u7b80\u5355\u7684\u4e8c\u8fdb\u5236\u4e0a\u4e0b\u68c0\u67e5\u3002\u4f8b\u5982\uff0c\u4e86\u89e3\u50cf\u65f6\u95f4\u51fd\u6570\u8fd9\u6837\u7684\u6700\u5e38\u4f7f\u7528\u7684\u7aef\u70b9endpoint\u662f\u6709\u4ef7\u503c\u7684\u3002\u8fd9\u4f7f\u5f97\u56e2\u961f\u53ef\u4ee5\u770b\u5230\u670d\u52a1\u4f7f\u7528\u7684\u53d8\u5316\uff0c\u65e0\u8bba\u662f\u7531\u4e8e\u8bbe\u8ba1\u53d8\u66f4\u6216\u7528\u6237\u7684\u6539\u53d8\u3002<\/p>\n

    \u4f60\u4e5f\u53ef\u4ee5\u8bb0\u5f55\u670d\u52a1\u6700\u7f13\u6162\u7684\u7aef\u70b9\uff0c\u8fd9\u4e9b\u53ef\u80fd\u63ed\u793a\u51fa\u91cd\u5927\u7684\u95ee\u9898\uff0c\u6216\u8005\u81f3\u5c11\u6307\u5411\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u505a\u4f18\u5316\u7684\u533a\u57df\u3002<\/p>\n

    \u6700\u540e\uff0c\u8ddf\u8e2a\u7cfb\u7edf\u670d\u52a1\u54cd\u5e94\u7684\u80fd\u529b\u662f\u53e6\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u80fd\u529b\uff0c\u5b83\u4e3b\u8981\u662f\u5f00\u53d1\u8005\u4f7f\u7528\uff0c\u4e5f\u80fd\u5e2e\u52a9\u4f60\u4e86\u89e3\u6574\u4f53\u7528\u6237\u4f53\u9a8c\uff0c\u540c\u65f6\u5c06\u4fe1\u606f\u57fa\u4e8e\u5e95\u5c42\u548c\u5e94\u7528\u7a0b\u5e8f\u89c6\u89d2\u5206\u6210\u4e24\u5927\u90e8\u5206\u3002<\/p>\n

    5\u3001 \u5c06\u60a8\u7684\u76d1\u63a7\u6620\u5c04\u5230\u60a8\u7684\u7ec4\u7ec7\u7ed3\u6784<\/strong><\/span><\/div>\n

    \u8fd9\u7bc7\u6587\u7ae0\u7740\u91cd\u5728\u5fae\u670d\u52a1\u548c\u76d1\u63a7\u4e0a\uff0c\u50cf\u5176\u4ed6\u79d1\u6280\u6587\u7ae0\u4e00\u6837\uff0c\u8fd9\u662f\u56e0\u4e3a\u5f88\u591a\u4eba\u90fd\u5173\u6ce8\u6b64\u5c42\u9762\u3002<\/p>\n

    \u5bf9\u4e8e\u90a3\u4e9b\u719f\u6089\u5eb7\u5a01\u5b9a\u5f8bConway\u2019s law\u7684\u4eba\u6765\u8bf4\uff0c\u7cfb\u7edf\u7684\u8bbe\u8ba1\u662f\u57fa\u4e8e\u5f00\u53d1\u56e2\u961f\u7684\u7ec4\u7ec7\u7ed3\u6784\u3002\u521b\u9020\u66f4\u5feb\uff0c\u66f4\u654f\u6377\u7684\u8f6f\u4ef6\u7684\u538b\u529b\u63a8\u52a8\u4e86\u56e2\u961f\u53bb\u601d\u8003\u91cd\u65b0\u8c03\u6574\u4ed6\u4eec\u7684\u5f00\u53d1\u7ec4\u7ec7\u548c\u7ba1\u7406\u5b83\u7684\u89c4\u5219\u3002
    \n\"\"
    \n\u6240\u4ee5\uff0c\u5982\u679c\u4ed6\u4eec\u60f3\u4ece\u8fd9\u4e2a\u65b0\u7684\u8f6f\u4ef6\u67b6\u6784(\u5fae\u670d\u52a1)\u4e0a\u83b7\u76ca\uff0c\u4ed6\u4eec\u7684\u56e2\u961f\u5fc5\u987b\u5c06\u5fae\u670d\u52a1\u6620\u5c04\u5230\u56e2\u961f\u81ea\u8eab\u4e2d\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u4ed6\u4eec\u9700\u8981\u66f4\u5c0f\u7684\u66f4\u677e\u6563\u8026\u5408\u7684\u56e2\u961f\uff0c\u53ef\u4ee5\u9009\u62e9\u81ea\u5df1\u7684\u65b9\u5411\u53ea\u8981\u80fd\u591f\u6ee1\u8db3\u6574\u4e2a\u9700\u6c42\u5373\u53ef\u3002\u5728\u6bcf\u4e00\u4e2a\u56e2\u961f\u4e2d\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8bed\u8a00\u7684\u4f7f\u7528\uff0cbug \u7684\u63d0\u4ea4\u751a\u81f3\u5de5\u4f5c\u804c\u8d23\u90fd\u4f1a\u6709\u66f4\u5927\u7684\u63a7\u5236\u80fd\u529b\u3002<\/p>\n

    DevOps \u56e2\u961f\u5bf9\u6b64\u53ef\u4ee5\u542f\u7528\u4e00\u4e2a\u76d1\u63a7\u5e73\u53f0\uff1a\u8ba9\u6bcf\u4e00\u4e2a\u5fae\u670d\u52a1\u56e2\u961f\u53ef\u4ee5\u6709\u81ea\u5df1\u7684\u8b66\u62a5\uff0c\u5ea6\u91cf\u6307\u6807\uff0c\u548c\u63a7\u5236\u9762\u677f\uff0c\u540c\u65f6\u4e5f\u8981\u7ed9\u51fa\u6574\u4f53\u7cfb\u7edf\u7684\u89c6\u56fe\u3002<\/p>\n

    \u603b\u7ed3<\/strong><\/div>\n

    \u8ba9\u5fae\u670d\u52a1\u6d41\u884c\u8d77\u6765\u7684\u662f\u5feb\u6377\u3002\u5f00\u53d1\u7ec4\u7ec7\u8981\u60f3\u66f4\u5feb\u7684\u4e3a\u5ba2\u6237\u63d0\u4f9b\u66f4\u591a\u7684\u529f\u80fd\uff0c\u7136\u540e\u5fae\u670d\u52a1\u6280\u672f\u5c31\u6765\u4e86\uff0c\u67b6\u6784\u8f6c\u5411\u5fae\u670d\u52a1\u5e76\u4e14\u5bb9\u5668\u7684\u6d41\u884c\u8ba9\u5feb\u6377\u5f00\u53d1\u6210\u4e3a\u53ef\u80fd\uff0c\u6240\u6709\u76f8\u5173\u7684\u8fdb\u7a0b\u7406\u6240\u5f53\u7136\u7684\u642d\u4e0a\u4e86\u8fd9\u8f86\u706b\u8f66\u3002<\/p>\n

    \u6700\u540e\uff0c\u57fa\u672c\u7684\u76d1\u63a7\u539f\u5219\u9700\u8981\u9002\u5e94\u4f34\u968f\u5fae\u670d\u52a1\u800c\u6765\u7684\u6280\u672f\u548c\u7ed3\u6784\u3002\u8d8a\u65e9\u8ba4\u8bc6\u5230\u8fd9\u79cd\u8f6c\u53d8\u7684\u5f00\u53d1\u56e2\u961f\uff0c\u80fd\u66f4\u65e9\u66f4\u5bb9\u6613\u7684\u9002\u5e94\u5fae\u670d\u52a1\u8fd9\u4e00\u65b0\u7684\u67b6\u6784\u3002<\/p>\n

    \n

    \u539f\u6587\u6765\u81ea\uff1ahttp:\/\/os.51cto.com\/art\/201612\/525389.htm<\/a><\/p>\n

    \u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/devops-five-rules.html<\/a>\u7f16\u8f91\uff1a\u70e8\u5b50\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

    \u5bfc\u8bfb \u76d1\u63a7\u662f\u5fae\u670d\u52a1\u63a7\u5236\u7cfb\u7edf\u7684\u5173\u952e\u90e8\u5206\uff0c\u4f60\u7684\u8f6f\u4ef6\u8d8a\u590d\u6742\uff0c\u90a3\u4e48\u4f60\u5c31\u8d8a\u96be\u4e86\u89e3\u5176\u6027\u80fd\u53ca\u95ee\u9898\u6392\u969c\u3002\u9274\u4e8e\u8f6f\u4ef6\u4ea4\u4ed8\u53d1\u751f\u7684\u5de8\u5927 […]<\/p>\n","protected":false},"author":63,"featured_media":56500,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-56495","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/56495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=56495"}],"version-history":[{"count":7,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/56495\/revisions"}],"predecessor-version":[{"id":276230,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/56495\/revisions\/276230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/56500"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=56495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=56495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=56495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}