Skip to main content

Communication Errors


Background

  • MySQL can connect from its own pod.
  • MySQL can not connect by K8s service.
    • Service endpoint is right.
    • getent inside pod, sometimes failed.
    • Pod network is not ok.
    • Check calicocalico(pod) CNICNI.

Errors

JDBC Errors
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
...
The driver has not received any packets from the server