How does argocd gitops works?
Sigiloso
ArgoCD works on a GitOps approach. It continuously monitors the Git repository where we store Kubernetes manifests or Helm charts and compares that desired state with the actual state running in the Kubernetes cluster. When we make changes in Git, ArgoCD detects the difference and syncs those changes automatically with the Kubernetes cluster. It pulls the latest manifests, creates or updates Kubernetes resources like deployments and services, and brings the cluster to the desired state. It also provides drift detection. If someone manually changes something in the cluster, ArgoCD identifies the difference and can either alert or automatically revert it back to the Git-defined state. The flow is: Developer pushes changes to Git → ArgoCD detects changes → ArgoCD syncs with Kubernetes → Application is deployed and kept in the desired state.