Introduction
Traditional continuous delivery pipelines operate on a “push-based” deployment pattern. GitOps solves this problem by shifting to a “pull-based” paradigm, and ArgoCD is the leading tool for implementing it on Kubernetes. A Kubernetes controller inside the cluster pulls configuration changes securely via read-only access to Git.
ArgoCD Application Definition
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: production-frontend
namespace: argocd
spec:
project: default
source:
repoURL: 'https://github.com/my-user/gitops-infra.git'
targetRevision: HEAD
path: apps/frontend/production
destination:
server: 'https://kubernetes.default.svc'
namespace: billing-production
syncPolicy:
automated:
prune: true
selfHeal: true
← PreviousImplementing GCP Workload Identity for Secure Multi-Cloud Access
Next →AWS Cost Optimization: FinOps Strategies for Reducing Your Cloud Bill
Get in touch