add mongodb
parent
ac95d5f2d0
commit
35266197d5
|
@ -1,13 +1,4 @@
|
|||
|
||||
# ---
|
||||
# apiVersion: storage.k8s.io/v1
|
||||
# kind: StorageClass
|
||||
# metadata:
|
||||
# name: mongo-dev
|
||||
# provisioner: kubernetes.io/no-provisioner
|
||||
# allowVolumeExpansion: true
|
||||
# volumeBindingMode: WaitForFirstConsumer
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
|
@ -16,7 +7,7 @@ metadata:
|
|||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: local-storage
|
||||
storageClassName: local-mongo
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: mongo-release
|
||||
provisioner: kubernetes.io/no-provisioner
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
|
@ -16,7 +6,7 @@ metadata:
|
|||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: mongo-release
|
||||
storageClassName: local-mongo
|
||||
capacity:
|
||||
storage: 10Gi
|
||||
accessModes:
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: local-mongo
|
||||
provisioner: kubernetes.io/no-provisioner
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
Loading…
Reference in New Issue