{"id":14895,"date":"2023-09-20T14:34:29","date_gmt":"2023-09-20T06:34:29","guid":{"rendered":"https:\/\/blog.ywdevops.cn\/?p=14895"},"modified":"2023-09-22T14:31:09","modified_gmt":"2023-09-22T06:31:09","slug":"containerd-2","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2023\/09\/20\/containerd-2\/","title":{"rendered":"\u5c06K8s\u8fd0\u884c\u65f6\u4ecedocker\u5207\u6362\u5230containerd"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">k8s\u652f\u6301\u591a\u79cd\u5bb9\u5668\u8fd0\u884c\u65f6\uff0c\u6bd4\u5982docker\u3001containerd\u7b49\uff0c\u5982\u679ck8s\u7684\u7248\u672c\u7528\u7684\u662f1.23.5\u4e4b\u524d\u7684\u7248\u672c\uff0c\u90a3\u4e48\u76f4\u63a5\u4f7f\u7528docker\u5373\u53ef\uff0c\u5982\u679c\u4f7f\u75281.24.5\u7248\u672c\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e0d\u652f\u6301\u4f7f\u7528docker\uff0c\u56e0\u4e3adockershim\u88ab\u5f03\u7528\uff0ck8s\u65e0\u6cd5\u901a\u8fc7dockershim\u6765\u4f7f\u7528docker\uff0c\u6b64\u65f6\u6709\u4e24\u79cd\u65b9\u6848<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528containerd<\/li>\n\n\n\n<li>\u7ee7\u7eed\u4f7f\u7528docker\uff0c\u4f46\u662f\u9700\u8981\u5b89\u88c5\u7ec4\u4ef6cri-dockerd\uff0c\u6b64\u7ec4\u4ef6\u53ef\u66ff\u4ee3dockershim<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6211\u4eec\u5f53\u524d\u4f7f\u7528\u7684\u7248\u672c\u662f1.23.5\uff0c\u5e76\u4e14\u5bb9\u5668\u8fd0\u884c\u65f6\u4f7f\u7528\u7684\u662fdocker\uff0c\u73b0\u5728\u60f3\u5c06k8s\u7248\u672c\u5347\u7ea7\u52301.24.5\uff0c\u90a3\u4e48\u5c31\u4f1a\u62a5\u9519\uff0c\u4f1a\u51fa\u73b0\u9519\u8bef\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>msg=\"validate service connection: CRI v1 image API is not implemented for endpoint \\\"unix:\/\/\/var\/run\/dockershim.sock\\<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9519\u8bef\u8868\u793a\u4f60\u7684 Kubernetes \u96c6\u7fa4\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d,\u8bd5\u56fe\u4f7f\u7528 CRI \u63a5\u53e3\u62c9\u53d6\u955c\u50cf,\u4f46\u662f\u914d\u7f6e\u7684 CRI \u7aef\u70b9 dockershim.sock \u4e0d\u652f\u6301 CRI v1\u7248\u672c\u7684\u955c\u50cf\u670d\u52a1(ImageService)\uff0cdockershim \u662f\u4e00\u4e2a\u8fc7\u6e21\u7684 CRI \u5b9e\u73b0,\u7528\u4e8e\u517c\u5bb9 Docker,\u5b83\u53ea\u5b9e\u73b0\u4e86 CRI \u7684\u90e8\u5206\u63a5\u53e3,\u4e0d\u652f\u6301\u955c\u50cf\u670d\u52a1\uff0c\u56e0\u6b64\u6b64\u65f6\u53c8\u51fa\u73b0\u4e86\u4e24\u79cd\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5c06docker\u5207\u6362\u5230containerd<\/li>\n\n\n\n<li>\u5c06dockershim\u5207\u6362\u5230cri-dockerd<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u4f8b\u5b50\u6f14\u793a\u5982\u4f55\u5c06docker\u5207\u6362\u5230containerd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73af\u5883\u51c6\u5907\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>k8s \uff1av1.23.5\u7248\u672c\uff0c\u4e00\u4e2amaster\uff0c\u4e24\u4e2anode\uff0c\u901a\u8fc7kubeadm\u5b89\u88c5<\/li>\n\n\n\n<li>docker\uff1a20.10.8 <\/li>\n\n\n\n<li>\u7cfb\u7edf\uff1aCentOS7<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"128\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/6-6.png\" alt=\"\" class=\"wp-image-14901\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/6-6.png 697w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/6-6-300x55.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/6-6-600x110.png 600w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884ckubectl get nodes -o wide\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u4f7f\u7528\u7684runtime\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"175\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/7-6.png\" alt=\"\" class=\"wp-image-14902\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/7-6.png 690w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/7-6-300x76.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/7-6-600x152.png 600w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u56fe\u4e2d\u7684master\u8282\u70b9\u5df2\u7ecf\u5347\u7ea7\u597d\u4e86\uff0c\u73b0\u5728\u6211\u4eec\u6f14\u793a\u5347\u7ea7node01\u8282\u70b9<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><strong>\u4e00\u3001\u7ef4\u62a4\u8282\u70b9<\/strong><\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u8bbe\u7f6e\u8282\u70b9\u4e0d\u53ef\u8c03\u5ea6\u4e0epod\u9a71\u9010\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"205\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/8-4.png\" alt=\"\" class=\"wp-image-14907\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/8-4.png 694w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/8-4-300x89.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/8-4-600x177.png 600w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u9a71\u9010k8s-node01\u4e0a\u9762\u7684pod\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl drain  k8s-node01 --ignore-daemonsets #daemonset\u63a7\u5236\u5668\u8fd0\u884c\u7684\u5ffd\u7565<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b64\u65f6k8s-node01\u4e0a\u9664\u4e86daemonset\u8fd0\u884c\u7684pod\uff0c\u5176\u4f59pod \u5df2\u7ecf\u5168\u90e8\u88ab\u9a71\u9010\u5230k8s-node02\u4e0a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u505c\u6b62kubelet\u548cdocker<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop kubelet\nsystemctl stop docker<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u4e8c\u3001\u5b89\u88c5containerd\u5e76\u914d\u7f6e<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">docker\u91cc\u9762\u81ea\u5e26\u7684containerd\u4e00\u822c\u7248\u672c\u90fd\u6bd4\u8f83\u8001\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u624b\u52a8\u5b89\u88c5\u4e00\u4e2a\u8f83\u65b0\u7248\u672c\u7684<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u53c2\u8003\u6559\u7a0b\u5730\u5740\u5982\u4e0b\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/blog.ywdevops.cn\/index.php\/2023\/09\/13\/containerd\/\" target=\"_blank\">https:\/\/blog.ywdevops.cn\/index.php\/2023\/09\/13\/containerd\/<\/a>\uff0c\u8bb0\u5f97\u8981\u751f\u6210\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\/etc\/containerd\/config.toml\uff0c\u6dfb\u52a0\u955c\u50cf\u4e0b\u8f7d\u52a0\u901f\u5668\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors]\n   &#91;plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors.\"docker.io\"]\n       endpoint = &#91;\"registry.aliyuncs.com\/google_containers\"]\n   &#91;plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors.\"k8s.gcr.io\"]\n       endpoint = &#91;\"registry.aliyuncs.com\/google_containers\"]<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"159\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/1-10.png\" alt=\"\" class=\"wp-image-14910\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/1-10.png 695w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/1-10-300x69.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/1-10-600x137.png 600w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u7ee7\u7eed\u4fee\u6539\/etc\/containerd\/config.toml\uff0c\u914d\u7f6esandbox\u5730\u5740\u4e3a\u56fd\u5185\u5730\u5740\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"123\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/2-10.png\" alt=\"\" class=\"wp-image-14912\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/2-10.png 698w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/2-10-300x53.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/2-10-600x106.png 600w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">sandbox \u8868\u793a\u5bb9\u5668\u7684\u6c99\u7bb1\u73af\u5883\u3002\u6bcf\u4e2a\u5bb9\u5668\u542f\u52a8\u65f6,\u90fd\u4f1a\u4ee5\u4e00\u4e2a\u57fa\u7840\u955c\u50cf\u4e3a\u6a21\u677f\u9996\u5148\u542f\u52a8\u4e00\u4e2a\u6c99\u7bb1\u5bb9\u5668\u3002\u5176\u4ed6\u5bb9\u5668\u5c06\u5728\u8fd9\u4e2a\u6c99\u7bb1\u4e2d\u8fd0\u884c\uff0c\u5bf9\u4e8e Kubernetes \u6765\u8bf4,\u8fd9\u4e2a\u57fa\u7840\u6c99\u7bb1\u955c\u50cf\u5c31\u662f pause \u955c\u50cf\u3002pause \u955c\u50cf\u662f\u4e00\u4e2a\u975e\u5e38\u7cbe\u7b80\u7684 Linux \u73af\u5883,\u53ef\u4ee5\u63d0\u4f9b\u57fa\u7840\u7684\u547d\u540d\u7a7a\u95f4\u3001\u7f51\u7edc\u7b49\u529f\u80fd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u4fee\u6539\/etc\/containerd\/config.toml\uff0c\u914d\u7f6e&nbsp;<code>systemd<\/code>&nbsp;cgroup \u9a71\u52a8\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"302\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/3-9.png\" alt=\"\" class=\"wp-image-14914\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/3-9.png 699w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/3-9-300x130.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/3-9-600x259.png 600w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u4e09\u3001\u4fee\u6539kubelet\u4f7f\u7528containerd<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u4fee\u6539\/var\/lib\/kubelet\/kubeadm-flags.env\u6587\u4ef6\uff0c\u5c06containerd\u53c2\u6570\u6dfb\u52a0\u8fdb\u5165\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u6ce8\u610f\uff1a\u524d\u9762\u90fd\u662f\u53cc\u6a2a\u5c97--\nKUBELET_KUBEADM_ARGS=\"--network-plugin=cni --container-runtime=remote --container-runtime-endpoint=unix:\/\/\/run\/containerd\/containerd.sock --pod-infra-container-image=registry.aliyuncs.com\/google_containers\/pause:3.8\"<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8211;container-runtime\uff1a\u7528\u6765\u6307\u5b9a\u5bb9\u5668\u8fd0\u884c\u65f6\uff0c\u53ef\u9009\u503c\u4e3aremote\u548cdocker\uff0c\u9ed8\u8ba4\u4e3adocker\uff0c\u8fd9\u91cc\u8bbe\u7f6e\u4e3aremote\uff0c\u8868\u793a\u9664\u4e86docker\u4ee5\u5916\u7684\u5bb9\u5668\u8fd0\u884c\u65f6<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><strong>(v1.27\u540e\u5c06\u88ab\u5f03\u7528)<\/strong><\/mark><\/li>\n\n\n\n<li>&#8211;container-runtime-endpoint\uff1a\u6307\u5b9a\u8fdc\u7a0b\u7684\u8fd0\u884c\u65f6\u670d\u52a1\u7684 endpiont \u5730\u5740\u7684\uff0c\u5728 Linux \u7cfb\u7edf\u4e2d\u4e00\u822c\u90fd\u662f\u4f7f\u7528 unix \u5957\u63a5\u5b57\u7684\u5f62\u5f0f\uff0c\u56e0\u6b64\u8fd9\u91cc\u914d\u7f6e\u4e3a unix:\/\/\/run\/containerd\/containerd.sock<\/li>\n\n\n\n<li>&#8211;pod-infra-container-image\uff1akubelet\u5b89\u88c5\u597d\u540e\u81ea\u5e26\u7684\uff0c\u4e0d\u662f\u65b0\u52a0\uff0c\u53ef\u5c06\u955c\u50cf\u7248\u672c\u8bbe\u7f6e\u4e0econfig.toml\u4e2d\u7684\u4e00\u6837\uff0c\u8fd9\u91cc\u8bbe\u7f6e\u4e3apause:3.8<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3001\u7f16\u8f91\u6bcf\u4e2a\u8282\u70b9\uff0c\u4fee\u6539kubeadm.alpha.kubernetes.io\/cri-socket\u7684\u503c\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl edit node k8s-master01\/k8s-node01\/k8s-node02\n\u5c06\u5176\u4ece \/var\/run\/dockershim.sock \u4fee\u6539\u4e3aunix:\/\/\/run\/containerd\/containerd.sock<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3001\u542f\u52a8containerd\u548ckubelet<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl daemon-reload\nsystemctl restart containerd\nsystemctl restart kubelet<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4\u3001\u518d\u6b21\u5728master\u6267\u884c\u547d\u4ee4kubectl get node -o wide \u67e5\u770b\u8fd0\u884c\u65f6\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"167\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/4-9.png\" alt=\"\" class=\"wp-image-14919\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/4-9.png 695w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/4-9-300x72.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2023\/09\/4-9-600x144.png 600w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u4e0a\u56fe\u770b\u51fa\uff0ck8s-node01\u7684\u5bb9\u5668\u8fd0\u884c\u65f6\u5df2\u7ecf\u5207\u6362\u5230containerd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3001\u5c06k8s-node01\u8bbe\u7f6e\u4e3a\u53ef\u8c03\u5ea6\u5373\u53ef\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl uncordon k8s-node01<\/code><\/pre>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background wp-block-paragraph\">\u6ce8\u610f\uff1a\u5176\u4f59\u8282\u70b9\u90fd\u6309\u7167\u6b64\u65b9\u6cd5\u5207\u6362\u5230containerd\u5373\u53ef\uff0c\u5982\u679cmaster\u8282\u70b9\u5347\u7ea7\u540e\u76f8\u5173\u7684\u7ec4\u4ef6\u5982api-server\u3001controller\u7b49\u4f1a\u663e\u793a\u9519\u8bef\uff0c\u67e5\u770b\u65e5\u5fd7\u53ef\u4ee5\u770b\u51fa\uff0c\u662f\u4f7f\u7528containerd\u8fd0\u884c\u5bb9\u5668\u7684\u65f6\u5019\u4e0e\u4e4b\u524ddocker\u8fd0\u884c\u7684\u51b2\u7a81\u4e86\uff0c\u53ef\u5c06pod\u5220\u9664\u7136\u540e\u7b49\u7740\u81ea\u52a8\u91cd\u542f\u5373\u53ef<\/p>\n","protected":false},"excerpt":{"rendered":"<p>k8s\u652f\u6301\u591a\u79cd\u5bb9\u5668\u8fd0\u884c\u65f6\uff0c\u6bd4\u5982docker\u3001containerd\u7b49\uff0c\u5982\u679ck8s\u7684\u7248\u672c\u7528\u7684\u662f1.23.5\u4e4b\u524d\u7684\u7248 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":14896,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,93],"tags":[],"class_list":["post-14895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-kubernetes"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/14895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=14895"}],"version-history":[{"count":21,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/14895\/revisions"}],"predecessor-version":[{"id":14962,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/14895\/revisions\/14962"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/14896"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=14895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=14895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=14895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}