{"id":207168,"date":"2020-12-21T08:34:39","date_gmt":"2020-12-21T00:34:39","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=207168"},"modified":"2020-12-16T08:35:53","modified_gmt":"2020-12-16T00:35:53","slug":"helm-directory-structure-explained","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/helm-directory-structure-explained.html","title":{"rendered":"Helm\u76ee\u5f55\u7ed3\u6784\u8bb2\u89e3"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Helm \u662f Kubernetes \u7684\u5305\u7ba1\u7406\u5668\u3002\u5305\u7ba1\u7406\u5668\u7c7b\u4f3c\u4e8e\u6211\u4eec\u5728 Ubuntu \u4e2d\u4f7f\u7528\u7684apt\u3001Centos\u4e2d\u4f7f\u7528\u7684yum \u6216\u8005Python\u4e2d\u7684 pip \u4e00\u6837\uff0c\u80fd\u5feb\u901f\u67e5\u627e\u3001\u4e0b\u8f7d\u548c\u5b89\u88c5\u8f6f\u4ef6\u5305\u3002Helm \u7531\u5ba2\u6237\u7aef\u7ec4\u4ef6 helm \u548c\u670d\u52a1\u7aef\u7ec4\u4ef6 Tiller \u7ec4\u6210, \u80fd\u591f\u5c06\u4e00\u7ec4K8S\u8d44\u6e90\u6253\u5305\u7edf\u4e00\u7ba1\u7406, \u662f\u67e5\u627e\u3001\u5171\u4eab\u548c\u4f7f\u7528\u4e3aKubernetes\u6784\u5efa\u7684\u8f6f\u4ef6\u7684\u6700\u4f73\u65b9\u5f0f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n Charts\u6587\u4ef6\u7ec4\u7ec7\u7ed3\u6784<\/strong><\/span><\/div>\n \u4e00\u4e2aCharts\u5c31\u662f\u6309\u7279\u5b9a\u683c\u5f0f\u7ec4\u7ec7\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u76ee\u5f55\u540d\u5373\u4e3aCharts\u540d\uff0c\u76ee\u5f55\u540d\u79f0\u672c\u8eab\u4e0d\u5305\u542b\u7248\u672c\u4fe1\u606f\u3002\u76ee\u5f55\u7ed3\u6784\u4e2d\u9664\u4e86charts\/\u548ctemplates\/\u662f\u76ee\u5f55\u4e4b\u5916\uff0c\u5176\u4ed6\u7684\u90fd\u662f\u6587\u4ef6\u3002\u5b83\u4eec\u7684\u57fa\u672c\u529f\u7528\u5982\u4e0b\u3002<\/p>\n Chart.yaml\uff1a\u5f53\u524dCharts\u7684\u63cf\u8ff0\u4fe1\u606f\uff0cyaml\u683c\u5f0f\u7684\u6587\u4ef6\u3002<\/p>\n LICENSE\uff1a\u5f53\u524dCharts\u7684\u8bb8\u53ef\u8bc1\u4fe1\u606f\uff0c\u7eaf\u6587\u672c\u6587\u4ef6\uff1b\u6b64\u4e3a\u53ef\u9009\u6587\u4ef6\u3002<\/p>\n README.md\uff1a\u6613\u8bfb\u683c\u5f0f\u7684README\u6587\u4ef6\uff1b\u53ef\u9009\u3002<\/p>\n requirements.yaml\uff1a\u5f53\u524dCharts\u7684\u4f9d\u8d56\u5173\u7cfb\u63cf\u8ff0\u6587\u4ef6\uff1b\u53ef\u9009\u3002<\/p>\n values.yaml\uff1a\u5f53\u524dCharts\u7528\u5230\u7684\u9ed8\u8ba4\u914d\u7f6e\u503c\u3002<\/p>\n charts\/\uff1a\u76ee\u5f55\uff0c\u5b58\u653e\u5f53\u524dCharts\u4f9d\u8d56\u5230\u7684\u6240\u6709Charts\u6587\u4ef6\u3002<\/p>\n templates\/\uff1a\u76ee\u5f55\uff0c\u5b58\u653e\u5f53\u524dCharts\u7528\u5230\u7684\u6a21\u677f\u6587\u4ef6\uff0c\u53ef\u5e94\u7528\u4e8eCharts\u751f\u6210\u6709\u6548\u7684Kuber-netes\u6e05\u5355\u6587\u4ef6\u3002<\/p>\n templates\/NOTES.txt\uff1a\u7eaf\u6587\u672c\u6587\u4ef6\uff0cTemplates\u7b80\u5355\u4f7f\u7528\u6ce8\u89e3<\/p>\n \u5c3d\u7ba1Charts\u548cTemplates\u76ee\u5f55\u5747\u4e3a\u53ef\u9009\uff0c\u4f46\u81f3\u5c11\u5e94\u8be5\u5b58\u5728\u4e00\u4e2aCharts\u4f9d\u8d56\u6587\u4ef6\u6216\u4e00\u4e2a\u6a21\u677f\u6587\u4ef6\u3002\u53e6\u5916\uff0cHelm\u4fdd\u7559\u4f7f\u7528charts\/\u548ctemplates\/\u76ee\u5f55\u4ee5\u53ca\u4e0a\u9762\u5217\u51fa\u7684\u6587\u4ef6\u540d\u79f0\uff0c\u5176\u4ed6\u6587\u4ef6\u90fd\u5c06\u88ab\u5ffd\u7565\u3002<\/p>\n Chart.yaml\u6587\u4ef6\u7ec4\u7ec7\u683c\u5f0f<\/strong><\/span><\/div>\n Chart.yaml\u7528\u4e8e\u63d0\u4f9bCharts\u76f8\u5173\u7684\u5404\u79cd\u5143\u6570\u636e\uff0c\u5982\u540d\u79f0\u3001\u7248\u672c\u3001\u5173\u952e\u8bcd\u3001\u7ef4\u62a4\u8005\u4fe1\u606f\u3001\u4f7f\u7528\u7684\u6a21\u677f\u5f15\u64ce\u7b49\uff0c\u5b83\u662f\u4e00\u4e2aCharts\u5fc5\u5907\u7684\u6838\u5fc3\u6587\u4ef6\uff0c\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u5b57\u6bb5\u3002<\/p>\n name\uff1a\u5f53\u524dCharts\u7684\u540d\u79f0\uff0c\u5fc5\u9009\u5b57\u6bb5\u3002<\/p>\n version\uff1a\u9075\u5faa\u8bed\u4e49\u5316\u7248\u672c\u89c4\u8303\u7b2c2\u7248\u7684\u7248\u672c\u53f7\uff0c\u5fc5\u9009\u5b57\u6bb5\u3002<\/p>\n description\uff1a\u5f53\u524d\u9879\u76ee\u7684\u5355\u8bed\u53e5\u63cf\u8ff0\u4fe1\u606f\uff0c\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n keywords\uff1a\u5f53\u524d\u9879\u76ee\u7684\u5173\u952e\u8bcd\u5217\u8868\uff0c\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n home\uff1a\u5f53\u524d\u9879\u76ee\u7684\u4e3b\u9875URL\uff0c\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n sources\uff1a\u5f53\u524d\u9879\u76ee\u7528\u5230\u7684\u6e90\u7801\u7684\u6765\u6e90URL\u5217\u8868\uff0c\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n maintainers\uff1a\u9879\u76ee\u7ef4\u62a4\u8005\u4fe1\u606f\uff0c\u4e3b\u8981\u5d4c\u5957name\u3001email\u548cURL\u51e0\u4e2a\u5c5e\u6027\u7ec4\u6210\uff1b\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n engine\uff1a\u6a21\u677f\u5f15\u64ce\u7684\u540d\u79f0\uff0c\u9ed8\u8ba4\u4e3agotpl\uff0c\u5373go\u6a21\u677f\u3002<\/p>\n icon:URL\uff0c\u6307\u5411\u5f53\u524d\u9879\u76ee\u7684\u56fe\u6807\uff0cSVG\u6216PNG\u683c\u5f0f\u7684\u56fe\u7247\uff1b\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n appVersion\uff1a\u672c\u9879\u76ee\u7528\u5230\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u7248\u672c\u53f7\uff0c\u53ef\u9009\u5b57\u6bb5\uff0c\u4e14\u4e0d\u5fc5\u4e3a\u8bed\u4e49\u5316\u7248\u672c\u3002<\/p>\n tillerVersion\uff1a\u5f53\u524dCharts\u4f9d\u8d56\u7684Tiller\u7248\u672c\u53f7\uff0c\u53ef\u4ee5\u662f\u8bed\u4e49\u5316\u7248\u672c\u53f7\u7684\u8303\u56f4\uff0c\u5982\u201c>2.4.0\u201d\uff1b\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n Charts\u4e2d\u7684\u4f9d\u8d56\u5173\u7cfb<\/strong><\/span><\/div>\n Helm\u4e2d\u7684\u4e00\u4e2aCharts\u53ef\u80fd\u4f1a\u4f9d\u8d56\u4e0d\u6b62\u4e00\u4e2a\u5176\u4ed6\u7684Charts\uff0c\u8fd9\u79cd\u4f9d\u8d56\u5173\u7cfb\u53ef\u7ecfrequirements.yaml\u8fdb\u884c\u52a8\u6001\u94fe\u63a5\uff0c\u4e5f\u53ef\u76f4\u63a5\u5b58\u50a8\u4e8echarts\/\u76ee\u5f55\u4e2d\u8fdb\u884c\u624b\u52a8\u7ba1\u7406\u3002<\/p>\n requirements.yaml\u6587\u4ef6<\/p>\n requirements.yaml\u6587\u4ef6\u672c\u8d28\u4e0a\u53ea\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f9d\u8d56\u5173\u7cfb\u5217\u8868\uff0c\u53ef\u7528\u5b57\u6bb5\u5177\u4f53\u5982\u4e0b\u3002<\/p>\n name\uff1a\u88ab\u4f9d\u8d56\u7684Charts\u7684\u540d\u79f0\u3002<\/p>\n version\uff1a\u88ab\u4f9d\u8d56\u7684Charts\u7684\u7248\u672c\u3002<\/p>\n repository\uff1a\u88ab\u4f9d\u8d56\u7684Charts\u6240\u5c5e\u7684\u4ed3\u5e93\u53ca\u5176URL\uff1b\u5982\u679c\u662f\u975e\u5b98\u65b9\u7684\u4ed3\u5e93\uff0c\u5219\u9700\u8981\u5148\u7528helm\u3002<\/p>\n repo add\u547d\u4ee4\u5c06\u5176\u6dfb\u52a0\u8fdb\u672c\u5730\u53ef\u7528\u4ed3\u5e93\u3002<\/p>\n alias\uff1a\u4e3a\u88ab\u4f9d\u8d56\u7684Charts\u521b\u5efa\u4e00\u4e2a\u522b\u540d\uff0c\u4ece\u800c\u8ba9\u5f53\u524dCharts\u53ef\u4ee5\u5c06\u6240\u4f9d\u8d56\u7684Charts\u5bf9\u5e94\u5230\u65b0\u540d\u79f0\uff0c\u5373\u522b\u540d\uff1b\u53ef\u9009\u5b57\u6bb5\u3002<\/p>\n tags\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u6240\u6709\u7684Charts\u90fd\u4f1a\u88ab\u88c5\u8f7d\uff0c\u82e5\u7ed9\u5b9a\u4e86tags\uff0c\u5219\u4ec5\u88c5\u8f7d\u90a3\u4e9b\u5339\u914d\u5230\u7684Charts\u3002<\/p>\n condition\uff1a\u7c7b\u4f3c\u4e8etags\u5b57\u6bb5\uff0c\u4f46\u9700\u8981\u901a\u8fc7\u81ea\u5b9a\u4e49\u7684\u6761\u4ef6\u6765\u6307\u660e\u8981\u88c5\u8f7d\u7684charts\u3002<\/p>\n import-values\uff1a\u5bfc\u5165\u5b50Charts\u4e2d\u7684\u7684\u503c\uff1b\u88ab\u5bfc\u5165\u7684\u503c\u9700\u8981\u5728\u5b50charts\u4e2d\u5bfc\u51fa\u3002<\/p>\n Charts\u76ee\u5f55<\/strong><\/span><\/div>\n \u82e5\u9700\u8981\u5bf9\u4f9d\u8d56\u5173\u7cfb\u8fdb\u884c\u66f4\u591a\u7684\u63a7\u5236\uff0c\u5219\u6240\u6709\u88ab\u4f9d\u8d56\u5230\u7684Charts\u90fd\u80fd\u4ee5\u624b\u5de5\u65b9\u5f0f\u76f4\u63a5\u590d\u5236\u5230Charts\u76ee\u5f55\u4e2d\u3002\u4e00\u4e2a\u88ab\u4f9d\u8d56\u5230\u7684Charts\u65e2\u53ef\u4ee5\u662f\u5f52\u6863\u683c\u5f0f\uff0c\u4e5f\u53ef\u4ee5\u662f\u5c55\u5f00\u7684\u76ee\u5f55\u683c\u5f0f\uff0c\u4e0d\u8fc7\uff0c\u5176\u540d\u79f0\u4e0d\u80fd\u4ee5\u4e0b\u5212\u7ebf\uff08_\uff09\u6216\u70b9\u53f7\uff08.\uff09\u5f00\u5934\uff0c\u6b64\u7c7b\u6587\u4ef6\u4f1a\u88abCharts\u88c5\u8f7d\u5668\u81ea\u52a8\u5ffd\u7565\u3002<\/p>\n \u4f8b\u5982\uff0cWordpress Charts\u4f9d\u8d56\u5173\u7cfb\u5728\u5176Charts\u76ee\u5f55\u4e2d\u7684\u53cd\u6620\u7c7b\u4f3c\u5982\u4e0b\u6240\u793a\uff1a Helm<\/strong><\/span><\/div>\n Charts\u6a21\u677f\uff08template\uff09\u9075\u5faaGo\u6a21\u677f\u8bed\u8a00\u683c\u5f0f\uff0c\u5e76\u652f\u630150\u79cd\u4ee5\u4e0a\u7684\u6765\u81eaSpring\u5e93\u7684\u6a21\u677f\u51fd\u6570\u9644\u4ef6\uff0c\u4ee5\u53ca\u4e3a\u6570\u4e0d\u5c11\u7684\u5176\u4ed6\u4e13\u7528\u51fd\u6570\u3002\u6240\u6709\u7684\u6a21\u677f\u6587\u4ef6\u90fd\u5b58\u50a8\u4e8eTemplates\u76ee\u5f55\u4e2d\uff0c\u5728\u5f53\u524dCharts\u88abHelm\u5f15\u7528\u65f6\uff0c\u6b64\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u6a21\u677f\u6587\u4ef6\u90fd\u4f1a\u4f20\u9012\u7ed9\u6a21\u677f\u5f15\u64ce\u8fdb\u884c\u5904\u7406\u3002\u6a21\u677f\u6587\u4ef6\u4e2d\u7528\u5230\u7684\u503c\uff08value\uff09\u6709\u5982\u4e0b\u4e24\u79cd\u63d0\u4f9b\u65b9\u5f0f\u3002\u0089\u25a1\u901a\u8fc7Charts\u7684values.yaml\u6587\u4ef6\u63d0\u4f9b\uff0c\u901a\u5e38\u7528\u4e8e\u63d0\u4f9b\u9ed8\u8ba4\u503c\u3002\u0089\u25a1\u5728\u8fd0\u884c\u201chelm install\u201d\u547d\u4ee4\u65f6\u4f20\u9012\u5305\u542b\u6240\u9700\u8981\u7684\u81ea\u5b9a\u4e49\u503c\u7684YAML\u6587\u4ef6\uff1b\u6b64\u5904\u4f20\u9012\u7684\u503c\u4f1a\u8986\u76d6\u9ed8\u8ba4\u503c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u4e00\u4e2aCharts\u5c31\u662f\u6309\u7279\u5b9a\u683c\u5f0f\u7ec4\u7ec7\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u76ee\u5f55\u540d\u5373\u4e3aCharts\u540d\uff0c\u76ee\u5f55\u540d\u79f0\u672c\u8eab\u4e0d\u5305\u542b\u7248\u672c\u4fe1\u606f\u3002\u76ee\u5f55\u7ed3\u6784\u4e2d […]<\/p>\n","protected":false},"author":668,"featured_media":207206,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-207168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/207168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=207168"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/207168\/revisions"}],"predecessor-version":[{"id":207204,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/207168\/revisions\/207204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/207206"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=207168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=207168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=207168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |