{"id":241152,"date":"2022-05-02T09:00:01","date_gmt":"2022-05-02T01:00:01","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=241152"},"modified":"2022-04-25T22:16:26","modified_gmt":"2022-04-25T14:16:26","slug":"kubernetes-dockershim-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/kubernetes-dockershim-linux.html","title":{"rendered":"Kubernetes \u5c06\u7ed3\u675f\u5bf9 dockershim \u7684\u652f\u6301"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u6309\u7167\u53d1\u5e03\u65f6\u95f4\u8868\uff0c\u7a0d\u6709\u5ef6\u8fdf\u7684 Kubernetes 1.24 \u7248\u672c\u9884\u8ba1\u5c06\u4e8e 5 \u6708 3 \u53f7\u6b63\u5f0f\u53d1\u5e03\uff1b\u8be5\u7248\u672c\u5305\u542b\u4e86\u4e00\u4e2a\u91cd\u5927\u8f6c\u53d8\uff0c\u5373\uff0c\u5bf9 dockershim \u7684\u5185\u7f6e\u652f\u6301\u5c06\u88ab\u5f7b\u5e95\u5220\u9664\u3002\u5982\u679c\u4f60\u4f7f\u7528 Docker Engine \u4f5c\u4e3a Kubernetes \u96c6\u7fa4\u7684\u5bb9\u5668\u8fd0\u884c\u65f6\uff0c\u5219\u9700\u8981\u51c6\u5907\u597d\u5728 1.24 \u4e2d\u8fdb\u884c\u8fc1\u79fb\u3002\u8981\u68c0\u67e5\u4f60\u662f\u5426\u53d7\u5230\u5f71\u54cd\uff0c\u53ef\u53c2\u9605\u68c0\u67e5 dockershim \u5f03\u7528\u662f\u5426\u5f71\u54cd\u4f60\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u5b98\u65b9\u65e9\u5728 2020 \u5e74 12 \u6708\u5c31\u6b63\u5f0f\u5ba3\u5e03\u4e86\u5c06\u5f03\u7528 dockershim\uff0c\u5e76\u9884\u8ba1\u4e8e 2022 \u5e74 4 \u6708 Kubernetes 1.24 \u53d1\u5e03\u65f6\u6b63\u5f0f\u79fb\u9664\u3002\u516c\u544a\u6307\u51fa\uff0c\u7ef4\u62a4 dockershim \u5df2\u7ecf\u6210\u4e3a Kubernetes \u7ef4\u62a4\u8005\u7684\u6c89\u91cd\u8d1f\u62c5\u3002<\/p>\n \u6839\u636e\u4ecb\u7ecd\uff0cDocker \u662f Kubernetes \u4f7f\u7528\u7684\u7b2c\u4e00\u4e2a\u5bb9\u5668\u8fd0\u884c\u65f6\u3002\u4f46\u968f\u7740 Kubernetes \u9879\u76ee\u5411\u81ea\u5df1\u7684\u5f00\u653e\u5bb9\u5668\u5021\u8bae\uff08OCI\uff09\u8fc7\u6e21\uff0c\u5b83\u9700\u8981\u4e00\u4e2a\u6743\u5b9c\u4e4b\u8ba1\u6765\u5b9e\u73b0\u4e0e\u5176\u4ed6\u5404\u79cd\u5bb9\u5668\u8fd0\u884c\u65f6\u7684\u79fb\u690d\uff1b\u8fd9\u4e2a\u6743\u5b9c\u4e4b\u8ba1\u5c31\u662f dockershim\u3002\u4ece\u672c\u8d28\u4e0a\u8bb2\uff0cdockershim \u6700\u521d\u662f\u4f5c\u4e3a\u4e00\u4e2a\u4e34\u65f6\u89e3\u51b3\u65b9\u6848\uff08\u56e0\u6b64\u5f97\u540d\u4e3a\uff1ashim\uff09\uff0c\u5141\u8bb8\u6d41\u884c\u7684 Docker Engine \u5bb9\u5668\u8fd0\u884c\u65f6\u5728 Kubernetes \u81ea\u5df1\u7684\u5bb9\u5668\u8fd0\u884c\u65f6\u63a5\u53e3\uff08CRI\uff09\u5185\u5c06 OCI \u8c03\u7528\u8f6c\u6362\u6210 Docker \u8c03\u7528\u3002<\/p>\n \u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0cdockershim \u5728 Kubernetes \u90e8\u7f72\u4e2d\u53d8\u5f97\u6839\u6df1\u8482\u56fa\uff0c\u4f46\u5374\u62d6\u6162\u4e86\u90e8\u7f72\u901f\u5ea6\uff0c\u7ed9\u7ef4\u62a4\u8005\u5e26\u6765\u4e86\u8d1f\u62c5\uff1b\u6240\u4ee5\u88ab\u6dd8\u6c70\u5df2\u6210\u5fc5\u7136\u3002\u6b64\u5916\uff0c\u4e0e dockershim \u57fa\u672c\u4e0d\u517c\u5bb9\u7684\u529f\u80fd\uff08\u5982 cgroups v2 \u548c\u7528\u6237\u547d\u540d\u7a7a\u95f4\uff09\uff0c\u4e5f\u6b63\u5728\u8f83\u65b0\u7684 CRI \u8fd0\u884c\u7cfb\u7edf\u4e2d\u5b9e\u73b0\uff1b\u53d6\u6d88\u5bf9 dockershim \u7684\u652f\u6301\u5c06\u5141\u8bb8\u5728\u8fd9\u4e9b\u9886\u57df\u8fdb\u4e00\u6b65\u53d1\u5c55\u3002<\/p>\n \u201cdockershim \u6210\u4e3a\u4e86 Kubernetes \u9879\u76ee\u4e2d\u7684\u4e00\u4e2a\u5f02\u5e38\u73b0\u8c61\u3002\u5bf9 Docker \u548c dockershim \u7684\u4f9d\u8d56\u5df2\u7ecf\u6e17\u900f\u5230 CNCF \u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u5404\u79cd\u5de5\u5177\u548c\u9879\u76ee\u4e2d\uff0c\u5bfc\u81f4\u4ee3\u7801\u8106\u5f31\u3002\u201d<\/p>\n \u4e0d\u4f7f\u7528 CRI-compliant runtime \u6765\u53d6\u4ee3 dockershim \u7684\u5f00\u53d1\u8005\u6709\u53ef\u80fd\u7834\u574f\u4ed6\u4eec\u7684\u96c6\u7fa4\uff0c\u4e0d\u4f1a\u5f97\u5230\u53ca\u65f6\u7684\u5b89\u5168\u8865\u4e01\u66f4\u65b0\uff0c\u540c\u65f6\u4e5f\u4f1a\u9519\u8fc7\u65b0\u7684\u529f\u80fd\u3002Kubernetes \u56e2\u961f\u5728\u4e00\u6708\u4efd\u53d1\u5e03\u7684\u4e00\u7bc7\u535a\u5ba2\u4e2d\u8868\u793a\uff0c\u76ee\u524d\u5df2\u6709\u8d8a\u6765\u8d8a\u591a\u7684\u96c6\u7fa4\u8fd0\u8425\u5546\u5207\u6362\u5230\u4e86\u5176\u4ed6\u7684\u5bb9\u5668\u8fd0\u884c\u65f6\u3002\u201c\u6211\u4eec\u76f8\u4fe1\u8fc1\u79fb\u6ca1\u6709\u4e3b\u8981\u969c\u788d\u3002\u6211\u4eec\u4e3a\u6539\u5584\u8fc1\u79fb\u4f53\u9a8c\u800c\u91c7\u53d6\u7684\u6b65\u9aa4\u5c06\u4e3a\u4f60\u6307\u660e\u66f4\u6e05\u6670\u7684\u8def\u5f84......\u6211\u4eec\u76f8\u4fe1\u4f60\uff08\u548c Kubernetes\uff09\u4ece dockershim \u79fb\u9664\u4e2d\u83b7\u5f97\u7684\u4ef7\u503c\u53ef\u4ee5\u5f25\u8865\u4f60\u7684\u8fc1\u79fb\u5de5\u4f5c\u3002\u201d<\/p>\n \u5f00\u53d1\u4eba\u5458\u4ecd\u7136\u53ef\u4ee5\u5728\u672c\u5730\u4f7f\u7528 Docker \u6765\u5f00\u53d1\u6216\u6d4b\u8bd5\u4ed6\u4eec\u7684\u5bb9\u5668\uff0c\u65e0\u8bba\u4ed6\u4eec\u4e3a Kubernetes \u96c6\u7fa4\u4f7f\u7528\u54ea\u4e2a\u5bb9\u5668\u8fd0\u884c\u65f6\u3002Docker-produced images \u5c06\u7ee7\u7eed\u5728\u6240\u6709 CRI-compliant runtimes \u96c6\u7fa4\u4e2d\u5de5\u4f5c\uff0c\u4f46\u4e0d\u4f1a\u7ee7\u7eed\u5f97\u5230\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5b98\u65b9\u65e9\u5728 2020 \u5e74 12 \u6708\u5c31\u6b63\u5f0f\u5ba3\u5e03\u4e86\u5c06\u5f03\u7528 dockershim\uff0c\u5e76\u9884\u8ba1\u4e8e 2022 \u5e74 4 \u6708 Ku […]<\/p>\n","protected":false},"author":668,"featured_media":84231,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-241152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/241152","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\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=241152"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/241152\/revisions"}],"predecessor-version":[{"id":241331,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/241152\/revisions\/241331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/84231"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=241152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=241152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=241152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |