From 331cfea5fa340003c4e87607507b8ef3107ff88f Mon Sep 17 00:00:00 2001 From: Simon Dahlbacka Date: Fri, 29 Oct 2021 05:32:25 +0300 Subject: [PATCH] helm-install: add page (#6995) --- pages/common/helm-install.md | 32 ++++++++++++++++++++++++++++++++ pages/common/helm.md | 7 ++++--- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 pages/common/helm-install.md diff --git a/pages/common/helm-install.md b/pages/common/helm-install.md new file mode 100644 index 000000000..cfa9cd7d0 --- /dev/null +++ b/pages/common/helm-install.md @@ -0,0 +1,32 @@ +# helm install + +> Install a helm chart. +> More information: . + +- Install a helm chart: + +`helm install {{name}} {{repository_name}}/{{chart_name}}` + +- Install a helm chart from an unpacked chart directory: + +`helm install {{name}} {{path/to/source_directory}}` + +- Install a helm chart from a URL: + +`helm install {{package_name}} {{https://example.com/charts/packagename-1.2.3.tgz}}` + +- Install a helm chart and generate a name: + +`helm install {{repository_name}}/{{chart_name}} --generate-name` + +- Perform a dry run: + +`helm install {{name}} {{repository_name}}/{{chart_name}} --dry-run` + +- Install a helm chart with custom values: + +`helm install {{name}} {{repository_name}}/{{chart_name}} --set {{parameter1}}={{value1}},{{parameter2}}={{value2}}` + +- Install a helm chart passing a custom values file: + +`helm install {{name}} {{repository_name}}/{{chart_name}} --values {{path/to/values.yaml}}` diff --git a/pages/common/helm.md b/pages/common/helm.md index 04ad70ee4..de0b9fcec 100644 --- a/pages/common/helm.md +++ b/pages/common/helm.md @@ -1,6 +1,7 @@ # helm > Helm is a package manager for Kubernetes. +> Some subcommands such as `helm install` have their own usage documentation. > More information: . - Create a helm chart: @@ -9,7 +10,7 @@ - Add a new helm repository: -`helm repo add {{repo_name}}` +`helm repo add {{repository_name}}` - List helm repositories: @@ -21,11 +22,11 @@ - Delete a helm repository: -`helm repo remove {{repo_name}}` +`helm repo remove {{repository_name}}` - Install a helm chart: -`helm install {{repo_name}}/{{chart_name}}` +`helm install {{name}} {{repository_name}}/{{chart_name}}` - Download helm chart as a tar archive: