mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
fix(yaml): fixing mongo yaml
As the selector is needed in the latest kubetnetes cluster Also updated zfs volume custom resource and renamed few fields of percona application. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
0b7229a573
commit
e953af99cf
3 changed files with 11 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: mongo-pv-az
|
||||
name: zfspv-mongo
|
||||
parameters:
|
||||
volblocksize: "4k"
|
||||
poolname: "zfspv-pool"
|
||||
|
|
@ -32,6 +32,9 @@ kind: StatefulSet
|
|||
metadata:
|
||||
name: mongo
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
role: mongo
|
||||
serviceName: "mongo"
|
||||
replicas: 3
|
||||
template:
|
||||
|
|
@ -63,7 +66,7 @@ spec:
|
|||
- metadata:
|
||||
name: mongo-persistent-storage
|
||||
spec:
|
||||
storageClassName: mongo-pv-az
|
||||
storageClassName: zfspv-mongo
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue