udpate prod mongo

main
ycz008 2024-04-22 11:36:02 +08:00
parent 360a30779f
commit 0a550897ad
1 changed files with 1 additions and 4 deletions

View File

@ -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