fix: mysql terminated

main
ycz008 2023-09-15 11:53:15 +08:00
parent ac5addb003
commit 6133337002
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@ spec:
labels:
name: mysql
spec:
securityContext:
sysctls:
- name: net.ipv4.tcp_keepalive_time
value: "300"
- name: net.ipv4.tcp_keepalive_intvl
value: "10"
- name: net.ipv4.tcp_keepalive_probes
value: "3"
containers:
- name: mysql
image: mysql:8.0.33