mysql-operator
mysql-operator copied to clipboard
how about using http liveniess and readiness of mysql container instead of exec mysqladmin ?
Since exec action handle is very heavy action, fork process and exec the command, how about add two endpoint in sidecar to exec the liveness and readiness for mysql container. kubelet --> liveness of mysql container, and handled by sidecar container, using mysql connection pool to exec the probe to mysql container.