Skip to content

๐Ÿ”ฐ Quick Start

1) install helmwave

2) create helmwave.yml.tpl

Suppose the helmwave.yml.tpl representing the desired state of your helm releases looks like:

project: my-project
version: 0.9.1


repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami


.options: &options
  install: true
  namespace: my-namespace


releases:
  - name: redis-a
    chart: bitnami/redis
    options:
      <<: *options

  - name: redis-b
    chart: bitnami/redis
    options:
      <<: *options

3) run helmwave

helmwave deploy

Output will be like that:

[๐Ÿ™ƒ aka INFO]: โœ… redis-a@my-namespace
[๐Ÿ™ƒ aka INFO]: โœ… redis-b@my-namespace
[๐Ÿ™ƒ aka INFO]: Success 2 / 2

4) check

$ helm list -n my-namespace
NAME                    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
redis-a                 my-namespace    1               2020-10-31 17:05:35.829766 +0300 MSK    deployed        redis-11.2.3            6.0.9      
redis-b                 my-namespace    1               2020-10-31 17:05:39.437556 +0300 MSK    deployed        redis-11.2.3            6.0.9  

$ k get po -n my-namespace                                                                                                                         
NAME               READY   STATUS    RESTARTS   AGE
redis-a-master-0   1/1     Running   0          64s
redis-a-slave-0    1/1     Running   0          31s
redis-a-slave-1    1/1     Running   0          62s
redis-b-master-0   1/1     Running   0          59s
redis-b-slave-0    1/1     Running   0          32s
redis-b-slave-1    1/1     Running   0          51s

Congratulations!

Live mode