{"id":43724,"date":"2023-01-30T02:37:08","date_gmt":"2022-10-13T10:04:02","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/"},"modified":"2024-01-15T11:46:22","modified_gmt":"2024-01-15T03:46:22","slug":"helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/","title":{"rendered":"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217"},"content":{"rendered":"<h2>\u4ed3\u5e93<\/h2>\n<pre class=\"post-pre\"><code>helm repo list\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>NAME        URL\r\nstable      https:\/\/kubernetes-charts.storage.googleapis.com\r\nlocal       http:\/\/127.0.0.1:8879\/charts\r\nincubator   http:\/\/storage.googleapis.com\/kubernetes-charts-incubator\r\n<\/code><\/pre>\n<h2>\u56fe\u8868\u641c\u7d22<\/h2>\n<pre class=\"post-pre\"><code>helm search mysql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>NAME                                CHART VERSION   APP VERSION DESCRIPTION\r\nincubator\/mysqlha                   1.0.0           5.7.13      MySQL cluster with a single master and zero or more slave...\r\nstable\/mysql                        1.6.2           5.7.28      Fast, reliable, scalable, and easy to use open-source rel...\r\nstable\/mysqldump                    2.6.0           2.4.1       A Helm chart to help backup MySQL databases using mysqldump\r\nstable\/prometheus-mysql-exporter    0.5.2           v0.11.0     A Helm chart for prometheus mysql exporter with cloudsqlp...\r\nstable\/percona                      1.2.0           5.7.17      free, fully compatible, enhanced, open source drop-in rep...\r\nstable\/percona-xtradb-cluster       1.0.3           5.7.19      free, fully compatible, enhanced, open source drop-in rep...\r\nstable\/phpmyadmin                   4.2.12          5.0.1       phpMyAdmin is an mysql administration frontend\r\nstable\/gcloud-sqlproxy              0.6.1           1.11        DEPRECATED Google Cloud SQL Proxy\r\nstable\/mariadb                      7.3.9           10.3.22     Fast, reliable, scalable, and easy to use open-source rel...\r\n<\/code><\/pre>\n<h2>\u4e0b\u8f7d\u5b58\u6863<\/h2>\n<pre class=\"post-pre\"><code>helm fetch stable\/mysql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>mysql-1.6.2.tgz\r\n<\/code><\/pre>\n<h2>\u751f\u6210\u56fe\u8868<\/h2>\n<p>\u6a21\u677f\u5c06\u88ab\u521b\u5efa\u3002<\/p>\n<pre class=\"post-pre\"><code>helm create sample\r\n<\/code><\/pre>\n<h2>\u6863\u6848<\/h2>\n<p>\u5f53\u4f60\u81ea\u5df1\u521b\u5efa\u4e00\u4e2a\u7f51\u9875\u670d\u52a1\u5668\u5e76\u516c\u5f00\u65f6<\/p>\n<pre class=\"post-pre\"><code>helm package sample\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>~\/D\/tmp \u276f\u276f\u276f helm package sample                                                               \u2718 127\r\nSuccessfully packaged chart and saved it to: \/Users\/yuta\/Desktop\/tmp\/sample-0.1.0.tgz\r\n<\/code><\/pre>\n<h2>\u8bed\u6cd5\u68c0\u67e5<\/h2>\n<pre class=\"post-pre\"><code>helm lint sample-0.1.0.tgz\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>==&gt; Linting sample-0.1.0.tgz\r\n[INFO] Chart.yaml: icon is recommended\r\n\r\n1 chart(s) linted, no failures\r\n<\/code><\/pre>\n<h2>\u663e\u793ayaml\u6587\u4ef6\u7684\u5185\u5bb9<\/h2>\n<pre class=\"post-pre\"><code>helm template sample-0.1.0.tgz\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>---\r\n# Source: sample\/templates\/serviceaccount.yaml\r\napiVersion: v1\r\nkind: ServiceAccount\r\nmetadata:\r\n  name: release-name-sample\r\n  labels:\r\n    app.kubernetes.io\/name: sample\r\n    helm.sh\/chart: sample-0.1.0\r\n    app.kubernetes.io\/instance: release-name\r\n    app.kubernetes.io\/version: \"1.0\"\r\n    app.kubernetes.io\/managed-by: Tiller\r\n---\r\n# Source: sample\/templates\/service.yaml\r\napiVersion: v1\r\n<\/code><\/pre>\n<h3>\u5f53\u60f3\u8981\u83b7\u53d6\u5df2\u516c\u5f00\u7684Chart\u7684yaml\u6587\u4ef6\u65f6\u3002<\/h3>\n<pre class=\"post-pre\"><code>~\/D\/tmp \u276f\u276f\u276f helm fetch stable\/mysql\r\n~\/D\/tmp \u276f\u276f\u276f helm template mysql-1.6.2.tgz\r\n<\/code><\/pre>\n<h2>\u5c06chart\u5b89\u88c5\u5230\u96c6\u7fa4\u4e2d<\/h2>\n<pre class=\"post-pre\"><code>helm install sample\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ed3\u5e93 helm repo list NAME URL stable https:\/\/kubernetes-ch [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-43724","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\" \/>\n<meta property=\"og:description\" content=\"\u4ed3\u5e93 helm repo list NAME URL stable https:\/\/kubernetes-ch [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-13T10:04:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T03:46:22+00:00\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/\",\"name\":\"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-10-13T10:04:02+00:00\",\"dateModified\":\"2024-01-15T03:46:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\/","og_locale":"zh_CN","og_type":"article","og_title":"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217","og_description":"\u4ed3\u5e93 helm repo list NAME URL stable https:\/\/kubernetes-ch [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-10-13T10:04:02+00:00","article_modified_time":"2024-01-15T03:46:22+00:00","author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/","name":"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-10-13T10:04:02+00:00","dateModified":"2024-01-15T03:46:22+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"helm\u65b9\u4fbf\u7684\u547d\u4ee4\u7cfb\u5217"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/helm%e6%96%b9%e4%be%bf%e7%9a%84%e5%91%bd%e4%bb%a4%e7%b3%bb%e5%88%97\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/43724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=43724"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/43724\/revisions"}],"predecessor-version":[{"id":59179,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/43724\/revisions\/59179"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=43724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=43724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=43724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}