Create, operate and scale self-healing MySQL clusters in Kubernetes
Clone or download
Pull request Compare This branch is 27 commits behind oracle:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add a GitHub issue template Apr 6, 2018
ci-docker-images/mysql-operator-ci-e2e Changes build to publish docker images to all OCIR regions (oracle#103) May 21, 2018
cmd API Changes (oracle#123) Jun 13, 2018
contrib/manifests Fix Events RBAC (oracle#143) Jun 18, 2018
docker Upgrade to MySQL 8.0.11 (GA) (oracle#87) Apr 30, 2018
docs Release 0.2.0 CHANGELOG and version bump (oracle#170) Jul 5, 2018
examples Fix cluster config (alpha1 -> v1alpha1) (oracle#130) Jun 26, 2018
hack Migrate API version from v1 -> v1alpha1 (oracle#122) Jun 4, 2018
mysql-operator Update Chart.yaml to reflect operator 0.2.0 version (oracle#173) Jul 6, 2018
pkg Tidy up issues highlighted by Go Report Card Jul 6, 2018
test Fix incorrectly setting cluster ready to true (oracle#172) Jul 5, 2018
vendor Implement minimum MySQL version validation (oracle#169) Jul 5, 2018
.dockerignore Initial commit Jan 8, 2018
.editorconfig Initial commit Jan 8, 2018
.gitignore Group replication SSL (oracle#115) May 30, 2018 Release 0.2.0 CHANGELOG and version bump (oracle#170) Jul 5, 2018 Update Jan 12, 2018
Gopkg.lock Implement minimum MySQL version validation (oracle#169) Jul 5, 2018
Gopkg.toml Implement minimum MySQL version validation (oracle#169) Jul 5, 2018
LICENSE Initial commit Jan 8, 2018
Makefile Support mysql-agent stable releases in run-dev Jul 6, 2018 Add Go report card badge (oracle#171) Jul 5, 2018
wercker.yml Independent mysql-agent ClusterRole and RBAC (oracle#121) Jun 1, 2018

MySQL Operator

wercker status Go Report Card

The MySQL Operator creates, configures and manages MySQL clusters running on Kubernetes.

The MySQL Operator is opinionated about the way in which clusters are configured. We build upon InnoDB cluster and Group Replication to provide a complete high availability solution for MySQL running on Kubernetes.

While fully usable, this is currently alpha software and should be treated as such. You are responsible for your data and the operation of your database clusters. There may be backwards incompatible changes up until the first major release.

Getting started

See the tutorial which provides a quick-start guide for users of the Oracle MySQL Operator.


The MySQL Operator provides the following core features:

  • Create and delete highly available MySQL clusters in Kubernetes with minimal effort
  • Automate database backups, failure detection, and recovery
  • Schedule automated backups as part of a cluster definition
  • Create "on-demand" backups.
  • Use backups to restore a database


  • Kubernetes 1.8.0 +


mysql-operator is an open source project. See CONTRIBUTING for details.

Oracle gratefully acknowledges the contributions to this project that have been made by the community.


Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.

mysql-operator is licensed under the Apache License 2.0.

See LICENSE for more details.