udpate prod mongo

main
ycz008 2024-04-19 16:55:50 +08:00
parent af87c8eb00
commit 678a4ec3ad
1 changed files with 6 additions and 6 deletions

View File

@ -24,14 +24,14 @@ spec:
sysctl -w net.ipv4.tcp_keepalive_time=300
sysctl -w net.ipv4.tcp_keepalive_intvl=10
sysctl -w net.ipv4.tcp_keepalive_probes=3
chown 999 /etc/mongodb/keyfile.key
chmod 400 /etc/mongodb/keyfile.key
# chown 999 /etc/mongodb/keyfile.key
# chmod 400 /etc/mongodb/keyfile.key
securityContext:
privileged: true
volumeMounts:
- name: mongo-keyfile
mountPath: /etc/mongodb/keyfile.key
subPath: keyfile.key
# volumeMounts:
# - name: mongo-keyfile
# mountPath: /etc/mongodb/keyfile.key
# subPath: keyfile.key
containers:
- name: mongo
image: mongo:6.0