Aller au contenu

Mes premiers charts Helm

Helm est le gestionnaire de paquet de Kubernetes.

helm init
helm repo update
helm search hub

Création de chart

Helm permet de créer un projet de chart avec :

  • a values.yaml file, containing (tunable) parameters for the chart
  • a Chart.yaml file, containing metadata (name, version, description ...)
helm create jupyter-chart
jupyter-chart
├── Chart.yaml
├── charts
├── templates
│   ├── NOTES.txt
│   ├── _helpers.tpl
│   ├── deployment.yaml
│   ├── hpa.yaml
│   ├── ingress.yaml
│   ├── service.yaml
│   ├── serviceaccount.yaml
│   └── tests
│       └── test-connection.yaml
└── values.yaml

Installation des charts

helm install --dry-run --debug ./jupyter-chart => pour tester
helm install ./jupyter-chart

helm list
Authors: Cécile Cavet