Closed imranrazakhan closed 4 years ago
I experience exactly the same behavior. If I deactivate the OpenShift livenessProbe the log disappears, but it is not a solution. I also tried to increase the livenessProbe timeout (timeoutSeconds) but I still get this log.
I changed to use MySQL Official Docker and done following changes
Current:
readinessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 20
periodSeconds: 2
timeoutSeconds: 1
So it was pinging every two seconds on 3306 port, i changed it to below and its resolved the issue,
readinessProbe:
exec:
command:
- sh
- -c
- "mysqladmin ping -u root -p${MYSQL_ROOT_PASSWORD}"
initialDelaySeconds: 5
periodSeconds: 2
timeoutSeconds: 1
Fixed by #289.
in pods logs i am continuously seeing "Got an error reading communication packets" but everything is working as expected MYSQL 5.7