GPU-Live/gpulive/harbor_2.9.1/vm/1_configure/pv.yaml

91 lines
2.8 KiB
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: harbor-jobservice-pv
labels:
name: harbor-jobservice-pv
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 50Gi
csi:
driver: exa.csi.ddn.com
volumeHandle: exa1:/harbor-job
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
# mountOptions: ro, noflock # list of options for `mount` command
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: harbor-registry-pv
labels:
name: harbor-registry-pv
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 2000Gi
csi:
driver: exa.csi.ddn.com
volumeHandle: exa1:/harbor-registry
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
# mountOptions: ro, noflock # list of options for `mount` command
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: data-harbor-redis-0
labels:
name: data-harbor-redis-0
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 50Gi
csi:
driver: exa.csi.ddn.com
volumeHandle: exa1:/harbor_redis
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
# mountOptions: ro, noflock # list of options for `mount` command
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: data-harbor-trivy-0
labels:
name: data-harbor-trivy-0
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 200Gi
csi:
driver: exa.csi.ddn.com
volumeHandle: exa1:/harbor_trivy
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
# mountOptions: ro, noflock # list of options for `mount` command
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: database-data-harbor-database-0
labels:
name: database-data-harbor-database-0
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 50Gi
csi:
driver: exa.csi.ddn.com
volumeHandle: exa1:/harbor_database
volumeAttributes: # volumeAttributes are the alternative of storageClass params for static (precreated) volumes.
# mountOptions: ro, noflock # list of options for `mount` command
bindMount: "false" # Determines, whether volume will bind mounted or as a separate lustre mount.