udpate prod mongo

main
ycz008 2024-04-19 16:37:36 +08:00
parent f821e8dbc1
commit a449f6cc4a
1 changed files with 0 additions and 6 deletions

View File

@ -24,14 +24,8 @@ 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
chmod 400 /etc/mongodb/keyfile.key
securityContext:
privileged: true
volumeMounts:
- name: mongo-keyfile
mountPath: /etc/mongodb/keyfile.key
subPath: keyfile.key
readOnly: true
containers:
- name: mongo
image: mongo:6.0