Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
helm_overview [2020/05/22 13:25] – andonovj | helm_overview [2020/05/22 13:30] (current) – andonovj | ||
---|---|---|---|
Line 10: | Line 10: | ||
This scenario covers version 3.x of Helm. If you are using version 2.x, it's highly advisable to move to the recent version. | This scenario covers version 3.x of Helm. If you are using version 2.x, it's highly advisable to move to the recent version. | ||
- | =====Installation===== | + | =====Install Simple Redis Chart===== |
Helm can be installed very easily as follows: | Helm can be installed very easily as follows: | ||
Line 238: | Line 238: | ||
redis | redis | ||
master $ | master $ | ||
+ | </ | ||
+ | |||
+ | ====Create Persistent Storage==== | ||
+ | Let's create couple persistant Volumes for storage: | ||
+ | |||
+ | < | ||
+ | master $ kubectl apply -f pv.yaml | ||
+ | persistentvolume/ | ||
+ | persistentvolume/ | ||
+ | persistentvolume/ | ||
+ | master $ mkdir /mnt/data1 /mnt/data2 /mnt/data3 --mode=777 | ||
+ | master $ cat pv.yaml | ||
+ | kind: PersistentVolume | ||
+ | apiVersion: v1 | ||
+ | metadata: | ||
+ | name: pv-volume1 | ||
+ | labels: | ||
+ | type: local | ||
+ | spec: | ||
+ | capacity: | ||
+ | storage: 10Gi | ||
+ | accessModes: | ||
+ | - ReadWriteOnce | ||
+ | hostPath: | ||
+ | path: "/ | ||
+ | --- | ||
+ | kind: PersistentVolume | ||
+ | apiVersion: v1 | ||
+ | metadata: | ||
+ | name: pv-volume2 | ||
+ | labels: | ||
+ | type: local | ||
+ | spec: | ||
+ | capacity: | ||
+ | storage: 10Gi | ||
+ | accessModes: | ||
+ | - ReadWriteOnce | ||
+ | hostPath: | ||
+ | path: "/ | ||
+ | --- | ||
+ | kind: PersistentVolume | ||
+ | apiVersion: v1 | ||
+ | metadata: | ||
+ | name: pv-volume3 | ||
+ | labels: | ||
+ | type: local | ||
+ | spec: | ||
+ | capacity: | ||
+ | storage: 10Gi | ||
+ | accessModes: | ||
+ | - ReadWriteOnce | ||
+ | hostPath: | ||
+ | path: "/ | ||
</ | </ |