GitOps uses Git as the single source of truth to deliver applications and infrastructure
GitOps Principle
Argo CD resides in K8s cluster, which is k8s controller
Desired state must expressed
declarativelyDesired state must stored in way to
enforcing immutability & versioningSoftware agent (controller= argoCD)
automatically pulleddesired declarative state from sourceSoftware agent (controller= argoCD)
continuously reconciledactual & desired state
Advantages of GitOps
security
versioning
Auto Upgrade
Auto Healing from any unwanted changes
Continuous reconcile
Argo CD Installation methods
manifest yaml
helm chart
operator
ArgoCD Architecture
Application controller:
Reconcilingthe desired state of applications with the actual stateRepo server: Interactions with Git repositories, fetching and
tracking changesAPI server: Acts as the
interfacefor Argo CD, handling requests from users and other componentsDex: An identity and access management server used to
authenticate and authorize usersRedis: An in-memory data store used for
caching and session management
Argo Image Updater
Argo Image Updater resides in K8s cluster, which is k8s controller
Scans for new images in CI: It
continuously checks for new versions of the container imagesin registry(GitHub) which is used in applications.Updates deployments(manifests) in CD: If there's a new version available, it
updates the deployment(manifests).Argo CD applies changes: Argo CD then applies these changes to your Kubernetes cluster with help of
deployment(manifests) as single source of truth.
Feel free to share and spread the knowledge! ππ Enjoy Learning! π




Top comments (0)