udpate prod mongo
parent
360a30779f
commit
0a550897ad
|
@ -66,10 +66,6 @@ spec:
|
|||
mountPath: /data/db
|
||||
- name: mongo-conf
|
||||
mountPath: /etc/mongodb
|
||||
- name: mongo-keyfile
|
||||
mountPath: /etc/keyfile.0
|
||||
subPath: keyfile.0
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: mongo-data
|
||||
hostPath:
|
||||
|
@ -98,6 +94,7 @@ spec:
|
|||
value: "mongo"
|
||||
effect: "NoSchedule"
|
||||
|
||||
# function: when primary node changes, update mongo-rs0 to primary;
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
Loading…
Reference in New Issue