My Wiki!

Helm Managing Apps

1. Get information

Get custom values:

helm -n traefik get values traefik
USER-SUPPLIED VALUES:
ingressRoute:
  dashboard:
    enabled: false

Get everything: helm values, calculated CRDs.

    helm -n traefik get all traefik
    

2. Update release with new helm values

Helm is stateless! Tiler for e.g., keeps states.

helm repo list

NAME    URL
cilium  https://helm.cilium.io
traefik https://helm.traefik.io/traefik

helm search repo

NAME            CHART VERSION   APP VERSION     DESCRIPTION
cilium/cilium   1.11.5          1.11.5          eBPF-based Networking, Security, and Observability
cilium/tetragon 0.8.0           0.8.0           Helm chart for Tetragon
traefik/traefik 10.20.1         2.7.0           A Traefik based Kubernetes ingress controller

helm -n traefik upgrade traefik traefik/traefik --reuse-values --set ingressRoute.dashboard.enabled=true

Release "traefik" has been upgraded. Happy Helming!
NAME: traefik
LAST DEPLOYED: Wed Jun  8 12:12:01 2022
NAMESPACE: traefik
STATUS: deployed
REVISION: 2
TEST SUITE: None

3. Update release using values.yml

Download local copy of the chart

 helm fetch traefik/traefik --version 10.20.1 --untar
 

Modify values.yml

Update release with new values

 helm install -n <namespace> --values custom_values.yaml <release-name> stable/<chart-name>
 helm install --values custom_values.yaml traefik traefik/traefik 
  

4. Useful commands

 helm -n iiot uninstall mosquitto

Navigation