GitOps for KubeDB Database Operations

GitOps-based database lifecycle management for KubeDB — version upgrades, scaling, volume expansion, reconfiguration, TLS and auth-credential rotation driven from Git.

Organisation
AppsCode Inc.
Period
2025 – 2026
Areas
DevOps & Platform · Kubernetes Operators

Problem & context

In a GitOps workflow the desired state lives in Git and a controller converges the cluster to it. Database day-2 operations (upgrades, scaling, TLS rotation) are imperative by nature, so they need translating into declarative changes.

Implementation

  • Implemented GitOps for KubeDB database operations: version upgrades, scaling, volume expansion, reconfiguration, TLS and auth-credential rotation.
  • Generalised the configure/reconfigure process and webhook validation of ops requests across all KubeDB databases, and fixed volume-expansion validation for all databases.

My contribution

  • Implemented the GitOps-based database lifecycle management.

Outcomes & impact

  • Database lifecycle operations become declarative changes in Git, compatible with tools such as Argo CD.

Technologies

  • GitOps
  • Argo CD
  • Kubernetes
  • Go
  • Webhooks