helm repo list
NAME URL
tremolo https://nexus.tremolo.io/repository/helm/
bitnami https://charts.bitnami.com/bitnami
kasten https://charts.kasten.io/
hashicorp https://helm.releases.hashicorp.com
crossplane-stable https://charts.crossplane.io/stable
Update existing added repositories:
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "hashicorp" chart repository
...Successfully got an update from the "crossplane-stable" chart repository
...Successfully got an update from the "kasten" chart repository
...Successfully got an update from the "bitnami" chart repository
...Successfully got an update from the "tremolo" chart repository
Update Complete. ⎈Happy Helming!⎈
Remove existing repositories:
helm repo remove tremolo
"tremolo" has been removed from your repositories
Helm Plugins
Examples:
Helm Diff: Performs a diff between a deployed release and proposed Helm upgrade
Helm Secrets: Used to help conceal secrets from Helm charts
Helm Monitor: Used to monitor a release and perform a rollback if certain events occur
Helm Unittest: Used to perform unit testing on a Helm chart
Helm ENV Vars
helm -h
The Kubernetes package manager
Environment variables:
| Name | Description |
|------------------------------------|---------------------------------------------------------------------------------------------------|
| $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
Operating System
Cache Path
Configuration Path
Data Path
Windows
%TEMP%\helm
%APPDATA%\helm
%APPDATA%\helm
macOS
$HOME/Library/Caches/helm
$HOME/Library/Preferences/helm
$HOME/Library/helm
Linux
$HOME/.cache/helm
$HOME/.config/helm
$HOME/.local/share/helm
Helm uses the cache path to store charts that are downloaded from upstream chart repositories. Installed charts are cached to the local machine to enable faster installation of the chart the next time it is referenced. The cache path also includes YAML files that are used to index the available Helm charts from each configured repository. These index files are updated when users run the helm repo update command.
The configuration path is used to save repository information, such as the URL and credentials for authentication, if required. When a chart is installed but is not located in the local cache yet, Helm uses the configuration path to look up the URL of the chart repository. The chart is then downloaded from this URL.
The data path is used to store plugins. When a plugin is installed using the helm plugin install command, the plugin itself is stored in this location.
archive-full-index will list all the old charts as well.
helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
% helm repo list
NAME URL
bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
Will list all the available charts under binami repo.
Always run helm repo update, this will update you locally added repos.
helm search repo bitnami
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/bitnami-common 0.0.9 0.0.9 DEPRECATED Chart with custom templates used in ...
bitnami/airflow 16.1.8 2.8.0 Apache Airflow is a tool to express and execute...
bitnami/apache 10.2.4 2.4.58 Apache HTTP Server is an open-source HTTP serve...
...
helm search repo bitnami --output yaml
helm search repo wordpress
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/wordpress 19.0.4 6.4.2 WordPress is the world's most popular blogging ...
bitnami/wordpress-intel 2.1.31 6.1.1 DEPRECATED WordPress for Intel is the most popu...
Search all previous versions
helm search repo wordpress --versions
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/wordpress 19.0.4 6.4.2 WordPress is the world's most popular blogging ...
bitnami/wordpress 19.0.3 6.4.2 WordPress is the world's most popular blogging ...
bitnami/wordpress 19.0.2 6.4.2 WordPress is the world's most popular blogging ...
...
Chart details
helm show chart bitnami/wordpress
# OR
# helm show chart bitnami/wordpress --version 19.0.4
helm show chart bitnami/wordpress
annotations:
category: CMS
images: |
- name: apache-exporter
image: docker.io/bitnami/apache-exporter:1.0.3-debian-11-r2
- name: os-shell
image: docker.io/bitnami/os-shell:11-debian-11-r92
- name: wordpress
image: docker.io/bitnami/wordpress:6.4.2-debian-11-r10
licenses: Apache-2.0
apiVersion: v2
appVersion: 6.4.2
dependencies:
- condition: memcached.enabled
name: memcached
repository: oci://registry-1.docker.io/bitnamicharts
version: 6.x.x
- condition: mariadb.enabled
name: mariadb
repository: oci://registry-1.docker.io/bitnamicharts
version: 15.x.x
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
description: WordPress is the world's most popular blogging and content management
platform. Powerful yet simple, everyone from students to global corporations use
it to build beautiful, functional websites.
home: https://bitnami.com
icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png
keywords:
- application
- blog
- cms
- http
- php
- web
- wordpress
maintainers:
- name: VMware, Inc.
url: https://github.com/bitnami/charts
name: wordpress
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/wordpress
version: 19.0.4
Usage:
helm show [command]
Available Commands:
all show all information of the chart
chart show the chart's definition
crds show the chart's CRDs
readme show the chart's README
values show the chart's values
To see chart's default values
helm show values bitnami/wordpress --version 12.1.6
helm install wordpress bitnami/wordpress --values=values.yaml -n wordpress --version 12.1.6
NAME: wordpress
LAST DEPLOYED: Wed Feb 7 20:55:36 2024
NAMESPACE: wordpress
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Get notes of a release
First, get list of releases
helm list -A
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
wordpress wordpress 1 2024-02-07 20:55:36.291079 +0530 IST deployed wordpress-12.1.6 5.8.0
Get notes by release name
helm get notes wordpress -n wordpress
NOTES:
Your WordPress site can be accessed through the following DNS name from within your cluster:
..
Get manifest of named release
helm get manifest wordpress -n wordpress
You can get following details around any release, using helm get command.
helm get -h
Available Commands:
all download all information for a named release
hooks download all hooks for a named release
manifest download the manifest for a named release
notes download the notes for a named release
values download the values file for a named release
Get values that has been applied on the installed release:
helm get values wordpress -n wordpress
Get all values supported by this release :
helm get values wordpress --all -n wordpress
Many Helm charts add the app.kubernetes.io/name label (or a similar label) on the resources they create.
kubectl get all -l app.kubernetes.io/name=wordpress -n wordpress
Upgrading WordPress Release
Let's update values.yaml and add following values:
replicaCount: 2
resources:
requests:
memory: 256Mi
cpu: 100m
helm list -n wordpress
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
wordpress wordpress 2 2024-02-12 08:43:52.103338 +0530 IST deployed wordpress-12.1.6 5.8.0
Helm upgrade command includes two additional values-related flags.
--reuse-values (default): When upgrading, reuse the last release’s values
--reset-values: When upgrading, reset the values to the chart defaults
If at least one value is provided with --set or --values, then the --reset-values flag is applied by default.
Rolling back
Every Helm release has a history of revisions.
Revision data is saved in Kubernetes Secrets by default.