Skip to content
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

Extended OpenShift template for the Galera cluster #127

Closed
wants to merge 1 commit into from
Closed

Extended OpenShift template for the Galera cluster #127

wants to merge 1 commit into from

Conversation

desdrury
Copy link

@desdrury desdrury commented Dec 6, 2017

I've extended the OpenShift template so that it can do the following.

  • Define the root password (see Implement Galera Master-Master Replication #107). Stored in a Secret. Uses the OpenShift template variable MYSQL_ROOT_PASSWORD.
  • Define a default user and password. Stored in the same Secret. Uses the OpenShift template variables MYSQL_USER and MYSQL_PASSWORD.
  • Define a default database. Use the OpenShift template variable MYSQL_DATABASE.
  • Added a Deployment and related Service that runs the Prometheus MySQL Exporter so that we can collect metrics to visualise in Grafana.

This has all been tested on a local MiniShift instance.

@Schnitzel
Copy link
Contributor

Thanks!

We want to create an alpine mariadb first (#61), so we don't depend on any external images (like adfinissygroup/k8s-mariadb-galera-centos).

After that happy to look into that :)

@desdrury
Copy link
Author

@Schnitzel do you have an ETA for when the Alpine MariaDB will be done? And if not before Governors, i.e. 22/12/2017, would Amazee support us running a version of the Galera cluster using the adfinissygroup/k8s-mariadb-galera-centos as an interim solution?

@Schnitzel
Copy link
Contributor

pinging @rtprio for the question regarding MariaDB Images

@rtprio
Copy link
Contributor

rtprio commented Dec 12, 2017

mariadb builds ok with the galera flags; I'm having several issues with building the associated wsrep tools on alpine. I do not think I'll have it ready to go by the 22nd.

At this time adfinissygroup/k8s-mariadb-galera-centos would be my second choice.

@rtprio rtprio closed this Mar 5, 2018
@rtprio
Copy link
Contributor

rtprio commented Mar 5, 2018

I didn't mean to close this PR so swiftly but I'm tracking galera in #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants