udpate prod mongo
parent
a449f6cc4a
commit
ecd289172a
|
@ -24,8 +24,13 @@ 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
|
||||||
|
chmod 400 /etc/mongodb/keyfile.key
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumeMounts:
|
||||||
|
- name: mongo-keyfile
|
||||||
|
mountPath: /etc/mongodb/keyfile.key
|
||||||
|
subPath: keyfile.key
|
||||||
containers:
|
containers:
|
||||||
- name: mongo
|
- name: mongo
|
||||||
image: mongo:6.0
|
image: mongo:6.0
|
||||||
|
|
Loading…
Reference in New Issue