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_time=300
|
||||||
sysctl -w net.ipv4.tcp_keepalive_intvl=10
|
sysctl -w net.ipv4.tcp_keepalive_intvl=10
|
||||||
sysctl -w net.ipv4.tcp_keepalive_probes=3
|
sysctl -w net.ipv4.tcp_keepalive_probes=3
|
||||||
chown 999 /etc/mongodb/keyfile.key
|
# chown 999 /etc/mongodb/keyfile.key
|
||||||
chmod 400 /etc/mongodb/keyfile.key
|
# chmod 400 /etc/mongodb/keyfile.key
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumeMounts:
|
# volumeMounts:
|
||||||
- name: mongo-keyfile
|
# - name: mongo-keyfile
|
||||||
mountPath: /etc/mongodb/keyfile.key
|
# mountPath: /etc/mongodb/keyfile.key
|
||||||
subPath: keyfile.key
|
# subPath: keyfile.key
|
||||||
containers:
|
containers:
|
||||||
- name: mongo
|
- name: mongo
|
||||||
image: mongo:6.0
|
image: mongo:6.0
|
||||||
|
|
Loading…
Reference in New Issue