{"id":192534,"date":"2020-06-09T11:12:06","date_gmt":"2020-06-09T03:12:06","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=192534"},"modified":"2020-05-26T09:14:25","modified_gmt":"2020-05-26T01:14:25","slug":"kubernetes-docker","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/kubernetes-docker.html","title":{"rendered":"\u5907\u4efdKubernetes\u548cDocker\u65b9\u6cd5"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u7528\u6237\u4e0d\u5fc5\u5907\u4efd\u5bb9\u5668\u4e2d\u7684\u6240\u6709\u5185\u5bb9\uff0c\u4f46\u5728\u53d1\u751f\u707e\u96be\u65f6\u5907\u4efd\u8fd0\u884c\u548c\u7ba1\u7406\u5bb9\u5668\u7684\u914d\u7f6e\u662f\u5f88\u91cd\u8981\u7684\u3002\u7528\u6237\u7684\u5bb9\u5668\u57fa\u7840\u8bbe\u65bd\u9700\u8981\u67d0\u79cd\u7c7b\u578b\u7684\u5907\u4efd\u3002Kubernetes\u548cDocker\u5728\u707e\u96be\u4e4b\u540e\u4e0d\u4f1a\u81ea\u5df1\u6784\u5efa\u3002\u7528\u6237\u65e0\u9700\u5907\u4efd\u6bcf\u4e2a\u5bb9\u5668\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u4f46\u662f\u9700\u8981\u5907\u4efd\u7528\u4e8e\u8fd0\u884c\u548c\u7ba1\u7406\u5bb9\u5668\u7684\u914d\u7f6e\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u7528\u6237\u7684\u5bb9\u5668\u57fa\u7840\u8bbe\u65bd\u9700\u8981\u67d0\u79cd\u7c7b\u578b\u7684\u5907\u4efd\u3002Kubernetes\u548cDocker\u5728\u707e\u96be\u4e4b\u540e\u4e0d\u4f1a\u81ea\u5df1\u6784\u5efa\u3002\u7528\u6237\u65e0\u9700\u5907\u4efd\u6bcf\u4e2a\u5bb9\u5668\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u4f46\u662f\u9700\u8981\u5907\u4efd\u7528\u4e8e\u8fd0\u884c\u548c\u7ba1\u7406\u5bb9\u5668\u7684\u914d\u7f6e\u3002<\/p>\n

\u4ee5\u4e0b\u662f\u7528\u6237\u9700\u8981\u5907\u4efd\u7684\u5185\u5bb9\u3002<\/p>\n

\u914d\u7f6e\u548c\u6240\u9700\u72b6\u6001\u4fe1\u606f<\/strong><\/div>\n
  • Dockerfile\u7528\u4e8e\u6784\u5efa\u9571\u50cf\u4ee5\u53ca\u8fd9\u4e9b\u6587\u4ef6\u7684\u6240\u6709\u7248\u672c<\/li>\n
  • \u4eceDockerfile\u521b\u5efa\u5e76\u7528\u4e8e\u8fd0\u884c\u6bcf\u4e2a\u5bb9\u5668\u7684\u955c\u50cf<\/li>\n
  • Kubernetes etcd\u548c\u5176\u4ed6\u6709\u5173\u96c6\u7fa4\u72b6\u6001\u7684K8s\u6570\u636e\u5e93<\/li>\n
  • Deployments\u7528\u4e8e\u63cf\u8ff0\u6bcf\u4e2a\u90e8\u7f72\u7684YAML\u6587\u4ef6<\/li>\n
    \u5bb9\u5668\u521b\u5efa\u6216\u66f4\u6539\u7684\u6301\u4e45\u6570\u636e<\/strong><\/div>\n
  • \u6301\u4e45\u5377<\/li>\n
  • \u6570\u636e\u5e93<\/li>\n
    Dockerfiles<\/strong><\/div>\n

    Docker\u5bb9\u5668\u4ece\u955c\u50cf\u8fd0\u884c\uff0c\u5176\u955c\u50cf\u4eceDockerfiles\u6784\u5efa\u3002\u6b63\u786e\u7684Docker\u914d\u7f6e\u5c06\u9996\u5148\u4f7f\u7528\u67d0\u79cd\u5b58\u50a8\u5e93(\u4f8b\u5982GitHub)\u4f5c\u4e3a\u6240\u6709Dockerfile\u7684\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3002\u4e0d\u8981\u4f7f\u7528\u4ece\u4e34\u65f6Dockerfile\u6784\u5efa\u7684\u4e34\u65f6\u955c\u50cf\u521b\u5efa\u4e34\u65f6\u5bb9\u5668\u3002\u6240\u6709Dockerfile\u90fd\u5e94\u5b58\u50a8\u5728\u5b58\u50a8\u5e93\u4e2d\uff0c\u5982\u679c\u5f53\u524d\u7248\u672c\u5b58\u5728\u95ee\u9898\uff0c\u8be5\u5b58\u50a8\u5e93\u5c06\u5141\u8bb8\u7528\u6237\u63d0\u53d6\u8fd9\u4e2aDockerfile\u7684\u5386\u53f2\u7248\u672c\u3002<\/p>\n

    \u7528\u6237\u8fd8\u5e94\u8be5\u5177\u6709\u5b58\u50a8\u4e0e\u6bcf\u4e2aK8s\u90e8\u7f72\u5173\u8054\u7684YAML\u6587\u4ef6\u7684\u67d0\u79cd\u5b58\u50a8\u5e93\uff0c\u8fd9\u4e9b\u662f\u53ef\u4ee5\u4ece\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u4e2d\u53d7\u76ca\u7684\u6587\u672c\u6587\u4ef6\u3002<\/p>\n

    \u7136\u540e\u9700\u8981\u5907\u4efd\u8fd9\u4e9b\u5b58\u50a8\u5e93\u3002GitHub\u662f\u6bd4\u8f83\u53d7\u6b22\u8fce\u7684\u5b58\u50a8\u5e93\u4e4b\u4e00\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u5907\u4efd\u5b58\u50a8\u5e93\u7684\u65b9\u6cd5\u3002\u6709\u591a\u79cd\u811a\u672c\u4f7f\u7528\u63d0\u4f9b\u7684API\u6765\u4e0b\u8f7d\u5b58\u50a8\u5e93\u7684\u5f53\u524d\u5907\u4efd\u3002\u7528\u6237\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9\u5546\u4e1a\u5de5\u5177\u6765\u5907\u4efdGitHub\u6216\u7528\u6237\u6b63\u5728\u4f7f\u7528\u7684\u4efb\u4f55\u5b58\u50a8\u5e93\u3002<\/p>\n

    \u5982\u679c\u6ca1\u6709\u9075\u5faa\u4e0a\u8ff0\u5efa\u8bae\uff0c\u800c\u662f\u6839\u636e\u4e0d\u518d\u5177\u6709Dockerfile\u7684\u955c\u50cf\u8fd0\u884c\u5bb9\u5668\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528Docker \u955c\u50cf\u5386\u53f2\u547d\u4ee4\u6216dfimage\u4e4b\u7c7b\u7684\u5de5\u5177\u4ece\u5f53\u524d\u955c\u50cf\u521b\u5efaDockerfile\u3002\u5c06\u8fd9\u4e9bDockerfile\u653e\u5165\u5b58\u50a8\u5e93\u4e2d\uff0c\u7136\u540e\u5f00\u59cb\u5907\u4efd\u3002\u4f46\u662f\u4e0d\u8981\u9677\u5165\u8fd9\u79cd\u60c5\u51b5\uff0c\u5e94\u8be5\u59cb\u7ec8\u5b58\u50a8\u548c\u5907\u4efd\u7528\u4e8e\u521b\u5efa\u73af\u5883\u7684Dockerfile\u548cYAML\u6587\u4ef6\u3002<\/p>\n

    Docker\u955c\u50cf<\/strong><\/div>\n

    \u7528\u4e8e\u8fd0\u884c\u5bb9\u5668\u7684\u5f53\u524d\u955c\u50cf\u4e5f\u5e94\u5b58\u50a8\u5728\u5b58\u50a8\u5e93\u4e2d(\u5f53\u7136\uff0c\u5982\u679c\u7528\u6237\u6b63\u5728Kubernetes\u4e2d\u8fd0\u884cDocker\u955c\u50cf\uff0c\u90a3\u4e48\u5df2\u7ecf\u5728\u8fd9\u6837\u505a\u4e86)\u3002\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u79c1\u6709\u5b58\u50a8\u5e93(\u4f8b\u5982Docker\u6ce8\u518c\u8868)\u6216\u516c\u5171\u5b58\u50a8\u5e93(\u4f8b\u5982Dockerhub)\u3002\u4e91\u8ba1\u7b97\u63d0\u4f9b\u5546\u8fd8\u53ef\u4ee5\u4e3a\u7528\u6237\u63d0\u4f9b\u79c1\u4eba\u5b58\u50a8\u5e93\u6765\u5b58\u50a8\u955c\u50cf\u3002\u7136\u540e\u5e94\u5907\u4efd\u8be5\u56de\u8d2d\u7684\u5185\u5bb9\u3002\u8bf8\u5982\u201cDockerhub\u5907\u4efd\u201d\u4e4b\u7c7b\u7684\u7b80\u5355\u641c\u7d22\u5c31\u53ef\u4ee5\u4ea7\u751f\u4ee4\u4eba\u60ca\u8bb6\u7684\u4f17\u591a\u9009\u62e9\u3002<\/p>\n

    \u5982\u679c\u7528\u6237\u6ca1\u6709\u7528\u4e8e\u8fd0\u884c\u5bb9\u5668\u7684\u5f53\u524d\u955c\u50cf\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528docker commit\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u3002\u7136\u540e\uff0c\u4f7f\u7528Docker\u955c\u50cf\u5386\u53f2\u8bb0\u5f55\u6216\u5de5\u5177dfimage\u4ece\u8be5\u955c\u50cf\u521b\u5efaDockerfile\u3002<\/p>\n

    Kubernetes etcd<\/p>\n

    Kubernetes etcd\u6570\u636e\u5e93\u975e\u5e38\u91cd\u8981\uff0c\u5e94\u4f7f\u7528etcdctl snapshot save db\u547d\u4ee4\u8fdb\u884c\u5907\u4efd\u3002\u8fd9\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4e2d\u521b\u5efa\u6587\u4ef6snapshot.db\u3002\u7136\u540e\u5e94\u5c06\u8be5\u6587\u4ef6\u5907\u4efd\u5230\u5916\u90e8\u5b58\u50a8\u3002<\/p>\n

    \u5982\u679c\u4f7f\u7528\u7684\u662f\u5546\u4e1a\u5907\u4efd\u8f6f\u4ef6\uff0c\u5219\u53ef\u4ee5\u5728\u521b\u5efasnapshot.db\u7684\u76ee\u5f55\u5907\u4efd\u4e4b\u524d\u8f7b\u677e\u89e6\u53d1etcdctl snapshot save\u547d\u4ee4\u3002\u8fd9\u662f\u5c06\u5907\u4efd\u96c6\u6210\u5230\u5546\u4e1a\u5907\u4efd\u73af\u5883\u4e2d\u7684\u4e00\u79cd\u65b9\u6cd5\u3002<\/p>\n

    \u6301\u4e45\u5377<\/strong><\/div>\n

    \u5bb9\u5668\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u8bbf\u95ee\u200b\u200b\u6301\u4e45\u6027\u5b58\u50a8\uff0c\u800c\u6301\u4e45\u6027\u5b58\u50a8\u53ef\u7528\u4e8e\u5b58\u50a8\u6216\u521b\u5efa\u6570\u636e\u3002\u4f20\u7edf\u7684Docker\u5377\u4f4d\u4e8eDocker\u914d\u7f6e\u7684\u5b50\u76ee\u5f55\u4e2d\u3002\u7ed1\u5b9a\u6302\u8f7d\u53ea\u662fDocker\u4e3b\u673a\u4e0a\u5b89\u88c5\u5728\u5bb9\u5668\u5185(\u4f7f\u7528bind mount\u547d\u4ee4)\u7684\u4efb\u4f55\u76ee\u5f55\u3002\u51fa\u4e8e\u591a\u79cd\u539f\u56e0\uff0cDocker\u793e\u533a\u9996\u5148\u9009\u62e9\u4f20\u7edf\u5377\uff0c\u4f46\u51fa\u4e8e\u5907\u4efd\u76ee\u7684\uff0c\u4f20\u7edf\u5377\u548c\u7ed1\u5b9a\u5b89\u88c5\u5b9e\u8d28\u4e0a\u662f\u76f8\u540c\u7684\u3002\u7528\u6237\u8fd8\u53ef\u4ee5\u5c06\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf(NFS)\u76ee\u5f55\u6216\u5bf9\u8c61\u4ece\u5bf9\u8c61\u5b58\u50a8\u7cfb\u7edf\u4f5c\u4e3a\u5377\u88c5\u5165\u5bb9\u5668\u4e2d\u3002<\/p>\n

    \u7528\u4e8e\u5907\u4efd\u6301\u4e45\u5377\u7684\u65b9\u6cd5\u5c06\u57fa\u4e8e\u7528\u4e8e\u5bb9\u5668\u7684\u4e0a\u8ff0\u9009\u9879\u3002\u4f46\u662f\uff0c\u5b83\u4eec\u90fd\u4f1a\u6709\u76f8\u540c\u7684\u95ee\u9898\uff1a\u5982\u679c\u6570\u636e\u6b63\u5728\u66f4\u6539\uff0c\u5219\u9700\u8981\u5904\u7406\u8be5\u95ee\u9898\u624d\u80fd\u83b7\u5f97\u4e00\u81f4\u7684\u5907\u4efd\u3002<\/p>\n

    \u4e00\u79cd\u65b9\u6cd5\u662f\u5173\u95ed\u4f7f\u7528\u8be5\u7279\u5b9a\u5377\u7684\u4efb\u4f55\u5bb9\u5668\u3002\u8fd9\u79cd\u505a\u6cd5\u867d\u7136\u6709\u4e9b\u8fc7\u65f6\uff0c\u4f46\u8fd9\u662f\u5bb9\u5668\u4e16\u754c\u6240\u9762\u4e34\u7684\u6311\u6218\u4e4b\u4e00\uff0c\u56e0\u4e3a\u5728\u5bb9\u5668\u4e2d\u653e\u7f6e\u5907\u4efd\u4ee3\u7406\u7684\u5178\u578b\u65b9\u6cd5\u5e76\u4e0d\u662f\u4e00\u79cd\u5f88\u597d\u7684\u9009\u62e9\u3002\u4e00\u65e6\u5173\u95ed\uff0c\u4fbf\u53ef\u4ee5\u5907\u4efd\u8be5\u5377\u3002\u5982\u679c\u5b83\u662f\u4f20\u7edf\u7684Docker\u5377\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u5c06\u5176\u6302\u8f7d\u5230\u53e6\u4e00\u4e2a\u5728\u5907\u4efd\u65f6\u4e0d\u4f1a\u66f4\u6539\u5176\u6570\u636e\u7684\u5bb9\u5668\u4e2d\u8fdb\u884c\u5907\u4efd\uff0c\u7136\u540e\u5728\u7ed1\u5b9a\u5b89\u88c5\u7684\u5377\u4e2d\u521b\u5efa\u8be5\u5377\u7684tar\u955c\u50cf\uff0c\u7136\u540e\u4f7f\u7528\u5907\u4efd\u7cfb\u7edf\u4f7f\u7528\u7684\u4efb\u4f55\u65b9\u6cd5\u8fdb\u884c\u5907\u4efd\u3002<\/p>\n

    \u4f46\u662f\uff0c\u8fd9\u5728Kubernetes\u4e2d\u786e\u5b9e\u5f88\u96be\u505a\u5230\u3002\u8fd9\u662f\u6709\u72b6\u6001\u4fe1\u606f\u6700\u597d\u5b58\u50a8\u5728\u6570\u636e\u5e93\u800c\u4e0d\u662f\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u539f\u56e0\u4e4b\u4e00\u3002\u800c\u5728\u8bbe\u8ba1K8s\u57fa\u7840\u8bbe\u65bd\u65f6\uff0c\u9700\u8981\u8003\u8651\u6b64\u95ee\u9898\u3002<\/p>\n

    \u53e6\u5916\uff0c\u5982\u679c\u7528\u6237\u4f7f\u7528\u7ed1\u5b9a\u5b89\u88c5\u76ee\u5f55\u3001NFS\u5b89\u88c5\u6587\u4ef6\u7cfb\u7edf\u6216\u5bf9\u8c61\u5b58\u50a8\u7cfb\u7edf\u4f5c\u4e3a\u6301\u4e45\u6027\u5b58\u50a8\u7cfb\u7edf\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u4f18\u79c0\u7684\u65b9\u6cd5\u6765\u5907\u4efd\u8be5\u5b58\u50a8\u7cfb\u7edf\u3002\u8fd9\u53ef\u80fd\u662f\u5feb\u7167\uff0c\u7136\u540e\u662f\u590d\u5236\uff0c\u6216\u8005\u53ea\u662f\u5728\u8be5\u7cfb\u7edf\u4e0a\u8fd0\u884c\u5546\u4e1a\u5907\u4efd\u8f6f\u4ef6\u3002\u4e0e\u76f8\u540c\u5377\u7684\u5178\u578b\u6587\u4ef6\u7ea7\u5907\u4efd\u76f8\u6bd4\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u80fd\u63d0\u4f9b\u66f4\u52a0\u4e00\u81f4\u7684\u5907\u4efd\u3002<\/p>\n

    \u6570\u636e\u5e93<\/strong><\/div>\n

    \u4e0b\u4e00\u4e2a\u5907\u4efd\u6311\u6218\u662f\u5bb9\u5668\u4f7f\u7528\u6570\u636e\u5e93\u5b58\u50a8\u5176\u6570\u636e\u3002\u8fd9\u4e9b\u6570\u636e\u5e93\u9700\u8981\u4ee5\u4fdd\u8bc1\u5176\u5b8c\u6574\u6027\u7684\u65b9\u5f0f\u8fdb\u884c\u5907\u4efd\u3002\u6839\u636e\u6570\u636e\u5e93\u7684\u4e0d\u540c\uff0c\u4e0a\u8ff0\u65b9\u6cd5\u53ef\u80fd\u4f1a\u8d77\u4f5c\u7528\uff1a\u5173\u95ed\u8bbf\u95ee\u6570\u636e\u5e93\u7684\u5bb9\u5668\uff0c\u7136\u540e\u5907\u4efd\u5b58\u50a8\u5176\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u4f46\u662f\uff0c\u8fd9\u79cd\u65b9\u6cd5\u6240\u9700\u7684\u505c\u673a\u65f6\u95f4\u53ef\u80fd\u4e0d\u5408\u9002\u3002<\/p>\n

    \u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u76f4\u63a5\u8fde\u63a5\u5230\u6570\u636e\u5e93\u5f15\u64ce\u672c\u8eab\uff0c\u5e76\u8981\u6c42\u5b83\u8fd0\u884c\u5230\u6587\u4ef6\u7684\u5907\u4efd\uff0c\u7136\u540e\u53ef\u4ee5\u5bf9\u5176\u8fdb\u884c\u5907\u4efd\u3002\u5982\u679c\u6570\u636e\u5e93\u5728\u5bb9\u5668\u5185\u8fd0\u884c\uff0c\u5219\u9996\u5148\u9700\u8981\u4f7f\u7528\u7ed1\u5b9a\u5b89\u88c5\u6765\u9644\u52a0\u4e00\u4e2a\u53ef\u4ee5\u5907\u4efd\u7684\u5377\uff0c\u56e0\u6b64\u5176\u5907\u4efd\u53ef\u4ee5\u5b58\u5728\u4e8e\u5bb9\u5668\u5916\u90e8\u3002\u7136\u540e\u8fd0\u884c\u6570\u636e\u5e93\u4f7f\u7528\u7684\u547d\u4ee4(\u4f8b\u5982mysqldump)\u521b\u5efa\u5907\u4efd\u3002\u7136\u540e\u786e\u4fdd\u4f7f\u7528\u5907\u4efd\u7cfb\u7edf\u521b\u5efa\u7684\u6587\u4ef6\u3002<\/p>\n

    \u5982\u679c\u7528\u6237\u4e0d\u77e5\u9053\u54ea\u4e9b\u5bb9\u5668\u6b63\u5728\u4f7f\u7528\u4ec0\u4e48\u6837\u7684\u5b58\u50a8\u6216\u4ec0\u4e48\u6837\u7684\u6570\u636e\u5e93\u600e\u4e48\u529e?\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\u53ef\u80fd\u662f\u4f7f\u7528docker ps\u547d\u4ee4\u5217\u51fa\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668\uff0c\u7136\u540e\u4f7f\u7528docker inspect\u547d\u4ee4\u663e\u793a\u6bcf\u4e2a\u5bb9\u5668\u7684\u914d\u7f6e\u3002\u6709\u4e00\u4e2a\u540d\u4e3a\u201c\u6302\u8f7d\u201d\u7684\u90e8\u5206\uff0c\u5b83\u5c06\u544a\u8bc9\u7528\u6237\u5c06\u54ea\u4e9b\u5377\u6302\u8f7d\u5728\u4f55\u5904\u3002\u4efb\u4f55\u7ed1\u5b9a\u5b89\u88c5\u4e5f\u5c06\u5728\u7528\u6237\u63d0\u4ea4\u7ed9Kubernetes\u7684YAML\u6587\u4ef6\u4e2d\u6307\u5b9a\u3002<\/p>\n

    \u5546\u4e1a\u5907\u4efd\u89e3\u51b3\u65b9\u6848<\/strong><\/div>\n

    \u6709\u5404\u79cd\u5404\u6837\u7684\u5546\u4e1a\u5907\u4efd\u89e3\u51b3\u65b9\u6848\u53ef\u4ee5\u4fdd\u62a4\u4e0a\u8ff0\u90e8\u5206\u6216\u5168\u90e8\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u975e\u5e38\u7b80\u77ed\u7684\u6458\u8981\uff1a<\/p>\n

  • Commvault\u7684\u865a\u62df\u670d\u52a1\u5668\u4ee3\u7406\u53ef\u4ee5\u5145\u5f53\u5907\u4efd\u5bb9\u5668\u53ca\u5176\u955c\u50cf\u7684\u4ee3\u7406\u3002<\/li>\n
  • Cohenity\u4e3aK8s\u547d\u540d\u7a7a\u95f4\u63d0\u4f9b\u6570\u636e\u4fdd\u62a4\u3002<\/li>\n
  • Heptio(\u73b0\u4e3aVMware\u516c\u53f8)\u63d0\u4f9b\u4e3aK8s\u8bbe\u8ba1\u7684Velero\u5907\u4efd\u3002<\/li>\n
  • Contino\u3001Datacore\u548cPortworx\u63d0\u4f9b\u4e13\u4e3aK8\u548c\u5bb9\u5668\u8bbe\u8ba1\u7684\u5b58\u50a8\uff0c\u5e76\u4e14\u8fd8\u652f\u6301\u5907\u4efd\u8be5\u4fe1\u606f\u3002<\/li>\n

    \u9274\u4e8eK8\u548cDocker\u7684\u914d\u7f6e\u65b9\u5f0f\u591a\u79cd\u591a\u6837\uff0c\u5f88\u96be\u6db5\u76d6\u6240\u6709\u5185\u5bb9\u3002\u4f46\u662f\u5e0c\u671b\u63d0\u4f9b\u4e00\u4e9b\u601d\u8003\u7684\u673a\u4f1a\uff0c\u6216\u8005\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5907\u4efd\u4e00\u4e9b\u5e94\u8be5\u4f46\u5c1a\u672a\u5907\u4efd\u7684\u4e1c\u897f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u7528\u6237\u7684\u5bb9\u5668\u57fa\u7840\u8bbe\u65bd\u9700\u8981\u67d0\u79cd\u7c7b\u578b\u7684\u5907\u4efd\u3002Kubernetes\u548cDocker\u5728\u707e\u96be\u4e4b\u540e\u4e0d\u4f1a\u81ea\u5df1\u6784\u5efa\u3002\u7528\u6237\u65e0\u9700\u5907\u4efd\u6bcf […]<\/p>\n","protected":false},"author":1920,"featured_media":161283,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-192534","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\/192534","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\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=192534"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/192534\/revisions"}],"predecessor-version":[{"id":192555,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/192534\/revisions\/192555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/161283"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=192534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=192534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=192534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}