Skip to content

Instantly share code, notes, and snippets.

@jacekbj
Last active April 13, 2020 08:38
Show Gist options
  • Save jacekbj/95d43eeff2552b96855a26f4a7fdb625 to your computer and use it in GitHub Desktop.
Save jacekbj/95d43eeff2552b96855a26f4a7fdb625 to your computer and use it in GitHub Desktop.
Helm

Install a release

helm install my-installation ./mychart
# dry run
helm install --debug --dry-run my-installation ./mychart
# pass a variable from CLI
helm install --set drink=cofee my-installation ./mychart
# load file with variables
helm install -f ./variables-override.yaml my-installation ./mychart
# set default value to null to remove it
helm install -s livenessProbe.httpGet=null my-installation ./mychart

Get manifest of release

helm get manifest my-installation

Uninstall a release

helm uninstall my-installation

Variables

Release, Chart, Values, Files, Capabilities, Template. Built-in values always start with capital letters.

Flow control

  • define declares a new named template inside of your template,
  • template imports a named template,
  • block declares a special kind of fillable template area.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment