GitOps & ArgoCD (50 Qs)•Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)
What is the difference between Mono-Repo vs Multi-Repo in GitOps?
junior LevelgitopsGitOps Fundamentals
In Simple Words:
- App Repo vs Config Repo Separation: Best practice is to keep Application Source Code (
app-service/) in one repo and Kubernetes GitOps Manifests (app-k8s-config/) in a dedicated repository. This prevents CI pipeline loops (building Docker images doesn't dirty the code repo) and separates developer permissions from infrastructure deployment permissions. - Mono-Repo for Config: Storing all microservices manifests in one GitOps repo simplifies visibility, shared Kustomize bases, and cluster-wide migrations.
- Multi-Repo for Config: Each service owns its GitOps config repo, offering stricter RBAC boundary isolation at enterprise scale.