Summary

ref

What it is?

  1. package manager for
  2. used for organizing manifest files using , go, templates.
  3. variables can be injected to a common set of manifest files, called charts, making them re-usable.

Vocabulary

  1. charts: collection of files that describe related set of .
  2. template: go template

Chart structure

wordpress/
  Chart.yaml          # A YAML file containing information about the chart
  LICENSE             # OPTIONAL: A plain text file containing the license for the chart
  README.md           # OPTIONAL: A human-readable README file
  values.yaml         # The default configuration values for this chart
  values.schema.json  # OPTIONAL: A JSON Schema for imposing a structure on the values.yaml file
  charts/             # A directory containing any charts upon which this chart depends.
  crds/               # Custom Resource Definitions
  templates/          # A directory of templates that, when combined with values,
                      # will generate valid Kubernetes manifest files.
  templates/NOTES.txt # OPTIONAL: A plain text file containing short usage notes

Useful commands

helm list # list of deployed charts
helm template chart-name # create manifest files to check , syntax error
helm install elasticsearch ./elastic/elasticsearch --set imageTag=8.0.0-SNAPSHOT --values ./elastic/elasticsearch/values.yaml # install
helm upgrade --install elasticsearch ./elastic/elasticsearch --set imageTag=8.0.0-SNAPSHOT --values ./elastic/elasticsearch/values.yaml # updrade
helm install --dry-run --debug docs/examples/alpine \
  --set foo=bar \
  --set bar=baz,baz=lurman \
  --set foo=banana # passing values from command line
helm uninstall release-verion # get release from 'helm list'