/percona-xtradb-cluster-operator

Percona Operator for MySQL based on Percona XtraDB Cluster

Primary LanguageGoApache License 2.0Apache-2.0

Percona Operator for MySQL based on Percona XtraDB Cluster

License

Percona XtraDB Cluster (PXC) is an open-source enterprise MySQL solution that helps you to ensure data availability for your applications while improving security and simplifying the development of new applications in the most demanding public, private, and hybrid cloud environments.

Based on our best practices for deployment and configuration, Percona Operator for MySQL based on Percona XtraDB Cluster contains everything you need to quickly and consistently deploy and scale Percona XtraDB Cluster instances in a Kubernetes-based environment on-premises or in the cloud. It provides the following capabilities:

  • Easy deployment with no single point of failure
  • Load balancing and proxy service with either HAProxy or ProxySQL
  • Scheduled and manual backups
  • Integrated monitoring with Percona Monitoring and Management
  • Smart Update to keep your database software up to date automatically
  • Automated Password Rotation – use the standard Kubernetes API to enforce password rotation policies for system user
  • Private container image registries

Architecture

Percona Operators are based on the Operator SDK and leverage Kubernetes primitives to follow best CNCF practices.

Please read more about architecture and design decisions here.

Quickstart installation

Helm

Install the Operator:

helm install my-op percona/pxc-operator

Install Percona XtraDB Cluster:

helm install my-db percona/pxc-db

See more details in:

kubectl

It usually takes two steps to deploy Percona XtraDB Cluster on Kubernetes.

Deploy the Operator from deploy/bundle.yaml:

kubectl apply -f https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/main/deploy/bundle.yaml

Deploy the database cluster itself from deploy/cr.yaml:

kubectl apply -f https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/main/deploy/cr.yaml

See full documentation with examples and various advanced cases on percona.com.

Contributing

Percona welcomes and encourages community contributions to help improve Percona Operator for MySQL.

See the Contribution Guide and Building and Testing Guide for more information.

Roadmap

We have an experimental public roadmap which can be found here. Please feel free to contribute and propose new features by following the roadmap guidelines.

Submitting Bug Reports

If you find a bug in Percona Docker Images or in one of the related projects, please submit a report to that project's JIRA issue tracker. Learn more about submitting bugs, new features ideas and improvements in the Contribution Guide.