sclorg / mysql-container

MySQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
128 stars 201 forks source link

mysql cluster image #284

Open doyoungim999 opened 4 years ago

doyoungim999 commented 4 years ago

hi I am trying to run mysql cluster on openshift now. I am refereing https://hub.docker.com/r/mysql/mysql-cluster/ but it is not good for kubernetes environment. Is there any activity related with MYSQL cluster image on kubernetes or openshift ?

hhorak commented 3 years ago

I'm sorry, we don't have any supported cluster solution at this moment. There are commands run-mysqld-master and run-mysqld-slave in the MySQL container image, so it can be also integrated into kubernetes and openshift, as seen here: https://docs.openshift.com/online/pro/using_images/db_images/mysql.html#creating-the-deployment-configuration-for-mysql-master

But I must warn here that it is meant more as an unsupported example for developer needs, because cluster use cases differ case by case. Users are therefore rather advised to write an operator instead, that will fit their specific use case and can handle even more complicated scenarios like failover.