Skip to Content
Zurück zu: Appropriately Approaching API Development in the Company
DevOps & CI/CD 7 min. read

GitOps with ArgoCD: Managing Kubernetes Infrastructure Declaratively

GitOps makes Git the single source of truth for your Kubernetes infrastructure. ArgoCD synchronizes automatically — push to Git, deploy to cluster.

devRocks Engineering · 10. February 2026 · Aktualisiert: 31. March 2026
GitOps ArgoCD Kubernetes IaC
GitOps with ArgoCD: Managing Kubernetes Infrastructure Declaratively

What Is GitOps?

GitOps is an operational model where the desired state of your infrastructure is defined in a Git repository. An operator (such as ArgoCD) monitors the repository and automatically synchronizes the cluster.

Why ArgoCD?

  • Declarative: Define applications as Kubernetes CRDs — ArgoCD takes care of the rest.
  • Sync Strategies: Automatic (push to Git = deploy) or manual (review before deployment) — configurable per application.
  • Rollback: Every Git commit is a potential rollback point. Revert = rollback.
  • Multi-Cluster: Manage multiple Kubernetes clusters from a single ArgoCD instance.

Best Practices

  • App of Apps: A parent ArgoCD application that manages all other applications — bootstrapping the entire cluster from a single repository.
  • Helm + Kustomize: Helm charts for external dependencies, Kustomize for environment-specific overlays.
  • Separate Repos: Application code and Kubernetes manifests in separate repositories — independent deployment cycles.
  • Sealed Secrets: Store secrets encrypted in the Git repository using Bitnami Sealed Secrets or SOPS.

Conclusion

GitOps with ArgoCD has completely replaced kubectl apply and manual deployments at devRocks. The audit trail is comprehensive, rollbacks take seconds, and the team always has visibility into the state of all clusters.

Questions About This Topic?

We are happy to advise you on the technologies and solutions described in this article.

Get in Touch

Seit über 25 Jahren realisieren wir Engineering-Projekte für Mittelstand und Enterprise.

Weitere Artikel aus „DevOps & CI/CD“

Frequently Asked Questions

GitOps allows for a clear separation between the desired and actual state of the infrastructure, which improves traceability and automation. Changes are documented through Git commits, providing easy traceability and rollback options.
ArgoCD is a tool that monitors the state of Kubernetes applications and automatically synchronizes it with the state defined in a Git repository. It allows for various synchronization strategies, including automated and manual deployments, and provides a user-friendly interface for managing applications.
It is recommended to use the 'App of Apps' pattern to simplify management and to combine Helm and Kustomize to handle environment variables. Additionally, application and infrastructure repositories should be separated to keep deployment cycles independent.
Sealed Secrets are a method for securely handling sensitive data in Git repositories. They allow for encrypted secrets to be stored, which are only decrypted at runtime, thereby increasing the security of sensitive data.
By using Git as the primary source for the infrastructure state, all changes are automatically versioned and documented, allowing for a comprehensive audit trail. Dashboards and monitoring tools in ArgoCD provide real-time insights into the current state of the clusters and potential deviations.

Didn't find an answer?

Get in touch