Uncategorized

Helm Commands

Spread the love

1) command installs Tiller (the Helm server-side component) onto your K8s Cluster and sets up local configuration in $HELM_HOME (default ~/.helm/):
CMD : helm init

2) Set an alternative location for Helm files :
CMD : $HELM_HOME

3) Set an alternative Tiller host. The format is host:port :
CMD : $HELM_HOST

4) Set HELM_NO_PLUGINS=1 to disable plugins :
CMD : $HELM_NO_PLUGINS=1

5) The below command takes a release name, and then deletes the release from Kubernetes :
CMD : helm delete [flags] RELEASE_NAME […]

6) Build out the charts/ directory from the requirements.lock file :
CMD : helm dependency build [flags] CHART

7) List all of the dependencies declared in a chart :
CMD : helm dependency list [flags] CHART

8) Update the on-disk dependencies to mirror the requirements.yaml file :
CMD : helm dependency update [flags] CHART

9) Retrieve a package from a package repository, and download it locally :
CMD : helm fetch [flags] [chart URL | repo/chartname] […]

10) To show the details of a named release :
CMD : helm get [flags] RELEASE_NAME

11) To download the hooks for a given release :
CMD : helm get hooks [flags] RELEASE_NAME

12) To fetche the generated manifest for a given release :
CMD : helm get manifest [flags] RELEASE_NAME

13) To show the notes provided by the chart of a named release
CMD : helm get notes [flags] RELEASE_NAME

14) To download a values file for a given release :
CMD : helm get values [flags] RELEASE_NAME

15) To print historical revisions for a given release :
CMD : helm history [flags] RELEASE_NAME

16) To display the location of HELM_HOME. This is where any helm configuration files live :
CMD : helm home [flags]

17) To print the contents of the Chart.yaml file and the values.yaml file
CMD : helm inspect [CHART] [flags]

18) To inspect a chart (directory, file, or URL) and displays the contents of the Charts.yaml file :
CMD : helm inspect chart [CHART] [flags]

19) To inspect a chart (directory, file, or URL) and displays the contents of the values.yaml file :
CMD : helm inspect values [CHART] [flags]

20) To install a chart archive
CMD : helm install -f myvalues.yaml ./name

21) To list all of the releases
CMD : helm list ‘ara[a-z]+’

22) To packages a chart into a versioned chart archive file. If a path is given, this will look at that path for a chart
(which must contain a Chart.yaml file) and then package that directory :
CMD : helm package [flags] [CHART_PATH] […]

23) To list the installed Helm plugins :
CMD : helm plugin list [flags]

24) To remove one or more Helm plugins :
CMD : helm plugin remove … [flags]

25) To update one or more Helm plugins :
CMD : helm plugin update … [flags]

26) To add a chart repository
CMD : helm repo add [flags] [NAME] [URL]

27) To generate an index file given a directory containing packaged charts :
CMD : helm repo index [flags] [DIR]

28) To list chart repositories :
CMD : helm repo list [flags]

29) To remove a chart repository :
CMD : helm repo remove [flags] [NAME]

30) To Uninstall Tiller from a cluster :
CMD : helm reset [flags]

Leave a Reply

Your email address will not be published. Required fields are marked *