changelog-server/system/k8s/volumes.yaml

43 lines
769 B
YAML
Raw Normal View History

2020-05-18 14:27:33 +00:00
#apiVersion: v1
#kind: PersistentVolume
#metadata:
# name: changelog-server
#spec:
# capacity:
# storage: 2Mi
# volumeMode: Filesystem
# accessModes:
# - ReadWriteOnce
# persistentVolumeReclaimPolicy: Retain
#---
#
#apiVersion: v1
#kind: PersistentVolume
#metadata:
# name: changelog-server
#spec:
# capacity:
# storage: 5Gi
# volumeMode: Filesystem
# accessModes:
# - ReadWriteOnce
# persistentVolumeReclaimPolicy: Retain
# HostPath :
# path: /changelog-server-es01data
#
#
apiVersion: v1
kind: PersistentVolume
metadata:
name: changelog-server-esdata
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/changelog-server-esdata"