{"id":231,"date":"2026-08-13T17:06:25","date_gmt":"2026-08-13T09:06:25","guid":{"rendered":"https:\/\/blog.maoyulong.club\/?p=231"},"modified":"2026-08-13T17:06:27","modified_gmt":"2026-08-13T09:06:27","slug":"%e4%b8%80%e6%ac%a1-calico-%e5%8d%87%e7%ba%a7%e5%9f%8b%e4%b8%8b%e7%9a%84%e9%9a%90%e5%bd%a2%e9%9b%b7%ef%bc%9agitlab-521-%e4%b8%8e-ipv6-%e5%9b%9e%e6%ba%90%e6%95%85%e9%9a%9c%e6%8e%92%e6%9f%a5%e5%85%a8","status":"publish","type":"post","link":"https:\/\/blog.maoyulong.club\/?p=231","title":{"rendered":"\u4e00\u6b21 Calico \u5347\u7ea7\u57cb\u4e0b\u7684&#8221;\u9690\u5f62\u96f7&#8221;\uff1aGitLab 521 \u4e0e IPv6 \u56de\u6e90\u6545\u969c\u6392\u67e5\u5168\u8bb0\u5f55"},"content":{"rendered":"<p>&nbsp;<\/p>\n<blockquote><p>\u6545\u969c\u65f6\u95f4\uff1a2026-08-10 ~ 08-13<br \/>\n\u5f71\u54cd\u8303\u56f4\uff1a<code>gitlab.maoyulong.club<\/code>\u3001<code>blog.maoyulong.club<\/code> \u8fd4\u56de 521\uff0c\u6301\u7eed\u7ea6 3 \u5929<br \/>\n\u6839\u56e0\uff1aCalico v3.19.1 \u2192 v3.25.2 \u5347\u7ea7\u540e\uff0cCNI \u9ed8\u8ba4\u4e0d\u518d\u4e3a Pod \u5206\u914d IPv6\uff0c\u5bfc\u81f4 DCDN \u7684 IPv6 \u56de\u6e90\u94fe\u8def\u65ad\u88c2<br \/>\n\u4fee\u590d\u65b9\u5f0f\uff1a\u4fee\u6b63 CNI conflist + configMap \u6a21\u677f + \u6e05\u7406 IPAM \u810f\u6570\u636e<\/p>\n<p>ps: \u672c\u6b21\u4e8b\u6545\u590d\u76d8\u7531ai\u8f85\u52a9\u7f16\u5199<\/p><\/blockquote>\n<hr \/>\n<h2 id=\"\u4e00\u95ee\u9898\u73b0\u8c61gitlab-\u7a81\u7136\u5f00\u59cb\u8fd4\u56de-5xx\">\u4e00\u3001\u95ee\u9898\u73b0\u8c61\uff1aGitLab \u7a81\u7136\u5f00\u59cb\u8fd4\u56de 5xx<\/h2>\n<p>8 \u6708 10 \u53f7\u5de6\u53f3\uff0c\u8bbf\u95ee <code>gitlab.maoyulong.club<\/code> \u548c <code>blog.maoyulong.club<\/code> \u65f6\uff0c\u6d4f\u89c8\u5668\u5f00\u59cb\u62a5\u9519\u2014\u2014GitLab \u8fd4\u56de <strong>521<\/strong>\uff0c\u535a\u5ba2\u4e5f\u6253\u4e0d\u5f00\u3002<\/p>\n<p>521 \u662f Cloudflare \u7cfb\uff08\u8fd9\u91cc\u5b9e\u9645\u662f\u817e\u8baf EdgeOne\/DCDN\uff09\u7684\u7279\u5b9a\u9519\u8bef\u7801\uff0c\u542b\u4e49\u662f\uff1a<strong>\u6e90\u7ad9\u4e3b\u52a8\u62d2\u7edd\u4e86 CDN \u8282\u70b9\u7684\u8fde\u63a5<\/strong>\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u95ee\u9898\u4e0d\u5728\u5e94\u7528\u5c42\uff08GitLab \u672c\u8eab\u6ca1\u5d29\uff09\uff0c\u800c\u5728 CDN \u8282\u70b9\u5230\u6e90\u7ad9\u4e4b\u95f4\u7684\u56de\u6e90\u94fe\u8def\u4e0a\u3002<\/p>\n<p>\u6211\u5bb6\u7684\u670d\u52a1\u662f\u901a\u8fc7 DCDN \u56de\u6e90\u5230 homelab \u5185\u7f51\u7684\uff0c\u56de\u6e90\u5730\u5740\u914d\u7684\u662f mastera \u8282\u70b9\u7684 <strong>IPv6 \u5730\u5740<\/strong>\uff08<code>240e:...::270<\/code>\uff09\u52a0 NodePort\u3002\u6240\u4ee5\u7b2c\u4e00\u53cd\u5e94\u5c31\u662f\uff1a<strong>IPv6 \u56de\u6e90\u94fe\u8def\u65ad\u4e86<\/strong>\u3002<\/p>\n<hr \/>\n<h2 id=\"\u4e8c\u6392\u67e5\u8fc7\u7a0b\u5c42\u5c42\u5265\u6d0b\u8471\">\u4e8c\u3001\u6392\u67e5\u8fc7\u7a0b\uff1a\u5c42\u5c42\u5265\u6d0b\u8471<\/h2>\n<h3 id=\"21-\u7b2c\u4e00\u5c42\u786e\u8ba4-521-\u662f-ipv6-\u56de\u6e90\u95ee\u9898\">2.1 \u7b2c\u4e00\u5c42\uff1a\u786e\u8ba4 521 \u662f IPv6 \u56de\u6e90\u95ee\u9898<\/h3>\n<p>\u7528 curl \u76f4\u63a5\u6d4b\u4e24\u4e2a\u57df\u540d\uff1a<\/p>\n<pre><code class=\"language-shell\" lang=\"shell\">curl -6 https:\/\/gitlab.maoyulong.club\/   # IPv6 \u8bbf\u95ee \u2192 \u5931\u8d25\ncurl -4 https:\/\/gitlab.maoyulong.club\/   # IPv4 \u8bbf\u95ee \u2192 \u6b63\u5e38\n<\/code><\/pre>\n<p>\u7ed3\u679c\u5f88\u660e\u786e\uff1a<strong>IPv4 \u5168\u94fe\u8def\u6b63\u5e38\uff0cIPv6 \u5f7b\u5e95\u4e0d\u901a<\/strong>\u3002\u95ee\u9898\u9501\u5b9a\u5728\u96c6\u7fa4\u7684 IPv6 \u6570\u636e\u9762\u3002<\/p>\n<h3 id=\"22-\u7b2c\u4e8c\u5c42pod-\u6839\u672c\u6ca1\u6709-ipv6-\u5730\u5740\">2.2 \u7b2c\u4e8c\u5c42\uff1aPod \u6839\u672c\u6ca1\u6709 IPv6 \u5730\u5740<\/h3>\n<p>\u8fdb\u4e00\u6b65\u67e5 GitLab Pod \u7684\u7f51\u7edc\u4fe1\u606f\uff0c\u53d1\u73b0\u4e00\u4e2a\u5947\u602a\u7684\u73b0\u8c61\uff1a<\/p>\n<pre><code>GitLab Pod podIPs: 100.91.240.49\/32   \u2190 \u53ea\u6709 IPv4\uff0c\u6ca1\u6709 IPv6\n<\/code><\/pre>\n<p>\u800c\u5b83\u7684 Service \u5374\u662f <strong>RequireDualStack<\/strong>\uff08\u8981\u6c42\u540c\u65f6\u6709 IPv4 + IPv6\uff09\uff0c\u5e76\u4e14\u5206\u914d\u4e86 IPv6 ClusterIP <code>fd00::424d<\/code>\u3002\u4e5f\u5c31\u662f\u8bf4\uff1a<\/p>\n<blockquote><p><strong>Service \u8981\u6c42\u53cc\u6808\uff0c\u4f46\u540e\u7aef Pod \u53ea\u6709 IPv4\uff0cIPv6 ClusterIP \u7684 DNAT \u6839\u672c\u627e\u4e0d\u5230\u76ee\u6807\u3002<\/strong><\/p><\/blockquote>\n<h3 id=\"23-\u7b2c\u4e09\u5c42ipv6-\u6570\u636e\u9762\u89c4\u5219\u5b8c\u5168\u7f3a\u5931\">2.3 \u7b2c\u4e09\u5c42\uff1aIPv6 \u6570\u636e\u9762\u89c4\u5219\u5b8c\u5168\u7f3a\u5931<\/h3>\n<p>\u7ee7\u7eed\u5f80\u4e0b\u67e5\uff0c\u53d1\u73b0\u66f4\u5e95\u5c42\u7684\u8bc1\u636e\uff1a<\/p>\n<figure class=\"table-figure\">\n<table>\n<thead>\n<tr>\n<th>\u68c0\u67e5\u9879<\/th>\n<th>\u7ed3\u679c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>ip6tables-nft<\/code> \u4e2d\u7684 <code>cali-*<\/code> \u94fe<\/td>\n<td><strong>0 \u4e2a<\/strong>\uff08IPv4 \u6709 220 \u4e2a\uff09<\/td>\n<\/tr>\n<tr>\n<td>IPv6 ClusterIP <code>fd00::424d<\/code> \u53ef\u8fbe\u6027<\/td>\n<td>code=000\uff0c\u4e0d\u901a<\/td>\n<\/tr>\n<tr>\n<td>IPv6 NodePort 24725<\/td>\n<td>code=000\uff0c\u4e0d\u901a<\/td>\n<\/tr>\n<tr>\n<td>Calico IPv6 IPAM block<\/td>\n<td>\u6709 3 \u4e2a <code>fc00::\/122<\/code>\uff0c\u4f46 affinity \u4e3a <code>&lt;none&gt;<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Calico \u7684 IPv6 \u8f6c\u53d1\u94fe\uff08<code>cali-*<\/code>\uff09\u5b8c\u5168\u6ca1\u6709\u751f\u6210\uff0c\u8fd9\u8bf4\u660e Calico \u6570\u636e\u9762\u6839\u672c\u6ca1\u6709\u4e3a IPv6 \u5de5\u4f5c\u3002<\/p>\n<h3 id=\"24-\u7b2c\u56db\u5c42cni-conflist-\u7f3a\u4e86\u5173\u952e\u5b57\u6bb5\">2.4 \u7b2c\u56db\u5c42\uff1aCNI conflist \u7f3a\u4e86\u5173\u952e\u5b57\u6bb5<\/h3>\n<p>\u987a\u7740 Calico \u7684 CNI \u65e5\u5fd7\u5f80\u4e0b\u6316\uff0c\u627e\u5230\u4e86\u51b3\u5b9a\u6027\u8bc1\u636e\uff1a<\/p>\n<pre><code>CNI \u65e5\u5fd7\uff1aIPAM request count IPv4=1 IPv6=0\n<\/code><\/pre>\n<p>Pod \u521b\u5efa\u65f6\uff0cCNI \u53ea\u5411 IPAM \u7533\u8bf7\u4e86 IPv4\uff0c<strong>\u6839\u672c\u6ca1\u7533\u8bf7 IPv6<\/strong>\u3002\u800c\u6700\u540e\u4e00\u6761 <code>IPv6=1<\/code> \u7684\u8bb0\u5f55\u505c\u5728 <strong>2026-06-16<\/strong>\u3002<\/p>\n<p>\u8fd9\u4e2a\u65f6\u95f4\u70b9\u592a\u5173\u952e\u4e86\u2014\u2014<strong>\u6b63\u662f\u6211\u628a Calico \u4ece v3.19.1 \u5347\u7ea7\u5230 v3.25.2 \u7684\u90a3\u5929<\/strong>\u3002<\/p>\n<p>\u5bf9\u6bd4\u5347\u7ea7\u524d\u540e\u7684 CNI \u914d\u7f6e\uff0c\u6839\u56e0\u6d6e\u51fa\u6c34\u9762\uff1a<\/p>\n<pre><code class=\"language-jsonc\" lang=\"jsonc\">\/\/ v3.19.1 \u65f6\u671f\uff08\u6b63\u5e38\uff09\uff1aipam \u5757\u9ed8\u8ba4\u5c31\u4f1a\u5206\u914d IPv6\n{ \"ipam\": { \"type\": \"calico-ipam\", \"ipv4_pools\": [...], \"ipv6_pools\": [...] } }\n\n\/\/ v3.25.2 \u4e4b\u540e\uff08\u5f02\u5e38\uff09\uff1aassign_ipv6 \u9ed8\u8ba4\u53d8 false\uff0cPod \u53ea\u62ff IPv4\n{ \"ipam\": { \"type\": \"calico-ipam\" } }\n<\/code><\/pre>\n<p><strong>Calico v3.25 \u4e2d\uff0c<code>assign_ipv6<\/code> \u7684\u9ed8\u8ba4\u503c\u662f <code>false<\/code><\/strong>\uff0c\u800c v3.19 \u7684\u884c\u4e3a\u4e0d\u540c\u3002\u5347\u7ea7\u65f6\u53ea\u66ff\u6362\u4e86 manifest\uff0c\u6ca1\u6709\u663e\u5f0f\u52a0\u4e0a <code>assign_ipv6: \"true\"<\/code>\uff0c\u4e8e\u662f\u4ece\u5347\u7ea7\u90a3\u4e00\u523b\u8d77\uff0c\u6240\u6709\u65b0\u5efa Pod \u90fd\u4e0d\u518d\u83b7\u5f97 IPv6\u3002<\/p>\n<h3 id=\"25-\u7b2c\u4e94\u5c42\u771f\u6b63\u7684\u6301\u4e45\u6839\u56e0\u5728-configmap\">2.5 \u7b2c\u4e94\u5c42\uff1a\u771f\u6b63\u7684\u6301\u4e45\u6839\u56e0\u5728 configMap<\/h3>\n<p>\u4e00\u5f00\u59cb\u6211\u4ee5\u4e3a\u6539\u4e00\u4e0b\u5404\u8282\u70b9\u4e0a\u7684 <code>\/etc\/cni\/net.d\/10-calico.conflist<\/code> \u5c31\u591f\u4e86\u3002\u4f46\u6df1\u6316 install-cni \u7684\u673a\u5236\u540e\u53d1\u73b0\uff1a<\/p>\n<blockquote><p><strong>Calico \u7684 install-cni initContainer \u6bcf\u6b21\u542f\u52a8\u65f6\uff0c\u90fd\u4f1a\u7528 configMap <code>calico-config<\/code> \u91cc\u7684 <code>cni_network_config<\/code> \u6a21\u677f\u91cd\u65b0\u751f\u6210 conflist\uff0c\u8986\u76d6\u8282\u70b9\u4e0a\u7684\u6587\u4ef6\u3002<\/strong><\/p><\/blockquote>\n<p>\u6240\u4ee5\u5373\u4f7f\u624b\u52a8\u6539\u4e86\u8282\u70b9\u6587\u4ef6\uff0c\u53ea\u8981 calico-node \u91cd\u542f\uff0c\u6539\u52a8\u5c31\u4f1a\u88ab\u6a21\u677f\u8986\u76d6\u56de\u9000\u3002<strong>\u771f\u6b63\u7684\u6301\u4e45\u6839\u56e0\u5728 configMap \u7684\u6a21\u677f\u91cc<\/strong>\u2014\u2014\u5b83\u7684 <code>ipam<\/code> \u5757\u540c\u6837\u53ea\u6709 <code>\"type\": \"calico-ipam\"<\/code>\uff0c\u7f3a <code>assign_ipv6<\/code>\u3002<\/p>\n<p>\u6b64\u5916\u8fd8\u53d1\u73b0\u4e00\u4e2a\u8fde\u5e26\u95ee\u9898\uff1amasterb\u3001masterc \u4e24\u4e2a\u8282\u70b9\u4e0a\u7684 conflist\uff0c<code>nodename<\/code> \u5b57\u6bb5\u90fd\u9519\u5199\u6210\u4e86 <code>mastera<\/code>\uff08\u5386\u53f2\u624b\u52a8\u8986\u76d6\u6c61\u67d3\uff09\u3002\u8fd9\u5bfc\u81f4\u8fd9\u4e24\u4e2a\u8282\u70b9\u4e0a\u7684 Pod \u4f1a\u8dd1\u53bb mastera \u7684 IPAMBlock \u91cc\u62a2 IP\uff0c\u57cb\u4e0b\u4e86\u540e\u9762 IPAM \u810f\u6570\u636e\u7684\u9690\u60a3\u3002<\/p>\n<hr \/>\n<h2 id=\"\u4e09\u6839\u56e0\u65f6\u95f4\u7ebf\u8fd8\u539f\">\u4e09\u3001\u6839\u56e0\u65f6\u95f4\u7ebf\u8fd8\u539f<\/h2>\n<p>\u628a\u6574\u4ef6\u4e8b\u4e32\u8d77\u6765\uff0c\u5176\u5b9e\u662f\u4e00\u6761\u6e05\u6670\u7684\u56e0\u679c\u94fe\uff1a<\/p>\n<pre><code>2026-06-16  Calico v3.19.1 \u2192 v3.25.2 \u5347\u7ea7\n              \u2193  \u5347\u7ea7\u540e assign_ipv6 \u9ed8\u8ba4 false\uff0cconfigMap \u6a21\u677f\u4e5f\u6ca1\u5199\u6b7b\n           \u4ece\u6b64\u6240\u6709\u65b0\u5efa Pod \u90fd\u4e0d\u518d\u83b7\u5f97 IPv6\n              \u2193  \u4f46\u8001 Pod \u8fd8\u5e26\u7740 IPv6\uff0c\u77ed\u671f\u5185\u670d\u52a1\"\u770b\u8d77\u6765\u6b63\u5e38\"\n2026-08-10  \u4e4b\u524d\u67d0\u6b21 GitLab\/WordPress Pod \u91cd\u5efa\uff0c\u65b0 Pod \u53d8\u6210\u7eaf IPv4\n              \u2193  DCDN \u6e90\u7ad9 IPv6 \u56de\u6e90\u5f7b\u5e95\u65ad\u94fe\n           gitlab.maoyulong.club \/ blog.maoyulong.club \u8fd4\u56de 521\n<\/code><\/pre>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a<strong>\u4e24\u4e2a\u6708\u524d\u7684\u4e00\u6b21 CNI \u5347\u7ea7\uff0c\u9759\u9ed8\u5730\u5173\u6389\u4e86 IPv6 \u5206\u914d\uff0c\u76f4\u5230\u4e1a\u52a1 Pod \u91cd\u5efa\u624d\u628a\u96f7\u5f15\u7206\u3002<\/strong><\/p>\n<hr \/>\n<h2 id=\"\u56db\u4fee\u590d\u8fc7\u7a0b\">\u56db\u3001\u4fee\u590d\u8fc7\u7a0b<\/h2>\n<h3 id=\"41-\u4fee\u590d-cni-conflist\u4e09\u4e2a\u8282\u70b9\">4.1 \u4fee\u590d CNI conflist\uff08\u4e09\u4e2a\u8282\u70b9\uff09<\/h3>\n<p>\u5728 conflist \u7684 <code>ipam<\/code> \u5757\u8865\u4e0a\u4e24\u4e2a\u5b57\u6bb5\uff0c\u5e76\u987a\u5e26\u4fee\u6b63 masterb\/masterc \u7684 <code>nodename<\/code>\uff1a<\/p>\n<pre><code class=\"language-json\" lang=\"json\">{\n  \"ipam\": {\n    \"type\": \"calico-ipam\",\n    \"assign_ipv4\": \"true\",\n    \"assign_ipv6\": \"true\",\n    \"ipv4_pools\": [\"default-ipv4-ippool\"],\n    \"ipv6_pools\": [\"default-ipv6-ippool\"]\n  }\n}\n<\/code><\/pre>\n<h3 id=\"42-\u6301\u4e45\u5316\u4fee\u590d-configmap-\u6a21\u677f\">4.2 \u6301\u4e45\u5316\u4fee\u590d configMap \u6a21\u677f<\/h3>\n<p>\u8fd9\u4e00\u6b65\u624d\u662f\u6cbb\u672c\u3002\u4fee\u6539 <code>kube-system\/calico-config<\/code> \u7684 <code>cni_network_config<\/code>\uff0c\u8ba9 install-cni \u672a\u6765\u751f\u6210 conflist \u65f6<strong>\u5929\u7136\u5e26\u4e0a<\/strong> <code>assign_ipv6<\/code>\uff0c\u9632\u6b62\u4e0b\u6b21 calico-node \u91cd\u542f\u65f6\u56de\u9000\u3002<\/p>\n<h3 id=\"43-\u91cd\u5efa\u5173\u952e-pod\">4.3 \u91cd\u5efa\u5173\u952e Pod<\/h3>\n<p>\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u6eda\u52a8\u91cd\u5efa GitLab \u548c WordPress\uff0c\u8ba9\u5b83\u4eec\u91cd\u65b0\u83b7\u53d6\u53cc\u6808 IP\uff1a<\/p>\n<pre><code>gitlab-ee:  100.91.240.15 + fc00::8f6a:a5eb:fa40:23c5:467a   \u2705 \u53cc\u6808\nwordpress:  100.91.240.38 + fc00::...:4650                     \u2705 \u53cc\u6808\n<\/code><\/pre>\n<h3 id=\"44-\u9a8c\u8bc1\u7ed3\u679c\">4.4 \u9a8c\u8bc1\u7ed3\u679c<\/h3>\n<figure class=\"table-figure\">\n<table>\n<thead>\n<tr>\n<th>\u9a8c\u8bc1\u9879<\/th>\n<th>\u7ed3\u679c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>blog.maoyulong.club<\/code>\uff08IPv6\uff09<\/td>\n<td>HTTP <strong>200<\/strong> \u2705<\/td>\n<\/tr>\n<tr>\n<td><code>gitlab.maoyulong.club<\/code>\uff08IPv6\uff09<\/td>\n<td>HTTP <strong>302<\/strong> \u2705\uff08\u6b63\u5e38\u8df3\u8f6c\u767b\u5f55\u9875\uff09<\/td>\n<\/tr>\n<tr>\n<td>masterb\/masterc \u6d4b\u8bd5 Pod<\/td>\n<td>\u5747\u62ff\u5230\u53cc\u6808 IP \u2705<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u4e24\u4e2a\u57df\u540d\u7684 IPv6 \u56de\u6e90\u94fe\u8def\u5f7b\u5e95\u6062\u590d\u3002<\/p>\n<hr \/>\n<h2 id=\"\u4e94\u6e05\u7406-ipam-\u810f\u6570\u636e\u8fde\u5e26\u95ee\u9898\">\u4e94\u3001\u6e05\u7406 IPAM \u810f\u6570\u636e\uff08\u8fde\u5e26\u95ee\u9898\uff09<\/h2>\n<p>\u4fee\u590d\u56de\u6e90\u540e\uff0c\u53d1\u73b0 nodename \u9519\u8bef\u7684\u9057\u7559\u5f71\u54cd\u8fd8\u6ca1\u6e05\u5e72\u51c0\uff1a<strong>7 \u4e2a\u8dd1\u5728 masterb \u4e0a\u7684 Pod\uff0c\u5386\u53f2\u6027\u5730\u4ece mastera \u7684 IPAMBlock\uff08<code>100.91.240.0\/26<\/code>\uff09\u91cc\u5206\u914d\u4e86 IP<\/strong>\uff0c\u5f62\u6210\u8de8\u8282\u70b9\u5360\u7528\u3002<\/p>\n<p>\u5176\u4e2d <code>.1 \/ .8 \/ .50 \/ .62<\/code> \u5728 IPAM \u91cc\u5df2\u7ecf\u663e\u793a\u4e3a free\uff08\u4f1a\u518d\u6b21\u88ab\u5206\u914d\u51fa\u53bb\uff09\uff0c\u8fd9\u6b63\u662f\u4e4b\u524d WordPress \u53cd\u590d\u62a5 <code>route already exists tunl0<\/code> \u51b2\u7a81\u7684\u5143\u51f6\u3002<\/p>\n<p>\u5904\u7406\u65b9\u5f0f\uff1a\u9010\u4e2a\u91cd\u5efa\u8fd9 7 \u4e2a Pod\uff0c\u8ba9\u5b83\u4eec\u56de\u5230\u5404\u81ea\u8282\u70b9\u7684 IPAMBlock\uff1a<\/p>\n<figure class=\"table-figure\">\n<table>\n<thead>\n<tr>\n<th>Pod<\/th>\n<th>\u539f\u9519\u8bef IP\uff08mastera block\uff09<\/th>\n<th>\u65b0\u6b63\u786e IP<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>minio<\/td>\n<td>100.91.240.50<\/td>\n<td>100.91.240.49 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>coredns<\/td>\n<td>100.91.240.1<\/td>\n<td>100.91.240.11 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>mindustry<\/td>\n<td>100.91.240.66<\/td>\n<td>100.127.90.251 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>jellyfin<\/td>\n<td>100.91.240.67<\/td>\n<td>100.127.90.245 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>share-manager\uff08harbor scandata\uff09<\/td>\n<td>100.91.240.8<\/td>\n<td>100.127.90.224 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>share-manager\uff08minio 4Ti\uff09<\/td>\n<td>100.91.240.65<\/td>\n<td>100.127.90.250 + IPv6<\/td>\n<\/tr>\n<tr>\n<td>instance-manager\uff08masterb\uff09<\/td>\n<td>100.91.240.62<\/td>\n<td>100.127.90.246 + IPv6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>\u6e05\u7406\u540e\u91cd\u65b0\u8dd1\u4e86\u4e00\u904d IPAM \u4e00\u81f4\u6027\u5206\u6790\uff1a<\/p>\n<ul>\n<li><strong>IPAM \u6cc4\u6f0f<\/strong>\uff08\u5df2\u5206\u914d\u4f46\u65e0 Pod\uff09\uff1a<strong>0<\/strong><\/li>\n<li><strong>\u53cd\u5411\u6cc4\u6f0f<\/strong>\uff08Pod \u6709 IP \u4f46 IPAM \u65e0\u8bb0\u5f55\uff09\uff1a<strong>0<\/strong>\uff08\u4ec5\u5269 hostNetwork Pod\uff0c\u5c5e\u6b63\u5e38\uff09<\/li>\n<\/ul>\n<h3 id=\"\u4e00\u4e2a\u5c0f\u63d2\u66f2\">\u4e00\u4e2a\u5c0f\u63d2\u66f2<\/h3>\n<p>\u91cd\u5efa instance-manager\uff08masterb \u7684\u5377\u7ba1\u7406\u7ec4\u4ef6\uff09\u65f6\uff0cmasterb \u4e0a\u6240\u6709 Longhorn \u5377\u77ed\u6682\u4e2d\u65ad\uff0c\u8fde\u9501\u5bfc\u81f4 <code>harbor-database-0<\/code> \u91cd\u542f \u2192 harbor-core \u77ed\u6682\u8fde\u4e0d\u4e0a\u5e93 \u2192 <code>harbor-jobservice<\/code> \u5d29\u6e83\u4e86 3 \u6b21\u3002\u8fd9\u662f\u5220\u9664\u5377\u7ba1\u7406\u7ec4\u4ef6\u7684<strong>\u9884\u671f\u526f\u4f5c\u7528<\/strong>\uff0c\u51e0\u5206\u949f\u5185\u5168\u90e8\u81ea\u6108\uff0c\u65e0\u9700\u5e72\u9884\u3002<\/p>\n<hr \/>\n<h2 id=\"\u516d\u7ecf\u9a8c\u4e0e\u53cd\u601d\">\u516d\u3001\u7ecf\u9a8c\u4e0e\u53cd\u601d<\/h2>\n<h3 id=\"61-\u5347\u7ea7-cni-\u4e00\u5b9a\u8981\u6838\u5bf9\u9ed8\u8ba4\u503c\u53d8\u5316\">6.1 \u5347\u7ea7 CNI \u4e00\u5b9a\u8981\u6838\u5bf9&#8221;\u9ed8\u8ba4\u503c\u53d8\u5316&#8221;<\/h3>\n<p>\u8fd9\u6b21\u6700\u5927\u7684\u5751\u662f <strong>Calico v3.25 \u628a <code>assign_ipv6<\/code> \u7684\u9ed8\u8ba4\u503c\u6539\u6210\u4e86 <code>false<\/code><\/strong>\u3002\u5347\u7ea7 manifest \u65f6\u53ea\u5173\u6ce8\u4e86\u663e\u5f0f\u914d\u7f6e\u9879\uff08CIDR\u3001IPIP\u3001\u955c\u50cf\u6e90\u7b49\uff09\uff0c\u6f0f\u6389\u4e86\u8fd9\u79cd&#8221;\u9ed8\u8ba4\u884c\u4e3a\u53d8\u5316&#8221;\u3002\u6559\u8bad\u662f\uff1a<strong>\u5927\u7248\u672c\u5347\u7ea7\u65f6\uff0c\u9664\u4e86 diff \u81ea\u5df1\u7684\u914d\u7f6e\uff0c\u8fd8\u8981\u53bb\u7ffb changelog \u770b\u9ed8\u8ba4\u503c\u6709\u6ca1\u6709\u53d8\u3002<\/strong><\/p>\n<h3 id=\"62-\u522b\u88ab\u8868\u9762\u6b63\u5e38\u9a97\u4e86\">6.2 \u522b\u88ab&#8221;\u8868\u9762\u6b63\u5e38&#8221;\u9a97\u4e86<\/h3>\n<p>\u6545\u969c\u5176\u5b9e\u662f\u4e24\u4e2a\u6708\u524d\u5c31\u57cb\u4e0b\u7684\uff0c\u4f46\u56e0\u4e3a\u8001 Pod \u8fd8\u5e26\u7740 IPv6\uff0c\u670d\u52a1\u4e00\u76f4&#8221;\u770b\u8d77\u6765\u6b63\u5e38&#8221;\u3002\u76f4\u5230\u67d0\u6b21 Pod \u81ea\u7136\u91cd\u5efa\uff0c\u65b0 Pod \u53d8\u6210\u7eaf IPv4\uff0c\u624d\u628a\u96f7\u5f15\u7206\u3002<strong>&#8220;\u914d\u7f6e\u53d8\u66f4\u540e\u77ed\u671f\u6b63\u5e38&#8221;\u4e0d\u7b49\u4e8e&#8221;\u6ca1\u95ee\u9898&#8221;\uff0c\u5c24\u5176\u662f CNI \u8fd9\u79cd\u5f71\u54cd\u6240\u6709\u65b0\u5efa\u8d44\u6e90\u7684\u5e95\u5c42\u7ec4\u4ef6\u3002<\/strong><\/p>\n<h3 id=\"63-\u6539\u8282\u70b9\u6587\u4ef6\u662f\u6cbb\u6807\u6539-configmap-\u624d\u662f\u6cbb\u672c\">6.3 \u6539\u8282\u70b9\u6587\u4ef6\u662f\u6cbb\u6807\uff0c\u6539 configMap \u624d\u662f\u6cbb\u672c<\/h3>\n<p>\u4e00\u5f00\u59cb\u6539 conflist \u53ea\u662f\u8ba9\u5f53\u524d Pod \u6062\u590d\u4e86\u3002\u5982\u679c\u4e0d\u8ffd\u5230 install-cni \u4ece configMap \u751f\u6210\u914d\u7f6e\u8fd9\u4e00\u5c42\uff0c\u4e0b\u6b21 calico-node \u4e00\u91cd\u542f\uff0c\u6539\u52a8\u5c31\u4f1a\u88ab\u9759\u9ed8\u8986\u76d6\u56de\u9000\uff0c\u6545\u969c\u5fc5\u7136\u590d\u53d1\u3002<strong>\u6392\u67e5\u65f6\u591a\u95ee\u4e00\u53e5&#8221;\u8fd9\u4e2a\u6587\u4ef6\u662f\u8c01\u751f\u6210\u7684\u3001\u4ec0\u4e48\u65f6\u5019\u4f1a\u91cd\u65b0\u751f\u6210&#8221;\uff0c\u80fd\u5c11\u8d70\u5f88\u591a\u5f2f\u8def\u3002<\/strong><\/p>\n<h3 id=\"64-\u4e24\u4e2a\u770b\u4f3c\u72ec\u7acb\u7684\u95ee\u9898\u53ef\u80fd\u662f\u540c\u4e00\u4e2a\u6839\u56e0\">6.4 \u4e24\u4e2a\u770b\u4f3c\u72ec\u7acb\u7684\u95ee\u9898\uff0c\u53ef\u80fd\u662f\u540c\u4e00\u4e2a\u6839\u56e0<\/h3>\n<p>\u8fd9\u6b21\u4e8b\u4ef6\u91cc\uff0cIPv6 \u56de\u6e90\u5931\u8d25\u3001WordPress \u7684 <code>route already exists tunl0<\/code> \u51b2\u7a81\uff0c\u8868\u9762\u770b\u662f\u4e24\u4e2a\u95ee\u9898\uff0c\u5b9e\u9645\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u6839\u56e0\u94fe\uff1a<strong>Calico \u5347\u7ea7 + nodename \u6c61\u67d3<\/strong>\u3002\u6392\u67e5\u65f6\u628a\u96f6\u6563\u75c7\u72b6\u4e32\u8d77\u6765\u770b\uff0c\u5f80\u5f80\u80fd\u627e\u5230\u66f4\u6df1\u5c42\u7684\u5171\u540c\u6e90\u5934\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u6545\u969c\u65f6\u95f4\uff1a2026-08-10 ~ 08-13 \u5f71\u54cd\u8303\u56f4\uff1agitlab.maoyulong.cl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":232,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":1,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=\/wp\/v2\/media\/232"}],"wp:attachment":[{"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.maoyulong.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}