planetscale / vitess-operator

Kubernetes Operator for Vitess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does MysqldImage Work?

prime-minister-of-fun opened this issue · comments

Documentation says:

MysqldImage
(Appears on: VitessImages, VitessKeyspaceImages)

MysqldImage specifies the container image to use for mysqld, as well as declaring which MySQL flavor setting in Vitess the image is compatible with.

You've got a commented-out example for what seems like VitessImages, which is great.

But, no idea how to get the tags associated with an image. And just uncommenting
images:
mysqld:
mysql80Compatible:

creates containers with mysql57 running.

Are you referring to a tag that has the MySQL 8.0 included (e.g. the mysql80 or percona80 tags if using vitess/lite?).

For example:

    images:
      mysqld:
        mysql80Compatible:  vitess/lite:mysql80

(assuming you can pull transparently from docker hub; otherwise you will need to adjust the image url)

Perfect! Thank you.