-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The need to include a mysqlbinlog binary in a k8s deployment #15452
Comments
Confirmed:
/cc @frouioui as this may complicate our plans to remove MySQL from the |
Yeah, the binaries in that image are:
|
Beyond that we will need to package mysqlbinlog in our published docker images for k8s users. But as @mattlord pointed out, this complicates things. Which version of mysqlbinlog do we bundle into the docker image? |
I have proposed a fix in #15775 which adds |
Overview of the Issue
Here, I just tried using official mysql:8.0.30 image in k8s env
And the reason I did test this is because in Vitess V19.0.0 Release docs says
If you are currently using vitess/lite as your mysqld image in your vitess-operator deployment we invite you to use an official MySQL image, such as mysql:8.0.30
Here is the link
So conclusion is to use vitess/lite image or maybe custom built image from official mysql image as base and add mysqlbinlog
Reproduction Steps
Here I can't take incremental backups only full backup works. Check the output:
And as you can see the official
mysql:8.0.30
doesn't havemysqlbinlog
in pathBinary Version
vitess/lite:pitr-test is the image I built based on PR #15440 which is proposed solution for PITR images: vtctld: myrepo/vitess/lite:pitr-test vtadmin: vitess/vtadmin:v19.0.0 vtgate: myrepo/vitess/lite:pitr-test vttablet: myrepo/vitess/lite:pitr-test vtbackup: myrepo/vitess/lite:pitr-test vtorc: myrepo/vitess/lite:pitr-test mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.14.0
Log Fragments
No response
The text was updated successfully, but these errors were encountered: