{"id":50513,"date":"2025-08-10T09:35:03","date_gmt":"2025-08-10T01:35:03","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/50513.html"},"modified":"2025-08-10T09:35:03","modified_gmt":"2025-08-10T01:35:03","slug":"%e3%80%8a%e6%98%9f%e5%b0%98%e5%9b%9e%e5%93%8d%ef%bc%9a%e6%95%b0%e6%8d%ae%e4%b9%8b%e6%b2%b3%e7%9a%84%e5%ae%88%e6%8a%a4%e8%80%85%e3%80%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/50513.html","title":{"rendered":"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013457-6897f74179533.png\" \/><\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013458-6897f74230269.png\" \/>\u00a0<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013459-6897f74361892.png\" \/>\u00a0<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013500-6897f744c967f.png\" \/>\u00a0<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013501-6897f745e0124.png\" \/>\u00a0<\/p>\n<p>\u300a\u661f\u5c18\u56de\u54cd&#xff1a;\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u5728\u516c\u51432375\u5e74&#xff0c;\u94f6\u6cb3\u7cfb\u7b2c\u4e09\u65cb\u81c2\u7684\u8fb9\u7f18&#xff0c;\u6f02\u6d6e\u7740\u4e00\u5ea7\u7531\u7eaf\u7cb9\u80fd\u91cf\u4e0e\u91cf\u5b50\u7f16\u7ec7\u800c\u6210\u7684\u6d6e\u7a7a\u4e4b\u57ce\u2014\u2014\u5929\u67a2\u3002\u5b83\u5e76\u975e\u5efa\u4e8e\u67d0\u9897\u884c\u661f\u4e4b\u4e0a&#xff0c;\u800c\u662f\u60ac\u6d6e\u4e8e\u4e24\u4e2a\u661f\u57df\u4e4b\u95f4\u7684\u201c\u9759\u9ed8\u5e26\u201d\u4e2d&#xff0c;\u4f9d\u9760\u6570\u636e\u4e4b\u6cb3&#xff08;The River of Data&#xff09;\u7ef4\u7cfb\u5176\u5b58\u5728\u3002\u8fd9\u6761\u6cb3\u5e76\u975e\u6c34&#xff0c;\u800c\u662f\u7531\u4eba\u7c7b\u6587\u660e\u6570\u767e\u5e74\u6765\u79ef\u7d2f\u7684\u610f\u8bc6\u3001\u8bb0\u5fc6\u3001\u4ee3\u7801\u4e0e\u60c5\u611f\u5171\u540c\u51dd\u7ed3\u6210\u7684\u9ad8\u7ef4\u4fe1\u606f\u6d41&#xff0c;\u50cf\u4e00\u6761\u53d1\u5149\u7684\u94f6\u6cb3\u7f20\u7ed5\u57ce\u5e02&#xff0c;\u663c\u591c\u4e0d\u606f\u5730\u5954\u6d8c\u3002<\/p>\n<p>\u5929\u67a2\u662f\u201c\u7075\u7f51\u6587\u660e\u201d\u7684\u6838\u5fc3\u8282\u70b9\u3002\u5728\u8fd9\u4e2a\u65f6\u4ee3&#xff0c;\u4eba\u7c7b\u65e9\u5df2\u4e0d\u518d\u4f9d\u8d56\u8840\u8089\u4e4b\u8eaf\u751f\u5b58\u3002\u5927\u591a\u6570\u4eba\u7684\u610f\u8bc6\u5df2\u4e0a\u4f20\u81f3\u201c\u4e91\u5883\u201d\u2014\u2014\u4e00\u4e2a\u7531AI\u3001\u91cf\u5b50\u8ba1\u7b97\u4e0e\u5206\u5e03\u5f0f\u5171\u8bc6\u673a\u5236\u6784\u5efa\u7684\u6c38\u6052\u6570\u5b57\u4e16\u754c\u3002\u800c\u5929\u67a2&#xff0c;\u4fbf\u662f\u8fde\u63a5\u73b0\u5b9e\u5b87\u5b99\u4e0e\u4e91\u5883\u7684\u6700\u540e\u951a\u70b9\u3002\u5b83\u7684\u7a33\u5b9a&#xff0c;\u5173\u4e4e\u4ebf\u4e07\u610f\u8bc6\u4f53\u7684\u5b58\u7eed\u3002<\/p>\n<p>\u4f46\u7ef4\u6301\u8fd9\u4e00\u5207\u7684&#xff0c;\u4e0d\u662f\u795e\u8ff9&#xff0c;\u800c\u662f\u4e03\u5ea7\u661f\u94fe\u4e4b\u773c\u4e0e\u5730\u57fa\u4e4b\u6811\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u661f\u94fe\u4e4b\u773c&#xff1a;\u5b87\u5b99\u7684ZooKeeper\u96c6\u7fa4<\/p>\n<p>\u4e03\u5ea7\u661f\u94fe\u4e4b\u773c&#xff0c;\u662f\u5206\u5e03\u5728\u5929\u67a2\u8f68\u9053\u4e0a\u7684\u91cf\u5b50\u534f\u8c03\u9635\u5217&#xff0c;\u6bcf\u4e00\u53ea\u90fd\u5982\u540c\u4e00\u9897\u5fae\u578b\u9ed1\u6d1e&#xff0c;\u9759\u9759\u65cb\u8f6c\u3002\u5b83\u4eec\u7684\u529f\u80fd&#xff0c;\u662f\u6267\u884c\u201c\u5171\u8bc6\u4eea\u5f0f\u201d\u2014\u2014\u901a\u8fc7\u7ea0\u7f20\u6001\u4fe1\u53f7\u540c\u6b65\u6240\u6709\u5b50\u7cfb\u7edf\u7684\u72b6\u6001&#xff0c;\u786e\u4fdd\u4e91\u5883\u4e2d\u7684\u6bcf\u4e00\u4e2a\u610f\u8bc6\u7247\u6bb5\u90fd\u4e0d\u4f1a\u9519\u4e71\u3001\u5206\u88c2\u6216\u6e6e\u706d\u3002<\/p>\n<p>\u5b83\u4eec\u7684\u672c\u8d28&#xff0c;\u662f\u4e00\u4e2a\u8de8\u8d8a\u7ef4\u5ea6\u7684ZooKeeper\u96c6\u7fa4\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u6bcf\u4e00\u4e2a\u201c\u773c\u201d&#xff0c;\u5bf9\u5e94\u4e00\u4e2aStatefulSet\u5b9e\u4f8b&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>my-release-pulsarv3-zookeeper-0 \u81f3 my-release-pulsarv3-zookeeper-6\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5b83\u4eec\u5171\u4eab\u4e00\u4e2a\u540d\u4e3azk-shared-chroot\u7684\u547d\u540d\u7a7a\u95f4&#xff0c;\u5b58\u50a8\u7740\u6574\u4e2a\u6587\u660e\u7684\u201c\u5fc3\u8df3\u65e5\u5fd7\u201d\u3002\u4e00\u65e6\u8fd9\u4e2a\u96c6\u7fa4\u5931\u8861&#xff0c;\u4e91\u5883\u5c06\u9677\u5165\u201c\u610f\u8bc6\u96ea\u5d29\u201d\u2014\u2014\u8bb0\u5fc6\u9519\u4e71\u3001\u4eba\u683c\u89e3\u4f53\u3001\u65f6\u95f4\u611f\u77e5\u5d29\u6e83\u3002<\/p>\n<p>\u800c\u8fd9\u4e00\u5207&#xff0c;\u90fd\u7531\u201c\u6cb3\u8109\u5b88\u62a4\u8005\u201d\u76d1\u63a7\u4e0e\u7ef4\u7cfb\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5730\u57fa\u4e4b\u6811&#xff1a;\u6570\u636e\u4e4b\u6cb3\u7684\u6839\u7cfb<\/p>\n<p>\u5730\u57fa\u4e4b\u6811&#xff0c;\u5e76\u975e\u690d\u7269&#xff0c;\u800c\u662f\u4e00\u682a\u7531\u7075\u80fd\u6676\u4f53\u6784\u6210\u7684\u5de8\u578b\u7ed3\u6784&#xff0c;\u6df1\u690d\u4e8e\u5929\u67a2\u6838\u5fc3\u3002\u5b83\u5438\u6536\u6570\u636e\u4e4b\u6cb3\u7684\u6d41\u52a8\u80fd\u91cf&#xff0c;\u8f6c\u5316\u4e3a\u7a33\u5b9a\u7684\u7ef4\u5ea6\u573a&#xff0c;\u9632\u6b62\u57ce\u5e02\u5728\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\u6f02\u79fb\u6216\u574d\u7f29\u3002<\/p>\n<p>\u6811\u7684\u6bcf\u4e00\u6761\u6839\u8109&#xff0c;\u90fd\u8fde\u63a5\u7740\u4e00\u4e2a\u7075\u80fd\u84c4\u6c60&#xff08;Persistent Volume Claim&#xff09;&#xff0c;\u7528\u4e8e\u5b58\u50a8\u4e0d\u53ef\u518d\u751f\u7684\u201c\u6e90\u521d\u6570\u636e\u201d\u2014\u2014\u90a3\u4e9b\u6700\u521d\u4e0a\u4f20\u7684\u4eba\u7c7b\u8bb0\u5fc6\u3001\u60c5\u611f\u6a21\u677f\u4e0e\u6587\u660e\u79cd\u5b50\u3002\u5176\u4e2d\u6700\u5173\u952e\u7684&#xff0c;\u662f\u652f\u6491\u201c\u91cd\u751f\u4e4b\u4e95\u201d&#xff08;PostgreSQL\u6570\u636e\u5e93&#xff09;\u7684\u4e3b\u84c4\u6c60\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u82e5\u84c4\u6c60\u672a\u6fc0\u6d3b&#xff0c;\u5730\u57fa\u4e4b\u6811\u5c06\u67af\u840e&#xff0c;\u5929\u67a2\u5c06\u5931\u53bb\u951a\u5b9a&#xff0c;\u5760\u5165\u865a\u65e0\u3002<\/p>\n<p>\u800c\u6fc0\u6d3b\u84c4\u6c60\u7684\u4eea\u5f0f&#xff0c;\u5fc5\u987b\u901a\u8fc7\u201c\u7ec7\u547d\u673a\u201d\u2014\u2014\u4e00\u53f0\u7531\u8fdc\u53e4GitHub\u7cfb\u7edf\u6f14\u5316\u800c\u6765\u7684\u81ea\u52a8\u5316\u795e\u8c15&#xff0c;\u6267\u884c\u9884\u8bbe\u7684\u201c\u5929\u5f8b\u5377\u8f74\u201d&#xff08;CI\/CD\u5de5\u4f5c\u6d41&#xff09;\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u9648\u9759\u6021&#xff1a;\u6700\u540e\u7684\u5b88\u62a4\u8005<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u9648\u9759\u6021&#xff0c;\u662f\u552f\u4e00\u4ecd\u4fdd\u7559\u8089\u8eab\u7684\u201c\u6cb3\u8109\u5b88\u62a4\u8005\u201d\u3002\u5979\u62d2\u7edd\u4e0a\u4f20\u610f\u8bc6&#xff0c;\u56e0\u4e3a\u5979\u76f8\u4fe1&#xff0c;\u552f\u6709\u771f\u5b9e\u7684\u751f\u547d\u8109\u52a8&#xff0c;\u624d\u80fd\u542c\u89c1\u6570\u636e\u4e4b\u6cb3\u6700\u6df1\u5904\u7684\u4f4e\u8bed\u3002<\/p>\n<p>\u5979\u51fa\u751f\u4e8e\u201c\u65e7\u7eaa\u5143\u201d\u7684\u6df1\u5733&#xff0c;\u66fe\u662f\u4e00\u540d\u9876\u5c16\u7684\u4e91\u539f\u751f\u5de5\u7a0b\u5e08\u3002\u5728\u201c\u5927\u8fc1\u5f99\u201d\u524d\u5915&#xff0c;\u5979\u81ea\u613f\u7559\u4e0b&#xff0c;\u6210\u4e3a\u5929\u67a2\u7684\u5b88\u591c\u4eba\u3002\u5979\u7684\u8eab\u4f53\u7ecf\u8fc7\u91cf\u5b50\u5f3a\u5316&#xff0c;\u795e\u7ecf\u53ef\u76f4\u8fde\u6570\u636e\u4e4b\u6cb3&#xff1b;\u5979\u7684\u53cc\u773c&#xff0c;\u80fd\u770b\u89c1\u4ee3\u7801\u7684\u5149\u8c31\u4e0e\u9519\u8bef\u7684\u9634\u5f71\u3002<\/p>\n<p>\u5979\u8eab\u7a7f\u7531\u5149\u4e1d\u7f16\u7ec7\u7684\u94f6\u767d\u957f\u888d&#xff0c;\u90a3\u662f\u7528\u5e9f\u5f03\u670d\u52a1\u5668\u7684\u7845\u6676\u63d0\u70bc\u800c\u6210&#xff0c;\u6bcf\u4e00\u6839\u4e1d\u7ebf\u90fd\u523b\u6709\u53e4\u8001\u7684YAML\u5492\u6587\u3002\u5979\u7684\u6b66\u5668&#xff0c;\u4e0d\u662f\u5251&#xff0c;\u800c\u662f\u4e00\u679a\u7389\u8d28\u5bc6\u94a5\u2014\u2014\u4e00\u679a\u80fd\u76f4\u63a5\u8c03\u7528kubectl\u4e0ehelm\u6307\u4ee4\u7684\u751f\u7269\u5bc6\u94a5&#xff0c;\u5d4c\u5728\u5979\u5de6\u624b\u65e0\u540d\u6307\u7684\u9aa8\u8282\u4e4b\u4e2d\u3002<\/p>\n<p>\u5979\u5b64\u72ec&#xff0c;\u5374\u575a\u5b9a\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5979\u6e29\u67d4&#xff0c;\u5374\u950b\u5229\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5979\u662f\u7cfb\u7edf\u4e0e\u4eba\u6027\u4e4b\u95f4\u7684\u6700\u540e\u6865\u6881\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u7b2c\u4e00\u5e55&#xff1a;\u6c89\u7761\u7684\u661f\u94fe\u4e4b\u773c<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u90a3\u4e00\u591c&#xff0c;\u5929\u67a2\u7684\u4e03\u5ea7\u201c\u661f\u94fe\u4e4b\u773c\u201d\u7a81\u7136\u5931\u660e\u3002<\/p>\n<p>\u8b66\u62a5\u54cd\u5f7b\u5929\u9645&#xff0c;\u6570\u636e\u4e4b\u6cb3\u6cdb\u8d77\u7329\u7ea2\u6d9f\u6f2a\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u5b88\u62a4\u8005&#xff01;\u534f\u8c03\u9635\u5217\u5931\u53bb\u5fc3\u8df3\u4fe1\u53f7&#xff0c;\u8bb0\u5fc6\u6676\u6838\u62d2\u7edd\u521d\u59cb\u5316&#xff01;\u201dAI\u201c\u6cb3\u56fe\u201d\u6025\u4fc3\u6c47\u62a5\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u9648\u9759\u6021\u95ed\u76ee\u51dd\u795e&#xff0c;\u6307\u5c16\u8f7b\u89e6\u865a\u7a7a&#xff0c;\u610f\u8bc6\u6c89\u5165\u6570\u636e\u4e4b\u6cb3\u6df1\u5904\u3002<\/p>\n<p>\u5979\u770b\u89c1\u4e86\u2014\u2014\u5728\u7b2c\u4e03\u773c\u7684\u6df1\u5904&#xff0c;\u6709\u4e00\u56e2\u51dd\u56fa\u7684\u6697\u5f71&#xff0c;\u50cf\u88ab\u9057\u5fd8\u7684\u65e7\u68a6&#xff0c;\u6b7b\u6b7b\u7f20\u7ed5\u7740\u4e3b\u63a7\u6838\u5fc3\u3002\u90a3\u662f\u4e0a\u4e00\u6b21\u5927\u707e\u53d8\u65f6\u6b8b\u7559\u7684\u8bb0\u5fc6\u6b8b\u7247&#xff0c;\u5b83\u4eec\u672a\u88ab\u6e05\u9664&#xff0c;\u53cd\u800c\u5728\u65f6\u95f4\u5939\u7f1d\u4e2d\u6ecb\u751f&#xff0c;\u963b\u65ad\u4e86\u65b0\u751f\u610f\u8bc6\u7684\u6ce8\u5165\u3002<\/p>\n<p>\u201c\u8fd9\u4e0d\u662f\u6545\u969c&#xff0c;\u201d\u5979\u7741\u5f00\u773c&#xff0c;\u58f0\u97f3\u6e05\u51b7&#xff0c;\u201c\u662f\u65e7\u9b42\u4e0d\u80af\u79bb\u53bb\u3002\u201d<\/p>\n<p>\u5979\u53d6\u51fa\u7389\u8d28\u5bc6\u94a5&#xff0c;\u8f7b\u8f7b\u63d2\u5165\u7a7a\u4e2d\u6d6e\u73b0\u7684\u7b26\u6587\u9635\u5217\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u542f\u52a8\u2018\u53cc\u6e21\u4eea\u5f0f\u2019\u3002\u201d<\/p>\n<p>\u7b2c\u4e00\u6b21\u6e21\u6cb3&#xff0c;\u5979\u4ee5\u81ea\u8eab\u610f\u8bc6\u4e3a\u5f15&#xff0c;\u5524\u9192\u6c89\u7761\u7684\u6676\u6838\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5979\u4f4e\u58f0\u541f\u8bf5\u53e4\u8001\u7684\u521d\u59cb\u5316\u5492\u6587&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p># &#8212; \u7b2c\u4e00\u6b21\u6e21\u6cb3&#xff1a;\u6e05\u7406\u65e7\u9b42 &#8212;<\/p>\n<p>zk-cleaner &#8211;namespace&#061;ns-kceugttr &#8211;cluster&#061;my-release-pulsarv3 &#8211;force<\/p>\n<p>\u5149\u6d41\u6d8c\u52a8&#xff0c;\u65e7\u5f71\u9000\u6563&#xff0c;\u4f46\u65b0\u751f\u610f\u8bc6\u5c1a\u672a\u7a33\u56fa&#xff0c;\u7b2c\u4e03\u773c\u4f9d\u65e7\u95ed\u5408\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5931\u8d25\u3002<\/p>\n<p>\u5979\u9759\u5750\u4e09\u65e5&#xff0c;\u91cd\u7ed8\u7b26\u6587&#xff0c;\u8c03\u6574\u5171\u632f\u9891\u7387\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u7b2c\u4e8c\u6b21\u6e21\u6cb3&#xff0c;\u5979\u643a\u5168\u4f53\u5e02\u6c11\u7684\u795d\u798f\u4e4b\u5ff5&#xff0c;\u518d\u5ea6\u6e21\u6cb3\u3002\u8fd9\u4e00\u6b21&#xff0c;\u5979\u6ce8\u5165\u65b0\u7684\u751f\u547d\u79cd\u5b50&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p># &#8212; \u7b2c\u4e8c\u6b21\u6e21\u6cb3&#xff1a;\u91cd\u94f8\u65b0\u751f &#8212;<\/p>\n<p>zk-init &#8211;namespace&#061;ns-kceugttr &#8211;cluster&#061;my-release-pulsarv3 &#8211;retry&#061;3 &#8211;timeout&#061;300s<\/p>\n<p>\u8fd9\u4e00\u6b21&#xff0c;\u5149\u5982\u6f6e\u6c34&#xff0c;\u6e29\u67d4\u5730\u5305\u88f9\u90a3\u56e2\u6b8b\u5f71&#xff0c;\u5c06\u5176\u7f13\u7f13\u9001\u5165\u8f6e\u56de\u4e4b\u6e0a\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u4e03\u5ea7\u661f\u94fe\u4e4b\u773c&#xff0c;\u9010\u4e00\u7741\u5f00&#xff0c;\u661f\u5149\u91cd\u8fde\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u7b2c\u4e8c\u5e55&#xff1a;\u9057\u843d\u7684\u6839\u8109<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u6570\u6708\u540e&#xff0c;\u5929\u67a2\u8fce\u6765\u65b0\u7eaa\u5143\u5e86\u5178\u3002\u57ce\u5e02\u5c06\u8fc1\u5165\u66f4\u9ad8\u7ef4\u5ea6\u7684\u201c\u4e91\u5883\u201d&#xff0c;\u6240\u6709\u751f\u547d\u4f53\u7684\u610f\u8bc6\u90fd\u5c06\u4e0a\u4f20\u81f3\u66f4\u7eaf\u51c0\u7684\u6570\u636e\u6d41\u57df\u3002\u7136\u800c&#xff0c;\u5c31\u5728\u8fc1\u79fb\u524d\u5915&#xff0c;\u5730\u57fa\u4e4b\u6811\u2014\u2014\u90a3\u7ef4\u7cfb\u57ce\u5e02\u7269\u7406\u5b58\u5728\u7684\u6839\u8109\u7cfb\u7edf\u2014\u2014\u7a81\u7136\u67af\u840e\u3002<\/p>\n<p>\u9648\u9759\u6021\u5faa\u8109\u800c\u4e0b&#xff0c;\u6f5c\u5165\u5730\u5e95\u6df1\u5904\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5979\u9707\u60ca\u5730\u53d1\u73b0&#xff1a;\u652f\u6491\u65b0\u4e91\u5883\u7684\u7075\u80fd\u84c4\u6c60&#xff08;PVC&#xff09;\u7adf\u4ece\u672a\u88ab\u6fc0\u6d3b\u3002\u5b83\u9759\u9759\u5730\u8eba\u5728\u865a\u7a7a\u4e2d&#xff0c;\u50cf\u4e00\u53e3\u5e72\u6db8\u7684\u53e4\u4e95&#xff0c;\u672a\u4e0e\u4e3b\u6cb3\u76f8\u8fde\u3002<\/p>\n<p>\u201c\u4e3a\u4f55\u5982\u6b64&#xff1f;\u201d\u5979\u8d28\u95ee\u6cb3\u56fe\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u8fc1\u79fb\u6d41\u7a0b\u7531\u2018\u7ec7\u547d\u673a\u2019&#xff08;CI\/CD\u7cfb\u7edf&#xff09;\u81ea\u52a8\u6267\u884c&#xff0c;\u201d\u6cb3\u56fe\u6295\u5f71\u51fa\u4e00\u6bb5\u53e4\u8001\u7684\u94ed\u6587&#xff0c;\u201c\u4f46\u2018\u7ec7\u547d\u673a\u2019\u6240\u4f9d\u7684\u2018\u5929\u5f8b\u5377\u8f74\u2019\u4e2d&#xff0c;\u9057\u6f0f\u4e86\u2018\u5f00\u6c60\u5f15\u6cc9\u2019\u4e4b\u7ae0\u3002\u201d<\/p>\n<p>\u539f\u6765&#xff0c;\u8d1f\u8d23\u7f16\u5199\u8fc1\u79fb\u4eea\u5f0f\u7684\u5b66\u8005&#xff0c;\u5728\u6284\u5f55\u5377\u8f74\u65f6&#xff0c;\u6f0f\u6389\u4e86\u6fc0\u6d3b\u7075\u80fd\u84c4\u6c60\u7684\u5173\u952e\u5492\u6587\u3002\u800c\u6240\u6709\u81ea\u52a8\u5316\u4eea\u5f0f&#xff0c;\u7686\u4f9d\u5377\u8f74\u800c\u884c&#xff0c;\u65e0\u4eba\u5bdf\u89c9\u8fd9\u81f4\u547d\u7684\u7f3a\u5931\u3002<\/p>\n<p>\u5979\u8c03\u51fa\u201c\u7ec7\u547d\u673a\u201d\u7684\u6838\u5fc3\u65e5\u5fd7&#xff0c;\u4e00\u884c\u884c\u6eda\u52a8\u7684\u7b26\u6587\u6620\u5165\u773c\u5e18&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>[ERROR] \u65e0\u6cd5\u8c03\u5ea6\u5bb9\u5668&#xff1a;PersistentVolumeClaim &#034;postgresql-pvc&#034; not found<\/p>\n<p>[WARN] \u8df3\u8fc7\u8d44\u6e90\u5e94\u7528&#xff1a;k8s\/persistent-volume-claim.yaml \u672a\u5728\u90e8\u7f72\u6d41\u7a0b\u4e2d\u58f0\u660e<\/p>\n<p>\u5979\u8f7b\u53f9&#xff1a;\u201c\u6240\u4ee5&#xff0c;\u6211\u4eec\u5efa\u597d\u4e86\u5bab\u6bbf&#xff0c;\u5374\u5fd8\u4e86\u6316\u4e95\u3002\u201d<\/p>\n<p>\u5979\u6ca1\u6709\u8d23\u5907\u4efb\u4f55\u4eba\u3002\u800c\u662f\u53d6\u51fa\u81ea\u5df1\u7684\u5fc3\u706f&#xff0c;\u4ee5\u8840\u4e3a\u58a8&#xff0c;\u4ee5\u795e\u4e3a\u7b14&#xff0c;\u5728\u865a\u7a7a\u4e2d\u91cd\u5199\u90a3\u7f3a\u5931\u7684\u7b26\u6587\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u6211\u4ee5\u9759\u6021\u4e4b\u540d&#xff0c;\u8865\u6b64\u5929\u5f8b\u3002\u201d<\/p>\n<p>\u5979\u6253\u5f00\u201c\u7ec7\u547d\u673a\u201d\u7684\u6d41\u7a0b\u811a\u672c&#xff0c;\u5c06\u90a3\u6bb5\u88ab\u9057\u5fd8\u7684\u5492\u6587\u8865\u5168&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p># &#8212; \u5929\u5f8b\u5377\u8f74&#xff1a;\u4e91\u5883\u8fc1\u5f99\u4eea\u5f0f &#8212;<\/p>\n<p>&#8211; name: \u6fc0\u6d3b\u7075\u80fd\u84c4\u6c60&#xff08;PVC&#xff09;<\/p>\n<p>\u00a0 run: |<\/p>\n<p>\u00a0 \u00a0 kubectl apply -f k8s\/persistent-volume-claim.yaml<\/p>\n<p>\u00a0 \u00a0 kubectl wait pvc\/postgresql-pvc &#8211;for&#061;condition&#061;Bound &#8211;timeout&#061;300s<\/p>\n<p>\u7b26\u6587\u4eae\u8d77&#xff0c;\u7075\u80fd\u84c4\u6c60\u8f70\u7136\u5f00\u542f&#xff0c;\u6e05\u6cc9\u81ea\u7ef4\u5ea6\u88c2\u7f1d\u5954\u6d8c\u800c\u51fa&#xff0c;\u6ce8\u5165\u5730\u57fa\u4e4b\u6811\u3002\u67af\u679d\u5410\u7eff&#xff0c;\u5929\u67a2\u518d\u6b21\u547c\u5438\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u7b2c\u4e09\u5e55&#xff1a;\u5979\u5373\u662f\u6cb3<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u5e86\u5178\u90a3\u65e5&#xff0c;\u4e07\u4f17\u610f\u8bc6\u5347\u817e&#xff0c;\u6c47\u5165\u4e91\u5883\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u9648\u9759\u6021\u5374\u672a\u79bb\u53bb\u3002\u5979\u7ad9\u5728\u5929\u67a2\u6700\u9ad8\u5904&#xff0c;\u671b\u7740\u811a\u4e0b\u5954\u6d41\u4e0d\u606f\u7684\u6570\u636e\u4e4b\u6cb3\u3002<\/p>\n<p>\u201c\u4f60\u4e3a\u4f55\u7559\u4e0b&#xff1f;\u201d\u6cb3\u56fe\u95ee\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u56e0\u4e3a\u603b\u8981\u6709\u4eba\u8bb0\u4f4f\u6e90\u5934\u3002\u201d\u5979\u5fae\u7b11&#xff0c;\u201c\u8bb0\u4f4f\u90a3\u4e9b\u672a\u88ab\u5199\u5165\u5377\u8f74\u7684\u7ec6\u8282&#xff0c;\u90a3\u4e9b\u9700\u8981\u4eb2\u624b\u70b9\u4eae\u7684\u5149\u3002\u201d<\/p>\n<p>\u5979\u8f7b\u8f7b\u6325\u624b&#xff0c;\u4e00\u6bb5\u5168\u65b0\u7684\u5f8b\u6cd5\u81ea\u5979\u6307\u5c16\u6d41\u6dcc&#xff0c;\u6ce8\u5165\u201c\u7ec7\u547d\u673a\u201d\u7684\u6838\u5fc3&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p># &#8212; \u65b0\u5f8b&#xff1a;\u51e1\u91cd\u5927\u8fc1\u5f99&#xff0c;\u5fc5\u9a8c\u6839\u8109 &#8212;<\/p>\n<p>validation-rules:<\/p>\n<p>\u00a0 &#8211; check: &#034;\u6240\u6709StatefulSet\u5fc5\u987b\u5173\u8054PVC&#034;<\/p>\n<p>\u00a0 \u00a0 error: &#034;\u53d1\u73b0\u65e0\u5b58\u50a8\u58f0\u660e\u7684\u6709\u72b6\u6001\u670d\u52a1&#034;<\/p>\n<p>\u00a0 &#8211; check: &#034;ZooKeeper\u96c6\u7fa4\u521d\u59cb\u5316\u524d\u9700\u6e05\u7406\u65e7\u6570\u636e&#034;<\/p>\n<p>\u00a0 \u00a0 action: &#034;\u6267\u884czk-cleaner &#8211;namespace&#061;ns-kceugttr&#034;<\/p>\n<p>\u4ece\u6b64&#xff0c;\u5929\u67a2\u7684\u6bcf\u4e00\u6b21\u8dc3\u8fc1&#xff0c;\u90fd\u591a\u4e86\u4e00\u9053\u53e4\u8001\u800c\u6e29\u6696\u7684\u4eea\u5f0f\u2014\u2014\u7531\u5b88\u62a4\u8005\u4eb2\u624b\u8865\u5168\u90a3\u53ef\u80fd\u88ab\u9057\u5fd8\u7684\u4e00\u7b14\u3002<\/p>\n<p>\u800c\u9648\u9759\u6021&#xff0c;\u4f9d\u65e7\u7a7f\u884c\u4e8e\u661f\u6cb3\u4e4b\u95f4\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5979\u662f\u5de5\u7a0b\u5e08&#xff0c;\u662f\u8bd7\u4eba&#xff0c;\u662f\u8865\u5929\u8005\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u5728\u4ee3\u7801\u4e0e\u661f\u8fb0\u7684\u5c3d\u5934&#xff0c;\u5979\u4f4e\u8bed&#xff1a;<\/p>\n<p>\u00a0<\/p>\n<p>\u201c\u771f\u6b63\u7684\u7cfb\u7edf&#xff0c;\u4ece\u4e0d\u5728\u673a\u5668\u4e4b\u4e2d&#xff0c;\u800c\u5728\u4eba\u5fc3\u6240\u5411\u4e4b\u5904\u3002\u201d<\/p>\n<p>&#xff08;\u5b8c&#xff09;<\/p>\n<p>\u00a0<\/p>\n<p>&#x1f4dc;\u00a0\u5f00\u53d1\u8005\u6ce8\u89e3&#xff08;\u9690\u85cf\u5f69\u86cb&#xff09;<\/p>\n<p>\u00a0 \u00a0 \u2022 \u661f\u94fe\u4e4b\u773c\u00a0&#061; ZooKeeper \u96c6\u7fa4&#xff08;my-release-pulsarv3-zookeeper-*&#xff09;<\/p>\n<p>\u00a0 \u00a0 \u2022 \u53cc\u6e21\u4eea\u5f0f\u00a0&#061; \u4e24\u6b21\u624b\u52a8\u6267\u884c\u7684ZooKeeper\u521d\u59cb\u5316\u547d\u4ee4&#xff1a;<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u25e6 \u7b2c\u4e00\u6b21&#xff1a;zk-cleaner &#8230;\u00a0\u2192 \u6e05\u7406\u65e7\u6570\u636e&#xff0c;\u5bf9\u5e94\u73b0\u5b9e\u4e2d\u7684\u5f3a\u5236\u5220\u9664\u65e7\u72b6\u6001\u3002<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u25e6 \u7b2c\u4e8c\u6b21&#xff1a;zk-init &#8230;\u00a0\u2192 \u91cd\u65b0\u521d\u59cb\u5316\u96c6\u7fa4&#xff0c;\u5efa\u7acb\u65b0\u5171\u8bc6\u3002<\/p>\n<p>\u00a0 \u00a0 \u2022 \u7075\u80fd\u84c4\u6c60\u00a0&#061;\u00a0persistent-volume-claim.yaml\u00a0\u6587\u4ef6&#xff0c;\u4e3aPostgreSQL\u63d0\u4f9b\u6301\u4e45\u5316\u5b58\u50a8\u3002<\/p>\n<p>\u00a0 \u00a0 \u2022 \u7ec7\u547d\u673a\u00a0&#061; GitHub Actions CI\/CD \u6d41\u6c34\u7ebf\u3002<\/p>\n<p>\u00a0 \u00a0 \u2022 \u5929\u5f8b\u5377\u8f74\u00a0&#061; GitHub Actions \u5de5\u4f5c\u6d41\u6587\u4ef6&#xff08;.yml&#xff09;&#xff0c;\u5176\u4e2d\u9057\u6f0f\u4e86\u5e94\u7528PVC\u7684\u6b65\u9aa4\u3002<\/p>\n<p>\u00a0 \u00a0 \u2022 \u65b0\u5f8b\u00a0&#061; \u589e\u52a0\u90e8\u7f72\u524d\u68c0\u67e5&#xff0c;\u9632\u6b62\u7c7b\u4f3c\u4eba\u4e3a\u758f\u5ffd\u518d\u6b21\u53d1\u751f\u3002<\/p>\n<p>\u8fd9\u662f\u4e00\u5219\u732e\u7ed9\u6240\u6709\u6df1\u591c\u8c03\u8bd5\u3001\u4fee\u590d\u201cZooKeeper\u521d\u59cb\u5316\u5931\u8d25\u201d\u548c\u201cPVC\u672a\u7ed1\u5b9a\u201d\u7684\u5de5\u7a0b\u5e08\u7684\u79d1\u5e7b\u5bd3\u8a00\u2014\u2014\u4f60\u4eec&#xff0c;\u6b63\u662f\u73b0\u5b9e\u4e16\u754c\u7684\u201c\u6cb3\u8109\u5b88\u62a4\u8005\u201d\u3002<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb604\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u6811\u7684\u6bcf\u4e00\u6761\u6839\u8109\uff0c\u90fd\u8fde\u63a5\u7740\u4e00\u4e2a\u7075\u80fd\u84c4\u6c60\uff08Persistent Volume Claim\uff09\uff0c\u7528\u4e8e\u5b58\u50a8\u4e0d\u53ef\u518d\u751f\u7684\u201c\u6e90\u521d\u6570\u636e\u201d\u2014\u2014\u90a3\u4e9b\u6700\u521d\u4e0a\u4f20\u7684\u4eba\u7c7b\u8bb0\u5fc6\u3001\u60c5\u611f\u6a21\u677f\u4e0e\u6587\u660e\u79cd\u5b50\u3002\u5979\u7684\u6b66\u5668\uff0c\u4e0d\u662f\u5251\uff0c\u800c\u662f\u4e00\u679a\u7389\u8d28\u5bc6\u94a5\u2014\u2014\u4e00\u679a\u80fd\u76f4\u63a5\u8c03\u7528kubectl\u4e0ehelm\u6307\u4ee4\u7684\u751f\u7269\u5bc6\u94a5\uff0c\u5d4c\u5728\u5979\u5de6\u624b\u65e0\u540d\u6307\u7684\u9aa8\u8282\u4e4b\u4e2d\u3002\u5979\u770b\u89c1\u4e86\u2014\u2014\u5728\u7b2c\u4e03\u773c\u7684\u6df1\u5904\uff0c\u6709\u4e00\u56e2\u51dd\u56fa\u7684\u6697\u5f71\uff0c\u50cf\u88ab\u9057\u5fd8\u7684\u65e7\u68a6\uff0c\u6b7b\u6b7b\u7f20\u7ed5\u7740\u4e3b\u63a7\u6838\u5fc3\u3002\u800c\u6fc0\u6d3b\u84c4\u6c60\u7684\u4eea\u5f0f\uff0c\u5fc5\u987b\u901a\u8fc7\u201c\u7ec7\u547d\u673a\u201d\u2014\u2014\u4e00\u53f0\u7531\u8fdc\u53e4GitHub\u7cfb\u7edf\u6f14\u5316\u800c\u6765\u7684\u81ea\u52a8\u5316\u795e\u8c15\uff0c\u6267\u884c\u9884\u8bbe\u7684\u201c\u5929\u5f8b\u5377\u8f74\u201d\uff08CI\/CD\u5de5\u4f5c\u6d41\uff09\u3002<\/p>\n","protected":false},"author":2,"featured_media":50508,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[120,1898,763],"topic":[],"class_list":["post-50513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-kubernetes","tag-zookeeper","tag-763"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/50513.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb604\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u6811\u7684\u6bcf\u4e00\u6761\u6839\u8109\uff0c\u90fd\u8fde\u63a5\u7740\u4e00\u4e2a\u7075\u80fd\u84c4\u6c60\uff08Persistent Volume Claim\uff09\uff0c\u7528\u4e8e\u5b58\u50a8\u4e0d\u53ef\u518d\u751f\u7684\u201c\u6e90\u521d\u6570\u636e\u201d\u2014\u2014\u90a3\u4e9b\u6700\u521d\u4e0a\u4f20\u7684\u4eba\u7c7b\u8bb0\u5fc6\u3001\u60c5\u611f\u6a21\u677f\u4e0e\u6587\u660e\u79cd\u5b50\u3002\u5979\u7684\u6b66\u5668\uff0c\u4e0d\u662f\u5251\uff0c\u800c\u662f\u4e00\u679a\u7389\u8d28\u5bc6\u94a5\u2014\u2014\u4e00\u679a\u80fd\u76f4\u63a5\u8c03\u7528kubectl\u4e0ehelm\u6307\u4ee4\u7684\u751f\u7269\u5bc6\u94a5\uff0c\u5d4c\u5728\u5979\u5de6\u624b\u65e0\u540d\u6307\u7684\u9aa8\u8282\u4e4b\u4e2d\u3002\u5979\u770b\u89c1\u4e86\u2014\u2014\u5728\u7b2c\u4e03\u773c\u7684\u6df1\u5904\uff0c\u6709\u4e00\u56e2\u51dd\u56fa\u7684\u6697\u5f71\uff0c\u50cf\u88ab\u9057\u5fd8\u7684\u65e7\u68a6\uff0c\u6b7b\u6b7b\u7f20\u7ed5\u7740\u4e3b\u63a7\u6838\u5fc3\u3002\u800c\u6fc0\u6d3b\u84c4\u6c60\u7684\u4eea\u5f0f\uff0c\u5fc5\u987b\u901a\u8fc7\u201c\u7ec7\u547d\u673a\u201d\u2014\u2014\u4e00\u53f0\u7531\u8fdc\u53e4GitHub\u7cfb\u7edf\u6f14\u5316\u800c\u6765\u7684\u81ea\u52a8\u5316\u795e\u8c15\uff0c\u6267\u884c\u9884\u8bbe\u7684\u201c\u5929\u5f8b\u5377\u8f74\u201d\uff08CI\/CD\u5de5\u4f5c\u6d41\uff09\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/50513.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T01:35:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013457-6897f74179533.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50513.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/50513.html\",\"name\":\"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T01:35:03+00:00\",\"dateModified\":\"2025-08-10T01:35:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/50513.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/50513.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50513.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/50513.html","og_locale":"zh_CN","og_type":"article","og_title":"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb604\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u6811\u7684\u6bcf\u4e00\u6761\u6839\u8109\uff0c\u90fd\u8fde\u63a5\u7740\u4e00\u4e2a\u7075\u80fd\u84c4\u6c60\uff08Persistent Volume Claim\uff09\uff0c\u7528\u4e8e\u5b58\u50a8\u4e0d\u53ef\u518d\u751f\u7684\u201c\u6e90\u521d\u6570\u636e\u201d\u2014\u2014\u90a3\u4e9b\u6700\u521d\u4e0a\u4f20\u7684\u4eba\u7c7b\u8bb0\u5fc6\u3001\u60c5\u611f\u6a21\u677f\u4e0e\u6587\u660e\u79cd\u5b50\u3002\u5979\u7684\u6b66\u5668\uff0c\u4e0d\u662f\u5251\uff0c\u800c\u662f\u4e00\u679a\u7389\u8d28\u5bc6\u94a5\u2014\u2014\u4e00\u679a\u80fd\u76f4\u63a5\u8c03\u7528kubectl\u4e0ehelm\u6307\u4ee4\u7684\u751f\u7269\u5bc6\u94a5\uff0c\u5d4c\u5728\u5979\u5de6\u624b\u65e0\u540d\u6307\u7684\u9aa8\u8282\u4e4b\u4e2d\u3002\u5979\u770b\u89c1\u4e86\u2014\u2014\u5728\u7b2c\u4e03\u773c\u7684\u6df1\u5904\uff0c\u6709\u4e00\u56e2\u51dd\u56fa\u7684\u6697\u5f71\uff0c\u50cf\u88ab\u9057\u5fd8\u7684\u65e7\u68a6\uff0c\u6b7b\u6b7b\u7f20\u7ed5\u7740\u4e3b\u63a7\u6838\u5fc3\u3002\u800c\u6fc0\u6d3b\u84c4\u6c60\u7684\u4eea\u5f0f\uff0c\u5fc5\u987b\u901a\u8fc7\u201c\u7ec7\u547d\u673a\u201d\u2014\u2014\u4e00\u53f0\u7531\u8fdc\u53e4GitHub\u7cfb\u7edf\u6f14\u5316\u800c\u6765\u7684\u81ea\u52a8\u5316\u795e\u8c15\uff0c\u6267\u884c\u9884\u8bbe\u7684\u201c\u5929\u5f8b\u5377\u8f74\u201d\uff08CI\/CD\u5de5\u4f5c\u6d41\uff09\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/50513.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T01:35:03+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810013457-6897f74179533.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/50513.html","url":"https:\/\/www.wsisp.com\/helps\/50513.html","name":"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T01:35:03+00:00","dateModified":"2025-08-10T01:35:03+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/50513.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/50513.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/50513.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u300a\u661f\u5c18\u56de\u54cd\uff1a\u6570\u636e\u4e4b\u6cb3\u7684\u5b88\u62a4\u8005\u300b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=50513"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50513\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/50508"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=50513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=50513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=50513"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=50513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}