Skip to content

Instantly share code, notes, and snippets.

@INDIAN2020
Created October 20, 2021 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save INDIAN2020/d05615bd09f0e784251d1e21ea10a7de to your computer and use it in GitHub Desktop.
Save INDIAN2020/d05615bd09f0e784251d1e21ea10a7de to your computer and use it in GitHub Desktop.
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-01
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis01
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-02
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis02
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-03
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis03
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-04
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis04
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-05
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis05
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: redis-pv-06
spec:
capacity:
storage: 1Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
hostPath:
path: /redis06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment