{"id":741,"date":"2025-12-12T10:17:23","date_gmt":"2025-12-12T02:17:23","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=741"},"modified":"2025-12-12T10:17:23","modified_gmt":"2025-12-12T02:17:23","slug":"%e3%80%90%e8%bf%90%e7%bb%b4%e3%80%91k8s-%e9%9b%86%e7%be%a4%e9%83%a8%e7%bd%b2%e7%b3%bb%e5%88%97%e4%b9%8b-etcd-%e9%9b%86%e7%be%a4%e6%90%ad%e5%bb%ba%ef%bc%88%e4%ba%8c%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/12\/%e3%80%90%e8%bf%90%e7%bb%b4%e3%80%91k8s-%e9%9b%86%e7%be%a4%e9%83%a8%e7%bd%b2%e7%b3%bb%e5%88%97%e4%b9%8b-etcd-%e9%9b%86%e7%be%a4%e6%90%ad%e5%bb%ba%ef%bc%88%e4%ba%8c%ef%bc%89\/","title":{"rendered":"\u3010\u8fd0\u7ef4\u3011K8S \u96c6\u7fa4\u90e8\u7f72\u7cfb\u5217\u4e4b ETCD \u96c6\u7fa4\u642d\u5efa\uff08\u4e8c\uff09"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u4e3a\u4f60\u63d0\u4f9b\u4e00\u5957&nbsp;<strong>\u5168\u9762\u3001\u5de5\u7a0b\u5316\u3001\u53ef\u76f4\u63a5\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684 K8S ETCD \u96c6\u7fa4\u642d\u5efa\uff08\u7b2c\u4e8c\u90e8\u5206\uff09\u8bb2\u89e3<\/strong>\uff0c\u5305\u62ec\u67b6\u6784\u3001\u90e8\u7f72\u65b9\u5f0f\u3001\u8bc1\u4e66\u3001systemd \u914d\u7f6e\u3001\u5065\u5eb7\u68c0\u67e5\u53ca\u5e38\u89c1\u9519\u8bef\u6392\u67e5\uff0c\u9002\u7528\u4e8e\u4e8c\u8fdb\u5236\u90e8\u7f72\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u9700\u8981\uff0c\u6211\u8fd8\u53ef\u4ee5\u4e3a\u4f60\u751f\u6210\u5bf9\u5e94\u7684 Shell \u811a\u672c\u3001Ansible Playbook \u6216\u5b8c\u6574\u90e8\u7f72\u6587\u6863\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u3010\u8fd0\u7ef4\u3011K8S \u96c6\u7fa4\u90e8\u7f72\u7cfb\u5217\u4e4b ETCD \u96c6\u7fa4\u642d\u5efa\uff08\u4e8c\uff09<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u90e8\u5206\u91cd\u70b9\u5185\u5bb9\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>ETCD \u96c6\u7fa4\u67b6\u6784\u4e0e\u7ec4\u4ef6\u8bf4\u660e<\/li>\n\n\n\n<li>\u8bc1\u4e66\uff08CA\/Server\/Peer\uff09\u521b\u5efa<\/li>\n\n\n\n<li>ETCD \u4e09\u8282\u70b9\u96c6\u7fa4\u5b89\u88c5\u4e0e systemd \u914d\u7f6e<\/li>\n\n\n\n<li>\u96c6\u7fa4\u521d\u59cb\u5316\u4e0e\u542f\u52a8<\/li>\n\n\n\n<li>\u5065\u5eb7\u68c0\u67e5\u4e0e\u6570\u636e\u9a8c\u8bc1<\/li>\n\n\n\n<li>\u5e38\u89c1\u9519\u8bef\u6392\u67e5\uff08\u9ad8\u9891\u751f\u4ea7\u4e8b\u6545\uff09<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e00\u3001ETCD \u96c6\u7fa4\u67b6\u6784\u8bf4\u660e<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ad8\u53ef\u7528\u751f\u4ea7\u73af\u5883\u901a\u5e38\u90e8\u7f72&nbsp;<strong>\u4e09\u8282\u70b9 ETCD \u96c6\u7fa4<\/strong>\uff08\u4fdd\u6301\u5947\u6570\u8282\u70b9\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u8282\u70b9<\/th><th>\u89d2\u8272<\/th><th>IP \u793a\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>etcd-1<\/td><td>member<\/td><td>192.168.10.11<\/td><\/tr><tr><td>etcd-2<\/td><td>member<\/td><td>192.168.10.12<\/td><\/tr><tr><td>etcd-3<\/td><td>member<\/td><td>192.168.10.13<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf\u4e2a ETCD \u8282\u70b9\u6709\u4e24\u4e2a\u76d1\u542c\u7aef\u53e3\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7aef\u53e3<\/th><th>\u7528\u9014<\/th><\/tr><\/thead><tbody><tr><td>2379<\/td><td>\u5ba2\u6237\u7aef\u8bbf\u95ee\uff08\u5982 kube-apiserver\uff09<\/td><\/tr><tr><td>2380<\/td><td>\u96c6\u7fa4\u5185\u90e8 peer \u901a\u4fe1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e8c\u3001\u51c6\u5907\u5de5\u4f5c\uff08\u8bc1\u4e66\u521b\u5efa\uff09<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">ETCD \u96c6\u7fa4\u5fc5\u987b\u4f7f\u7528 TLS \u8bc1\u4e66\uff0c\u5426\u5219\u65e0\u6cd5\u4e0e K8S apiserver \u96c6\u6210\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bc1\u4e66\u5305\u62ec\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>CA \u8bc1\u4e66\uff08ca.pem\uff09<\/strong><\/li>\n\n\n\n<li><strong>Server \u8bc1\u4e66\uff08server.pem\uff09<\/strong><\/li>\n\n\n\n<li><strong>Peer \u8bc1\u4e66\uff08peer.pem\uff09<\/strong><\/li>\n\n\n\n<li><strong>Client \u8bc1\u4e66\uff08\u5ba2\u6237\u7aef\u4f7f\u7528\uff09<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f60\u53ef\u4ee5\u7528&nbsp;<code>cfssl<\/code>&nbsp;\u751f\u6210\uff1a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2.1 \u4e0b\u8f7d cfssl<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwget https:\/\/pkg.cfssl.org\/R1.2\/cfssl_linux-amd64\nwget https:\/\/pkg.cfssl.org\/R1.2\/cfssljson_linux-amd64\nchmod +x cfssl_linux-amd64 cfssljson_linux-amd64\nmv cfssl_linux-amd64 \/usr\/local\/bin\/cfssl\nmv cfssljson_linux-amd64 \/usr\/local\/bin\/cfssljson\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2.2 \u751f\u6210 CA \u914d\u7f6e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa&nbsp;<code>ca-config.json<\/code>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;signing&quot;: {\n    &quot;default&quot;: {\n      &quot;expiry&quot;: &quot;87600h&quot;\n    },\n    &quot;profiles&quot;: {\n      &quot;server&quot;: {\n        &quot;expiry&quot;: &quot;87600h&quot;,\n        &quot;usages&quot;: &#x5B;&quot;signing&quot;, &quot;key encipherment&quot;, &quot;server auth&quot;]\n      },\n      &quot;peer&quot;: {\n        &quot;expiry&quot;: &quot;87600h&quot;,\n        &quot;usages&quot;: &#x5B;&quot;signing&quot;, &quot;key encipherment&quot;, &quot;server auth&quot;, &quot;client auth&quot;]\n      }\n    }\n  }\n}\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa&nbsp;<code>ca-csr.json<\/code>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;CN&quot;: &quot;kubernetes&quot;,\n  &quot;key&quot;: { &quot;algo&quot;: &quot;rsa&quot;, &quot;size&quot;: 2048 },\n  &quot;names&quot;: &#x5B;{ &quot;C&quot;: &quot;CN&quot;, &quot;L&quot;: &quot;Beijing&quot;, &quot;O&quot;: &quot;Kubernetes&quot;, &quot;OU&quot;: &quot;CA&quot;, &quot;ST&quot;: &quot;Beijing&quot; }]\n}\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u751f\u6210 CA\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncfssl gencert -initca ca-csr.json | cfssljson -bare ca\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2.3 \u751f\u6210 ETCD Server \u4e0e Peer \u8bc1\u4e66<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5 etcd-1 \u4e3a\u4f8b\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa&nbsp;<code>etcd1-csr.json<\/code>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;CN&quot;: &quot;etcd&quot;,\n  &quot;hosts&quot;: &#x5B;\n    &quot;127.0.0.1&quot;,\n    &quot;192.168.10.11&quot;,\n    &quot;etcd-1&quot;\n  ],\n  &quot;key&quot;: { &quot;algo&quot;: &quot;rsa&quot;, &quot;size&quot;: 2048 }\n}\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u751f\u6210\u8bc1\u4e66\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncfssl gencert \\\n  -ca=ca.pem \\\n  -ca-key=ca-key.pem \\\n  -config=ca-config.json \\\n  -profile=peer \\\n  etcd1-csr.json | cfssljson -bare etcd1\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u8282\u70b9\u5206\u522b\u751f\u6210\u5373\u53ef\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e09\u3001ETCD \u96c6\u7fa4\u5b89\u88c5\u4e0e systemd \u914d\u7f6e<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">3.1 \u4e0b\u8f7d\u4e8c\u8fdb\u5236\u5305<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwget https:\/\/github.com\/etcd-io\/etcd\/releases\/download\/v3.5.12\/etcd-v3.5.12-linux-amd64.tar.gz\ntar -xvf etcd-v3.5.12-linux-amd64.tar.gz\nmv etcd-v3.5.12-linux-amd64\/etcd* \/usr\/local\/bin\/\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3.2 \u914d\u7f6e\u76ee\u5f55<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmkdir -p \/etc\/etcd \/var\/lib\/etcd\ncp ca.pem etcd1.pem etcd1-key.pem \/etc\/etcd\/\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3.3 \u521b\u5efa systemd \u914d\u7f6e\uff08etcd-1\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u521b\u5efa&nbsp;<code>\/usr\/lib\/systemd\/system\/etcd.service<\/code>\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;Unit]\nDescription=etcd\nAfter=network.target\n\n&#x5B;Service]\nUser=root\nType=notify\nExecStart=\/usr\/local\/bin\/etcd \\\n  --name etcd-1 \\\n  --data-dir=\/var\/lib\/etcd \\\n  --listen-client-urls=https:\/\/192.168.10.11:2379 \\\n  --advertise-client-urls=https:\/\/192.168.10.11:2379 \\\n  --listen-peer-urls=https:\/\/192.168.10.11:2380 \\\n  --initial-advertise-peer-urls=https:\/\/192.168.10.11:2380 \\\n  --initial-cluster=etcd-1=https:\/\/192.168.10.11:2380,etcd-2=https:\/\/192.168.10.12:2380,etcd-3=https:\/\/192.168.10.13:2380 \\\n  --initial-cluster-token=etcd-cluster \\\n  --initial-cluster-state=new \\\n  --client-cert-auth \\\n  --trusted-ca-file=\/etc\/etcd\/ca.pem \\\n  --cert-file=\/etc\/etcd\/etcd1.pem \\\n  --key-file=\/etc\/etcd\/etcd1-key.pem \\\n  --peer-cert-file=\/etc\/etcd\/etcd1.pem \\\n  --peer-key-file=\/etc\/etcd\/etcd1-key.pem \\\n  --peer-trusted-ca-file=\/etc\/etcd\/ca.pem \\\n  --peer-client-cert-auth\n\nRestart=on-failure\nRestartSec=5\n\n&#x5B;Install]\nWantedBy=multi-user.target\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u5728 etcd-2 \/ etcd-3 \u4fee\u6539 name\u3001IP\u3001\u8bc1\u4e66\u540d\u79f0\u5373\u53ef\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u56db\u3001\u542f\u52a8\u96c6\u7fa4<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystemctl daemon-reload\nsystemctl enable etcd\nsystemctl start etcd\nsystemctl status etcd\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u4e09\u4e2a\u8282\u70b9\u4f9d\u6b21\u542f\u52a8\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e94\u3001\u5065\u5eb7\u68c0\u67e5\u4e0e\u96c6\u7fa4\u72b6\u6001\u9a8c\u8bc1<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">5.1 \u67e5\u770b\u96c6\u7fa4\u6210\u5458<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nETCDCTL_API=3 etcdctl \\\n  --endpoints=https:\/\/192.168.10.11:2379 \\\n  --cacert=\/etc\/etcd\/ca.pem \\\n  --cert=\/etc\/etcd\/etcd1.pem \\\n  --key=\/etc\/etcd\/etcd1-key.pem \\\n  member list\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">5.2 \u5065\u5eb7\u68c0\u67e5<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nETCDCTL_API=3 etcdctl \\\n  --endpoints=https:\/\/192.168.10.11:2379 \\\n  --cacert=\/etc\/etcd\/ca.pem \\\n  --cert=\/etc\/etcd\/etcd1.pem \\\n  --key=\/etc\/etcd\/etcd1-key.pem \\\n  endpoint health\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u516d\u3001\u751f\u4ea7\u73af\u5883\u5e38\u89c1\u9519\u8bef\u6392\u67e5<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">1. \u96c6\u7fa4\u65e0\u6cd5\u542f\u52a8\uff08leader \u9009\u4e3e\u5931\u8d25\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u56e0\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u65f6\u95f4\u4e0d\u540c\u6b65<\/li>\n\n\n\n<li>\u8bc1\u4e66 CN \u4e0e IP \u4e0d\u5339\u914d<\/li>\n\n\n\n<li>peer URL \u5199\u9519<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7edf\u4e00\u4f7f\u7528 chrony\/NTP<\/li>\n\n\n\n<li>\u91cd\u65b0\u751f\u6210 hosts \u4e2d\u6b63\u786e\u5305\u542b IP \u7684\u8bc1\u4e66<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u201ccertificate is not valid for any names\u201d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf4\u660e\u8bc1\u4e66\u91cc\u6ca1\u6709\u5bf9\u5e94 IP \u6216 hostname\u3002<br>\u9700\u8981\u91cd\u65b0\u751f\u6210 peer\/server \u8bc1\u4e66\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u201cconnection refused\u201d \u6216 \u201cEOF\u201d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u662f\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9632\u706b\u5899\u672a\u5f00\u653e 2379\/2380<\/li>\n\n\n\n<li>\u670d\u52a1\u672a\u542f\u52a8<\/li>\n\n\n\n<li>\u8bc1\u4e66\u6743\u9650\uff08600\uff09\u9519\u8bef<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u542f\u52a8\u540e\u72b6\u6001\u6b63\u5e38\u4f46 apiserver \u65e0\u6cd5\u8bbf\u95ee etcd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>apiserver \u4f7f\u7528\u7684 client \u8bc1\u4e66\u5fc5\u987b\u6765\u81ea CA<\/li>\n\n\n\n<li>apiserver \u6307\u5b9a\u7684 etcd endpoint \u5fc5\u987b\u662f https \u94fe\u63a5<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u5982\u679c\u4f60\u9700\u8981\uff0c\u6211\u53ef\u4ee5\u8fdb\u4e00\u6b65\u4e3a\u4f60\u751f\u6210\uff1a<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4e09\u8282\u70b9\u81ea\u52a8\u5316\u5b89\u88c5\u811a\u672c\uff08bash\uff09<\/li>\n\n\n\n<li>Ansible Playbook \u7248\u672c<\/li>\n\n\n\n<li>Kubernetes \u5b8c\u6574\u4e8c\u8fdb\u5236\u90e8\u7f72\u7cfb\u5217\u6587\u6863<\/li>\n\n\n\n<li>\u9ad8\u53ef\u7528\u6a21\u5f0f\uff08Keepalived + Nginx\uff09\u63a5\u5165\u65b9\u6848<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u65f6\u544a\u8bc9\u6211\u4f60\u9700\u8981\u54ea\u4e00\u79cd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u4e3a\u4f60\u63d0\u4f9b\u4e00\u5957&nbsp;\u5168\u9762\u3001\u5de5\u7a0b\u5316\u3001\u53ef\u76f4\u63a5\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684 K8S ETCD&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/12\/%e3%80%90%e8%bf%90%e7%bb%b4%e3%80%91k8s-%e9%9b%86%e7%be%a4%e9%83%a8%e7%bd%b2%e7%b3%bb%e5%88%97%e4%b9%8b-etcd-%e9%9b%86%e7%be%a4%e6%90%ad%e5%bb%ba%ef%bc%88%e4%ba%8c%ef%bc%89\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-741","post","type-post","status-publish","format-standard","hentry","category-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=741"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/741\/revisions"}],"predecessor-version":[{"id":742,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/741\/revisions\/742"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}