{"id":236858,"date":"2020-12-31T12:01:35","date_gmt":"2020-12-31T04:01:35","guid":{"rendered":"http:\/\/4563.org\/?p=236858"},"modified":"2020-12-31T12:01:35","modified_gmt":"2020-12-31T04:01:35","slug":"kubernetes-%e5%87%86%e5%a4%87%e4%b8%a2%e6%8e%89-docker-%e6%94%b9%e7%94%a8-containerd-%e4%ba%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=236858","title":{"rendered":"Kubernetes \u51c6\u5907\u4e22\u6389 docker \u6539\u7528 containerd \u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Kubernetes \u51c6\u5907\u4e22\u6389 docker \u6539\u7528 containerd \u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fiveelementgid <\/span>  <span><i><\/i> 15<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<blockquote>\n<p>Kubernetes is deprecating Docker as a container runtime after v1.20.<\/p>\n<\/blockquote>\n<blockquote>\n<p>Docker support in the kubelet is now deprecated and will be removed in a future release. The kubelet uses a module called &#8220;dockershim&#8221; which implements CRI support for Docker and it has seen maintenance issues in the Kubernetes community. We encourage you to evaluate moving to a container runtime that is a full-fledged implementation of CRI (v1alpha1 or v1 compliant) as they become available. (#94624, @dims) [SIG Node]<\/p>\n<\/blockquote>\n<p>\u56e0\u4e3a Docker \u6ca1\u6709\u63d0\u4f9b CRI \u63a5\u53e3\u652f\u6301\uff1f Kubernetes \u81ea\u5df1\u6574\u4e86\u4e2a dockershim \u6765\u5b9e\u73b0\u652f\u6301\uff0c\u7ed3\u679c\u73b0\u5728\u8bf4\u4e0d\u7ef4\u62a4\u4e86\uff0c\u76f4\u63a5 GG?<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>16<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4530941\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monsterxx03 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             docker \u4e0b\u9762\u4e5f\u662f containerd &#8230;.\u8fd9\u6b21\u7b49\u4e8e\u5c11\u4e86\u4e2a\u4e2d\u95f4\u5c42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530942\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             containerd \u662f\u6807\u51c6\uff0c\u4e4b\u524d\u5c31\u7528 Kind \u5b89\u88c5\u8fc7 K8s\uff0c\u6ca1\u6709 Docker\uff0c\u4e0d\u4e60\u60ef\uff0c\u4ece Docker Register \u5b89\u88c5\u53ea\u662f\u8d39\u70b9\u529b\u800c\u5df2\u3002<\/p>\n<p>https:\/\/github.com\/hantsy\/devops-sandbox\/blob\/master\/install-k8s.md#kind                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530943\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : arbit <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e48\u5927\u6539\u52a8\uff0c\u90a3\u540e\u9762\u8981\u6362\u4ec0\u4e48\u4e86\uff0cdocker registry \u8fd9\u4e9b\u6709\u4ec0\u4e48\u66ff\u6362\u65b9\u6848\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530944\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : fiveelementgid <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @monsterxx03 \u786e\u5b9e<br \/>@hantsy hhhhhhhhh \u4e4b\u524d docker \u4f9d\u8d56\u6709\u95ee\u9898\u4e00\u76f4\u88c5\u4e0d\u4e0a<br \/>@arbit \u4e0d\u77e5\uff0c\u53cd\u6b63 docker \u4e2d\u95f4\u5c42\u4e00\u4e22\uff0cdocker hub \u76f4\u63a5\u88ab\u626c\u4e86\uff0c\u5403\u74dc\u7b49\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530945\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feelinglucky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u4e2a\u4eba\u89c9\u5f97\u6539\u52a8\u4e0d\u5927\uff1a\u9996\u5148\uff0cK8s \u5c06 dockershim \u62bd\u79bb\u51fa\u6765\u7136\u540e\u7edf\u4e00\u4f7f\u7528 CRI \u7ef4\u62a4\u8fd9\u4e2a\u7b26\u5408\u89e3\u8026\u7684\u539f\u5219\uff0c\u5bf9\u6bd4\u5176\u5b9e\u8fd8\u6709 CSI \u4ee5\u53ca CNI \u7b49 interface \u7684\u5b9e\u73b0\uff1b\u5176\u6b21 docker \u80cc\u540e\u7684 docker \u516c\u53f8\u4f5c\u4e3a\u5bb6\u5546\u4e1a\u7ec4\u7ec7\u5176\u5b9e\u4e5f\u505a\u8fc7\u5f88\u591a\u5bb9\u5668\u7ba1\u7406\u7684\u5b9e\u8df5\uff08\u4f8b\u5982 docker swarm \uff09\uff0c\u4f46\u4e0d\u5f97\u4e0d\u627f\u8ba4\u76ee\u524d\u8fd9\u5757 K8s \u5df2\u7ecf\u662f\u4e8b\u5b9e\u4e0a\u7684\u6807\u51c6\u3002\u4ece\u8bdd\u8bed\u6743\u4e0a\u8bf4 K8s \u80af\u5b9a\u4e0d\u4f1a\u4f7f\u7528\u4e00\u79cd\u5bb9\u5668\u5b9e\u73b0\uff0c\u800c docker \u4e5f\u4e0d\u4f1a\u518d\u5f00\u4e2a\u7089\u7076\u5bf9\u7740\u548c K8s \u5e72\uff0c\u4e24\u8005\u8fbe\u6210\u4e86\u67d0\u79cd\u610f\u4e49\u4e0a\u7684\u9ed8\u5951\u548c\u754c\u9650\u3002\u7b2c\u4e09\u5c31\u662f\u5b9e\u9645\u4e0a docker \u4e0b\u9762\u8dd1\u7684\u4e5f\u662f containerd\uff0c\u5bf9\u4e8e\u6280\u672f\u8fd9\u5757\u7684\u6539\u52a8\u5176\u5b9e\u4e0d\u5927\u5bf9\u4e8e\u7528\u6237\u7684\u611f\u77e5\u5e94\u8be5\u66f4\u5c0f\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530946\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 90928yao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f71\u54cd\u4e0d\u5927 \u8be5\u600e\u4e48\u7528\u8fd8\u662f\u600e\u4e48\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530947\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jmyz0455 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f5c\u4e3a\u4e00\u4f4d\u4e1a\u4f59\u7684\u8ba1\u7b97\u673a\u7231\u597d\u8005\uff0c\u80fd\u8dd1\u5c31\u884c docker \u7528\u6237\uff0c\u60f3\u95ee\u6709\u4ec0\u4e48\u5927\u7684\u5f71\u54cd\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530948\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hantsy kind \u7684\u7f51\u9875\u4e0a\u5f88\u5927\u7684 banner \u8bf4\u6211\u4eec\u6ca1\u7528 docker \u4e0d\u53d7\u8fd9\u6b21\u53d8\u52a8\u5f71\u54cd<br \/>\u7b11\u6b7b\u6211\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530949\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzzbkl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5145\u5206\u8bc1\u660e\u4e86 k3s \u7684\u524d\u77bb\u6027                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530950\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : salmon5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @julyclyde https:\/\/kind.sigs.k8s.io\/ \u6709\u70b9\u5e78\u707e\u4e50\u7978\u5185\u5473\u513f\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530951\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : fiveelementgid <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @feelinglucky \u90a3\u53ef\u4ee5\u7406\u89e3\u6210\u6570\u91cf\u4e0d\u591a\u7684\u8bdd\u7528 docker \u8c03\u7528 containerd\uff0c\u6570\u91cf\u591a\u7684\u8bdd\u7528 k8s \u8c03\u7528 containerd\uff0c\u5c11\u4e86\u4e00\u5c42\uff1f<br \/>@90928yao \u786e\u5b9e\u30d8\uff08\u3002\u25a1\u00b0\uff09\u30d8<br \/>@jmyz0455 \u6ca1\u5f71\u54cd\uff0c\u5982\u679c\u4f60\u4e0d\u7528 k8s \u63a7\u5236\u5927\u91cf docker cluster \u7684\u8bdd<\/p>\n<p>@zzzbkl <br \/>@julyclyde <br \/>@salmon5 \u4f60\u4eec\u4e00\u7fa4\u4eba\u5077\u88ad\u522b\u4eba docker \u4e00\u4e2a\u8001\u540c\u5fd7\uff0c\u8fd9\u597d\u5417\uff1f\u8fd9\u4e0d\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dorothyREN <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             docker \u4e5f\u662f\u7528\u7684 container \u554a\u3002\u8fd9\u4e0b\u5c31\u662f\u6ca1\u6709\u4e2d\u95f4\u5546\u8d5a\u5dee\u4ef7\u4e86\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : stancaohua <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u662f runtime \u4e0d\u652f\u6301 docker \u4e86\uff0c\u522b\u7684\u90fd\u4e00\u6837\uff0c\u76f8\u5f53\u4e8e\u4ee5\u524d\u4f60\u8dd1 k8s \u80fd\u88c5 docker \u4f5c\u4e3a\u5bb9\u5668\u652f\u6301\uff0c\u73b0\u5728\u53ea\u9700\u8981\u88c5 containerd \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lrh3321 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c11\u4e2a\u4e2d\u95f4\u5546\uff0c\u4e0d\u8fc7\u5c31\u662f\u4e0d\u80fd\u7528 docker \u7684 cli \u53bb\u63a7\u5236 pod \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lrh3321 \u672c\u6765\u4e5f\u4e0d\u80fd\u554a\u3002docker \u5ba2\u6237\u7aef\u63a7\u5236\u7684\u662f\u5bb9\u5668\uff0c\u4e0d\u662f pod<br \/>\u4e00\u4e2a pod \u91cc\u81f3\u5c11\u4fe9\u5bb9\u5668                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4530956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : fiveelementgid <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dorothyREN \u6027\u80fd\u63d0\u5347\u4e86\uff1f<\/p>\n<p>@stancaohua (*\ufe4f*;)\u660e\u767d\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Kubernetes \u51c6\u5907\u4e22\u6389 d&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/236858"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236858"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/236858\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236858"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}