mysql-operator icon indicating copy to clipboard operation
mysql-operator copied to clipboard

how about using http liveniess and readiness of mysql container instead of exec mysqladmin ?

Open jianhaiqing opened this issue 5 years ago • 0 comments

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.

jianhaiqing avatar Nov 29 '20 02:11 jianhaiqing