PXC Upgrade Management

Hello Percona Team,

We are building a Database-as-a-Service (DBaaS) platform using Percona XtraDB Cluster (MySQL) and the Percona Kubernetes Operator.

Our architecture consists of approximately 1,000 customer environments, where each customer has a dedicated three-node RKE2 Kubernetes cluster running on Apache CloudStack virtual machines.

Current Architecture:

  • Infrastructure: Apache CloudStack

  • Kubernetes: RKE2

  • Database: Percona XtraDB Cluster (MySQL)

  • Database Management: Percona Kubernetes Operator

  • Container Registry: Private Harbor registry

  • Deployment: Dedicated Kubernetes cluster for each customer

  • Scale: Approximately 1,000 independent customer clusters

We are looking for a production-ready approach to centrally manage Percona XtraDB Cluster and Operator version upgrades across all customer environments without manually accessing individual Kubernetes clusters.

We would appreciate your guidance on the following questions:

1. Centralized Upgrade Management

Does Percona provide any built-in solution, API, or recommended architecture to centrally manage database and operator upgrades across thousands of independent Kubernetes clusters?

2. Automated Database and Operator Upgrades

What is the recommended approach to automate both Percona XtraDB Cluster (MySQL) version upgrades and Percona Operator upgrades across multiple independent Kubernetes clusters?

Can these upgrades be orchestrated centrally using the Kubernetes API, Helm, or another supported mechanism?

3. Version Compatibility and Upgrade Sequence

How should we manage compatibility between the Percona Operator, CRDs, Percona XtraDB Cluster versions, and Kubernetes versions?

What is the recommended upgrade sequence when both the database and operator need to be upgraded?

4. High Availability and Minimal Downtime

For a three-node Percona XtraDB Cluster, what is the recommended strategy to perform rolling upgrades while maintaining database availability and minimizing application downtime?

Does the SmartUpdate strategy support this scenario reliably at scale?

5. Backup, Rollback, and Disaster Recovery

What are Percona’s recommended backup and recovery procedures if an operator or database upgrade fails?

Is an in-place rollback supported for database version upgrades, or should we rely on backup restoration?

6. Large-Scale Upgrade Orchestration

For approximately 1,000 customer clusters, would Percona recommend developing a centralized upgrade orchestrator that performs pre-upgrade validation, backup verification, controlled batch upgrades, post-upgrade health checks, and failure handling?

Are there any existing tools or reference implementations recommended by Percona for this use case?

7. Air-Gapped / Private Registry Support

Our environments use a private Harbor container registry.

What is the recommended approach to manage and distribute approved Percona Operator versions, database images, and Helm charts across multiple customer clusters without requiring direct internet access?

Our Objective

We want to implement a centralized, automated, reliable, and production-ready upgrade management solution capable of handling 1,000+ independent customer Kubernetes clusters while maintaining high availability and minimizing operational overhead.

We would appreciate any architectural recommendations, best practices, reference implementations, or official documentation from the Percona team.

Thank you for your support.

Have you looked at https://openeverest.io/ ?

Hey, Percona doesn’t have a single built-in tool that upgrades databases across thousands of separate Kubernetes clusters. The Operator manages everything inside one cluster.

For your setup, we’d recommend:

  • Use a GitOps tool to push approved versions out.
  • Roll out in waves.
  • Always take a backup before upgrading
  • With your private Harbor registry, mirror the approved images there and turn off the automatic version updates.

On availability, the Operator’s default upgrade mode (SmartUpdate) upgrades one node at a time and leaves the main write node for last.