Helm Lab – 2: HELM Installation & Configuration

How to install Helm?

How to check helm Configuration?


root@ip-172-31-54-213:~/.config/helm# helm env
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/root/.cache/helm"
HELM_CONFIG_HOME="/root/.config/helm"
HELM_DATA_HOME="/root/.local/share/helm"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/root/.local/share/helm/plugins"
HELM_REGISTRY_CONFIG="/root/.config/helm/registry/config.json"
HELM_REPOSITORY_CACHE="/root/.cache/helm/repository"
HELM_REPOSITORY_CONFIG="/root/.config/helm/repositories.yaml"

Default directories depend on the Operating System in Helm


| Operating System | Cache Path                | Configuration Path             | Data Path               |
|------------------|---------------------------|--------------------------------|-------------------------|
| Linux            | $HOME/.cache/helm         | $HOME/.config/helm             | $HOME/.local/share/helm |
| macOS            | $HOME/Library/Caches/helm | $HOME/Library/Preferences/helm | $HOME/Library/helm      |
| Windows          | %TEMP%\helm               | %APPDATA%\helm                 | %APPDATA%\helm          |

Environment variables:


| $HELM_CACHE_HOME                   | set an alternative location for storing cached files.                                                       |
| $HELM_CONFIG_HOME                  | set an alternative location for storing Helm configuration.                                                 |
| $HELM_DATA_HOME                    | set an alternative location for storing Helm data.                                                          |
| $HELM_DEBUG                        | indicate whether or not Helm is running in Debug mode                                                       |
| $HELM_DRIVER                       | set the backend storage driver. Values are: configmap, secret, memory, sql.                                 |
| $HELM_DRIVER_SQL_CONNECTION_STRING | set the connection string the SQL storage driver should use.                                                |
| $HELM_MAX_HISTORY                  | set the maximum number of helm release history.                                                             |
| $HELM_NAMESPACE                    | set the namespace used for the helm operations.                                                             |
| $HELM_NO_PLUGINS                   | disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins.                                                  |
| $HELM_PLUGINS                      | set the path to the plugins directory                                                                       |
| $HELM_REGISTRY_CONFIG              | set the path to the registry config file.                                                                   |
| $HELM_REPOSITORY_CACHE             | set the path to the repository cache directory                                                              |
| $HELM_REPOSITORY_CONFIG            | set the path to the repositories file.                                                                      |
| $KUBECONFIG                        | set an alternative Kubernetes configuration file (default "~/.kube/config")                                 |
| $HELM_KUBEAPISERVER                | set the Kubernetes API Server Endpoint for authentication                                                   |
| $HELM_KUBECAFILE                   | set the Kubernetes certificate authority file.                                                              |
| $HELM_KUBEASGROUPS                 | set the Groups to use for impersonation using a comma-separated list.                                       |
| $HELM_KUBEASUSER                   | set the Username to impersonate for the operation.                                                          |
| $HELM_KUBECONTEXT                  | set the name of the kubeconfig context.                                                                     |
| $HELM_KUBETOKEN                    | set the Bearer KubeToken used for authentication.                                                           |
| $HELM_KUBEINSECURE_SKIP_TLS_VERIFY | indicate if the Kubernetes API server's certificate validation should be skipped (insecure)                 |
| $HELM_KUBETLS_SERVER_NAME          | set the server name used to validate the Kubernetes API server certificate                                  |
| $HELM_BURST_LIMIT                  | set the default burst limit in the case the server contains many CRDs (default 100, -1 to disabl          e)|

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x