Kubernetes helm chart notes

Helm - create own chart

  1. kubectl create namespace <NS>

  2. helm -n <NS> create <Name> <chart-name>

  3. helm -n <Ns> list

  4. helm -n <NS> uninstall <Name>

Helm 2022

Helm3 2020-04

  1. On local chart (main deployment of all components)
    1. helm repo index .
      • This index's charts under ./charts and create a new ./index.yam
    2. helm repo add stable https://kubernetes-charts.storage.googleapis.com/

    3. helm repo add
    4. helm search repo rabbitmq

Helm setup 2020-01

  1. Create a dir and add Chart.yaml with version and maintainer.
  2. Create requirements.yaml file with external charts needed
    • search for versions with $ helm search -l stable/rabbitmq-ha 

  3. Install local charts from google with $  helm dependency update 

  4. Verify with $  helm dependency list 

Install 2019-03

201903 add ingress and static ip

  1. Get k8s nodeResourceGroup grom gui or with

    az aks show --resource-group <rgK8S> --name <clusterName> --query nodeResourceGroup -o tsv
  2. provision static ip with

    az network public-ip create --resource-group <MC_K8S_from_above> --name <cluster-PublicIP> --allocation-method static
  3. assign ip to nginx ingress controller

    helm install stable/nginx-ingress  -namespace kube-system  --set controller.service.loadBalancerIP="52.23.23.32"  --set controller.replicaCount=2

Run 2019-02

Tricks

HELM install/uninstall


CategoryK8sKubernetes

k8s/helm (last edited 2022-08-02 02:27:36 by PieterSmit)