LinuxCommandLibrary

helm-install

deploys a Helm chart to a Kubernetes cluster, creating a new release

TLDR

Install a chart

$ helm install [release-name] [chart]
copy
Install from repository
$ helm install [my-nginx] bitnami/nginx
copy
Install with custom values file
$ helm install [release] [chart] -f [values.yaml]
copy
Install with inline value
$ helm install [release] [chart] --set [key]=[value]
copy
Install in specific namespace
$ helm install [release] [chart] -n [namespace]
copy
Install and wait for pods
$ helm install [release] [chart] --wait
copy
Dry run without installing
$ helm install [release] [chart] --dry-run
copy

SYNOPSIS

helm install [name] chart [options]

DESCRIPTION

helm install deploys a Helm chart to a Kubernetes cluster, creating a new release. A chart contains all resource definitions needed to run an application. Helm tracks releases for easy upgrades with helm upgrade and rollbacks with helm rollback. Use --wait to wait for all pods to be ready before completing.

PARAMETERS

-f, --values file

Custom values YAML file.
--set key=value
Override values inline.
-n, --namespace namespace
Target namespace.
--wait
Wait for pods to be ready.
--timeout duration
Timeout for commands (default 5m0s).
--dry-run
Simulate without installing.
--create-namespace
Create namespace if missing.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community