udpate prod mongo
parent
af87c8eb00
commit
678a4ec3ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue