helm_overview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
helm_overview [2020/05/22 13:25] andonovjhelm_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   default                       2020-05-22 13:23:40.824372834 +0000 UTC deployed        redis-10.6.15   6.0.3 redis   default                       2020-05-22 13:23:40.824372834 +0000 UTC deployed        redis-10.6.15   6.0.3
 master $ master $
 +</Code>
 +
 +====Create Persistent Storage====
 +Let's create couple persistant Volumes for storage:
 +
 +<Code:bash|Create Persistent Storage>
 +master $ kubectl apply -f pv.yaml
 +persistentvolume/pv-volume1 created
 +persistentvolume/pv-volume2 created
 +persistentvolume/pv-volume3 created
 +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: "/mnt/data1"
 +---
 +kind: PersistentVolume
 +apiVersion: v1
 +metadata:
 +  name: pv-volume2
 +  labels:
 +    type: local
 +spec:
 +  capacity:
 +    storage: 10Gi
 +  accessModes:
 +    - ReadWriteOnce
 +  hostPath:
 +    path: "/mnt/data2"
 +---
 +kind: PersistentVolume
 +apiVersion: v1
 +metadata:
 +  name: pv-volume3
 +  labels:
 +    type: local
 +spec:
 +  capacity:
 +    storage: 10Gi
 +  accessModes:
 +    - ReadWriteOnce
 +  hostPath:
 +    path: "/mnt/data3"
 </Code> </Code>
  • helm_overview.1590153942.txt.gz
  • Last modified: 2020/05/22 13:25
  • by andonovj