diff --git a/dev-upgrade/mysql/mysql-dev.yaml b/dev-upgrade/mysql/mysql-dev.yaml index 2794938..7fbeed8 100644 --- a/dev-upgrade/mysql/mysql-dev.yaml +++ b/dev-upgrade/mysql/mysql-dev.yaml @@ -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