GitOps Meets Databases: Schema Management with Codefresh and Atlas Operator

GitOps Meets Databases: Schema Management with Codefresh and Atlas Operator

Dec 11, 2024

Databases are the backbone of nearly every cloud-native application, yet database schema management often lags behind other aspects of Kubernetes-native workflows. While Operators have simplified many aspects of managing stateful applications, schema migrations remain a common pain point.

Codefresh is the Enterprise deployment solution powered by Argo CD that allows you to deploy Kubernetes applications following the GitOps principles. Following GitOps for application code is straightforward, but several teams ask us how to apply GitOps/ArgoCD to databases, specifically database migrations.

Traditionally, teams that adopt Kubernetes simply wrap a legacy DB migration tool in a container and call it a day. This introduces operational inefficiencies, fragile processes, and unnecessary complexity. The database migration tool doesn't report any progress back to Argo CD and essentially acts as a black box, where people don't really know what is happening with the database while a deployment takes place.

In this talk we will see how you can do database migrations in the Kubernetes way with the Atlas Operator. By leveraging the Atlas Operator, you can manage schema migrations using Argo CD , aligning database changes with modern cloud-native practices. Through practical demonstrations, you’ll see how this approach eliminates common pitfalls and delivers a seamless experience for managing schema migrations in your ArgoCD-powered workflows.

This means that with Codefresh and Atlas you can get the best of both worlds. A Kubernetes native solution for application deployments and a Kubernetes native solution for db migrations covering the full software needs of any modern cloud application.

Speaker(s):
Rotem Tamir, Co-Founder and CTO of Ariga
Kostis Kapelonis, Senior Developer Evangelist at Octopus Deploy