ArgoCD: CICD GitOps style

In short
  • GitOps: Git as the single source of truth for infrastructure and applications.
  • ArgoCD synchronizes the state of the cluster with Git repositories.
  • Installation under Kubernetes and demonstration.
  • A user-friendly GUI for tracking deployments.

Introduction

The Kubernetes ecosystem has always been accompanied by a large number of tools. The application areas are varied, and the choices can sometimes be multiple.

To appear in the landscape of the CNCF (Cloud Native Computing Foundation), now serving as a reference point for many DevOps enthusiasts (or Platform Engineers, to stay trendy), has become a sign of certain recognition and potential adoption by a large number of IT professionals.

CNCF Landscape

Click the image to enlarge.

ArgoCD is one of the fortunate CNCF Graduated applications, just like its main competitor FluxCD.

Both belong to the Continuous integration & Delivery category and have in common that they chose the GitOps approach.

Positioning of ArgoCD within the CNCF landscape

Click the image to enlarge.

GitOps is an approach to managing infrastructure and applications centered around Git.

GitOps

With the explosion of As A Code, some have chosen to make Git their single source of truth. This means that the desired states of infrastructure and applications are all versioned in Git repositories.

Several advantages result from adopting this strategy:

  • Automatic deployment: it becomes possible to monitor repositories and automatically trigger changes as soon as a modification is detected.
  • Auditability and traceability: all modifications are recorded in Git, ensuring clear tracking and simplified rollback capabilities.
  • Automatic reconciliation: by constantly comparing the state of a system with the content of a repository, it becomes possible to correct discrepancies and always be consistent with a status described in code.
Illustration of GitOps: https://codefresh.io/learn/gitops/

Click the image to enlarge.

Illustration of GitOps: https://codefresh.io/learn/gitops/

Click the image to enlarge.

If you read my definition of Kubernetes, you should understand that this philosophy is particularly well suited to K8S. The orchestrator constantly compares the status of containers against a given reference, always ensuring consistency between what is running and what is requested.

Therefore, it was logical that when adopting Kubernetes in my professional environment, it needed to be accompanied by a tool to manage application deployments.

The basic principle behind using a GitOps-oriented tool with Kubernetes is to be able to manage the deployment of your K8S objects directly from the cluster without having to grant external access to other CI/CD tools, as was traditionally done.

You don't need, for example, to have a Jenkins instance that requires a service account with full privileges over the cluster so it can control the API, which in turn introduces a risk related to managing this account and its associated access.

With a GitOps approach, the deployment tool runs within the cluster, monitors repositories, and only applies changes to Kubernetes objects if modifications are made to the sources present in those repositories.

You can adopt a pull approach, where deployment information is fetched, rather than a push approach, where information is sent.

ArgoCD principle

Click the image to enlarge.

Of course, this means that the Git platform becomes extremely critical. Therefore, it must be carefully monitored, with an appropriate and secure management policy.

The choice of ArgoCD was mainly based on the presence of a GUI, which is not mandatory but very useful for visualizing the status of your applications...and when working with talented colleagues, you rarely question their judgment (Aurélien, Nicolas...if you happen to see this 😊).

The goal of this article is therefore to detail the deployment of ArgoCD in a K8S cluster, in this case my lab cluster, whose installation I describe in my dedicated cookbook.

ArgoCD is, of course, open source. It was initially developed internally at Intuit, an American company specializing in financial software, before being offered to the community in October 2018.

It has been distributed under the Apache 2.0 license since then

Before diving into the details, here's the architectural diagram that will serve as our target.

Target diagram of the solution

Click the image to enlarge.

Installing ArgoCD

Deploying the base components

ArgoCD can be installed in several ways. I chose the official method, without using Helm (a repository exists and is widely used, but not directly maintained by the main ArgoCD developers).

As usual, I prefer to dedicate a namespace to the tool based on my naming conventions. In this case, I'm creating a namespace called prd-argocd-lan to host all the necessary Kubernetes objects.

kubectl create namespace prd-argocd-lan
Creation of the namespace

Click the image to enlarge.

The next step is very simple; you just need to apply the YAML files directly from the project's repository, remembering to specify the newly created namespace.

kubectl apply -n prd-argocd-lan -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Installation of ArgoCD

Click the image to enlarge.

We can monitor everything:

kubectl get pod -n prd-argocd-lan
Verification of the installation

Click the image to enlarge.

Several pods are deployed, each managing a component of ArgoCD:

Pod Role
argocd-application-controller Monitors and synchronizes Argo CD applications
argocd-applicationset-controller Manages the dynamic creation of applications via ApplicationSets
argocd-dex-server Handles authentication and SSO integration
argocd-notifications-controller Manages the sending of notifications and alerts
argocd-redis Provides a cache to optimize performance
argocd-repo-server Clones Git repositories and generates Kubernetes manifests
argocd-server argocd-server provides the web interface and Argo CD API

Publishing the GUI

Even though all the pods are up, it's not finished yet.

By default, ArgoCD doesn't provide an ingress to make the GUI/API accessible from outside the cluster. Therefore, we need to create the ingress object ourselves.

To do this, we first identify the service (svc) that we want to use to point the Ingress to.

kubectl get svc -n prd-argocd-lan
Identification of the service

Click the image to enlarge.

In this case, it's the svc called argocd-server.

The YAML file 01-ing-argocd-front.yaml associated with the ingress will be as follows:

  
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ing-argocd-default
  namespace: prd-argocd-lan
  labels:
      environment: prd
      network: lan
      application: argocd
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
    ingressClassName: traefik-lan
    traefik.ingress.kubernetes.io/router.tls: "true"
spec:
  ingressClassName: traefik-lan
  tls:
  - hosts:
    - argocd.coolcorp.priv
    secretName: sec-certificate-argocd
  rules:
  - host: argocd.coolcorp.priv
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: argocd-server
            port:
              number: 80
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: cert-argocd-front
  namespace: prd-argocd-lan
  labels:
      environment: prd
      network: lan
      application: argocd 
spec:
  dnsNames:
    - argocd.coolcorp.priv
  commonName: argocd.coolcorp.priv
  secretName: sec-certificate-argocd
  privateKey:
    algorithm: RSA
    size: 4096
  issuerRef:
    name: clusterissuer-acme2certifier 
    kind: ClusterIssuer
    

As you can see, I'm integrating the creation of a certificate in the second part of the file. I invite you to follow my installation of Cert-Manager and understand how ClusterIssuer works with my internal PKI to understand this part of the file. This allows me to automatically generate a certificate for the URL argocd.coolcorp.priv.

Regarding my setup, I use Traefik as the Ingress controller, and this is running on a LAN instance. If none of that makes sense to you, it's best to review this section of my cookbook about Ingress. This will familiarize you with the associated principles. The goal is for me to be able to access both the GUI and the API of ArgoCD from outside.

We apply the Ingress:

kubectl.exe apply -f 01-ing-argocd-front.yaml
Creation of the ingress and certificate

Click the image to enlarge.

Even though it's supported by Traefik, accessing ArgoCD is still not possible. This is due to its default configuration, which enforces an internal HTTPS redirection that conflicts with Traefik and the associated ingress.

Therefore, we need to remove this redirection by editing the config map argocd-cmd-params-cm and adding:

  
data:
  server.insecure: "true"
Modification of the ArgoCD configuration

Click the image to enlarge.

To ensure that the parameter is taken into account, we redeploy argocd-server using the following command:

kubectl rollout restart deployment argocd-server -n prd-argocd-lan

Once the pod is back up, the interface should be accessible at the URL you chose, with the HTTPS certificate provisioned automatically. (This principle is explained here).

ArgoCD interface

Click the image to enlarge.

During the initial deployment, an admin account with a randomly generated password is stored in a secret.

To retrieve its contents, you can use the following command directly (from a Linux shell, for example, using WSL).

kubectl -n prd-argocd-lan get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo.
Retrieval of the admin password

Click the image to enlarge.

This will extract the base 64 value of the password from the secret and convert it to plain text.

ArgoCD is, of course, compatible with multiple authentication sources, thanks to its argocd-dex-server component, but I won't go into that in this introductory tutorial on ArgoCD.

Access to the ArgoCD GUI

Click the image to enlarge.

Access to the ArgoCD GUI

Click the image to enlarge.

Managing access for internal service accounts

There are still other elements to configure before proceeding: the permissions for the service accounts used by ArgoCD.

Although GitOps logic means it's not necessary to provide external access to the cluster, ArgoCD must be able to manage components and deploy objects described in the YAML files within the repositories, from within the cluster.

I would also like to mention that ArgoCD can handle both YAML files associated with K8S objects, as well as Helm or Komposer configurations.

In terms of permissions, we will need to create two roles.

Role for the argocd-application-controller service account

This is for deploying objects as such. It will necessarily be a role with significant power. To fully understand this part, I invite you to read my article on how authentication works and the concept of RBAC within a Kubernetes cluster.

Several strategies are possible; some will restrict Argo CD to deploying applications only in certain namespaces, while others will want to limit the type of objects that can be manipulated or the type of actions associated with them.

Those who are less concerned about security may simply use the default role, cluster-admin. With this type of role, Argo CD will have access to everything and can do anything without worrying... I'm not saying it's good... I'm not saying it's bad... It's a matter of risk acceptance and control over your access policy.

Personally, I will opt for creating a dedicated role, clusterrole-argocd-default, but which will nevertheless have very broad access to my cluster.

Here is the content of the file 02-clusterrole-argocd-default.yaml associated with it:

 
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: clusterrole-argocd-default
rules:
  # Gestion des ressources de base
  - apiGroups: ["*"]
    resources:
      - "*"
    verbs: ["get", "list", "watch", "create", "patch", "delete"]
  

As you can see, I was quite generous... but at least my role is dedicated to Argo CD, and it will be easier for me to evolve it as needed without affecting the cluster's default roles.

We apply the file:

kubectl apply -f 02-clusterrole-argocd-default.yaml
Application of the default role

Click the image to enlarge.

Now, we need to associate this role with the service account argocd-application-controller. This service account is created during Argo CD installation. It is responsible for managing the deployment of objects.

Therefore, I will create a file 03-clusterolebinding-argocd-default.yaml to associate my role, which I created specifically, with the service account.

 
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: clusterolebinding-argocd-default
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: clusterrole-argocd-default
subjects:
  - kind: ServiceAccount
    name: argocd-application-controller
    namespace: prd-argocd-lan
  

Then, we simply apply the file:

kubectl apply -f 03-clusterolebinding-argocd-default.yaml
Mapping the account with the role

Click the image to enlarge.

Role for the argocd-server service account

The second role that we will need is dedicated to the web interface. We can afford to have a more limited role, with only read access, since it will simply allow the GUI to display the content of the objects.

This role is described in my YAML file 04-clusterrole-argocd-web.yaml:

 
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: clusterrole-argocd-web
rules:
  # Gestion des ressources de base
  - apiGroups: ["*"]
    resources:
      - "*"
    verbs: ["get", "list", "watch"]
  

Just apply it:

kubectl apply -f 04-clusterrole-argocd-web.yaml
Creation of the role for the web part

Click the image to enlarge.

This time, we will create a clusterolebinding, but we will apply it to the service account argocd-server.

Here is the content of 05-clusterolebinding-argocd-web.yaml:

 
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: clusterolebinding-argocd-web
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: clusterrole-argocd-web
subjects:
  - kind: ServiceAccount
    name: argocd-server
    namespace: prd-argocd-lan
  

We apply it with the command kubectl apply -f 05-clusterolebinding-argocd-web.yaml

Mapping the account with the role for the web

Click the image to enlarge.

The installation is now complete.

Demonstration and usage

Now we can validate the installation by performing a first use case.

The goal is to be able to deploy a demo application demoargo in a specific namespace dev-demoargo-lan.

The application is very basic. It consists only of three Kubernetes objects (Deployment/Service/Ingress), each represented by a YAML file hosted in the GitLab repository https://gitlab.com/kub.coolcorp.priv/dev-demoargo-lan.

Therefore, ArgoCD needs to monitor this repository and then trigger the deployment of the various components on the cluster based on changes made to the source code.

To do this, it can clone the repository and execute the YAML files so that the definition of the objects representing the demo application is always identical between the repository and the K8S cluster.

ArgoCD comes with its own objects, allowing you to manage the solution directly using YAML files without having to use the GUI. Personally, I reserve the latter for monitoring and tracking purposes rather than administration.

Object AppProject

The first ArgoCD object that interests us is the AppProject object. It is an entity that serves to group multiple applications to be deployed under the same access and permission policy. It allows you to:

  • Define which applications can be deployed, on which clusters, and from which Git repositories
  • Limit the use of certain types of resources (for example, prohibiting ClusterRoles).
  • Define the RBAC policy to determine who can manage the applications associated with this project.

In my example, I will create an AppProject appproject-demoargo-lan, which will be limited to accessing my repository https://gitlab.com/kub.coolcorp.priv/dev-demoargo-lan.

Here is the content of the file 01-appproject-demoargo-lan.yaml:

apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
  name: appproject-demoargo-lan
  namespace: prd-argocd-lan  # Le namespace où ArgoCD est installé
spec:
  description: "Projet demo pour déployer des applications depuis GitLab"
  sourceRepos:
    - [email protected]:kub.coolcorp.priv/dev-demoargo-lan.git  # Limiter aux repos autorisés
  destinations:
    - namespace: '*'
      server: https://kubernetes.default.svc  # Autoriser les déploiements sur ce cluster
  clusterResourceWhitelist:
    - group: "*"
      kind: "*"
  namespaceResourceBlacklist:
    - group: "*"
      kind: "PodExecOptions"  # (Optionnel) Bloquer certains types de ressources

  

I am applying the creation of the AppProject

kubectl apply -f 01-appproject-demoargo-lan.yaml
Application of the AppProject object

Click the image to enlarge.

Adding the repository via the CLI

If, through this file, we limit the AppProject to using the demo repository, it is not yet known to ArgoCD.

Therefore, it will be necessary to register it in ArgoCD, providing the associated access credentials.

To do this, I will start by creating a private key using a tool like puttygen, for example. I will reserve this private key for ArgoCD. By principle, it becomes extremely critical! Make sure you have an appropriate management policy.

Creation of the private key/public key for access to the repository

Click the image to enlarge.

Once created, I will declare the corresponding public key in my GitLab account to authorize access to the repository for the owner of the private key.

Integration of the public key into GitLab

Click the image to enlarge.

You still need to specify the repository and private key within ArgoCD.

We will now explore one of the other ways to interact with ArgoCD after using YAML files: the CLI (command line interface).

You can download it as a simple executable directly from the project website.

You need to retrieve the binary associated with its client. Like other tools for K8S, such as Velero, the binary will be based on the kubectl configuration deployed on your workstation. You can therefore use any clusters declared in your file. As a reminder, feel free to read my article on accessing a Kubernetes cluster to familiarize yourself with this point.

Retrieval of the CLI

Click the image to enlarge.

I recommend adding the executable to your path so you can call it from any location.

CLI binary

Click the image to enlarge.

First, you need to authenticate with the ArgoCD instance using the command argocd login url_argo_cd

Authentication with the CLI

Click the image to enlarge.

For the demo, I haven't created a specific account. I will therefore use the default admin account previously used to test access to the GUI.

You can verify that you are correctly connected with the following command:

argocd version
Verification of the connection to ArgoCD

Click the image to enlarge.

From there, we add the desired repository:

argocd repo add git@url_repo --ssh-private-key-path path\vers\la_clef_privee --insecure-skip-server-verification --project nom_AppProject
Declaration of the repository to ArgoCD

Click the image to enlarge.

Note: The private key must be in SSH format.

Export to SSH format from puttygen

Click the image to enlarge.

The AppProject is ready. The repository is declared, and ArgoCD has the necessary access.

Control of the repository in the ArgoCD GUI

Click the image to enlarge.

Object Application

The last step is to declare the second object that is useful for our demo: the Application.

Note: I am talking about the ArgoCD Application object. Its name is quite descriptive, as it represents an application deployed and synchronized from a Git repository. It defines:

  • The source: where the configuration is located
  • The destination: the cluster/namespace where the application should be deployed
  • The synchronization mode: automatic (ArgoCD will regularly check the status of the repository) or manual (it is up to the user to initiate the synchronization).

Here is the content of my file 02-app-demoargo-lan.yaml:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: app-demoargo-lan
  namespace: prd-argocd-lan
spec:
  project: appproject-demoargo-lan
  source:
    repoURL: [email protected]:kub.coolcorp.priv/dev-demoargo-lan.git
    targetRevision: HEAD  # Révision ou branche (HEAD, main, etc.)
    path: "."
  destination:
    server: https://kubernetes.default.svc  # Cluster cible
    namespace: dev-demoargo-lan  # Namespace où déployer l'application
  syncPolicy:
    automated:
      prune: true  # Supprime les ressources obsolètes non présentes dans le repo
      selfHeal: true # Corrige les dérives entre le cluster et Git
    syncOptions:
      - CreateNamespace=true  # Créer automatiquement le namespace cible si nécessaire
    

Pay attention to the path option. If your files are directly at the root of the repository, you must specify "." and not leave the location empty.

I apply the file: kubectl apply -f 02-app-demoargo-lan.yaml

Deployment of the Application object

Click the image to enlarge.

Result and manipulation of the GUI

Immediately after my command, if we look at the GUI, we will be able to observe the creation of the Application with all the deployment mechanisms for the objects in our demo that will be put in place.

The ArgoCD GUI is very well designed in this regard. It provides a clear overview of the deployed application. You can explore each object to understand its content and status.

Example of the view offered by the GUI

Click the image to enlarge.

Exploration of the content of an object

Click the image to enlarge.

Similarly, you can list the entire deployment history and track changes.

History visible in the GUI

Click the image to enlarge.

After just a few minutes, you can list the resources within the namespace dev-demoargo-lan.

This namespace didn't need to be created by me, as ArgoCD created it for me.

kubectl get all -n dev-demoargo-lan
Listing of all objects

Click the image to enlarge.

All objects are present, and the demo application is deployed. ArgoCD has done its job well.

Appearance of the application in the GUI

Click the image to enlarge.

Possible error with ingress

However, for certain configurations, such as mine, the Ingress object may remain in a 'processing' status indefinitely, even though the object is properly deployed and functional.

This is due to an issue with how ArgoCD interprets the object; the ingress controller is not applying a parameter that is expected at the 'Status:' level within the object definition.

I encountered this problem myself with Traefik. Currently, there are several workarounds available, and you can find descriptions of many of them in this topic.

However, in my case, only modifying the ArgoCD configuration to bypass the default Ingress object check worked.

To do this, you need to edit the configmap argocd-cm.

kubectl edit configmap argocd-cm -n prd-argocd-lan

Then, add this configuration within the 'data:' section:

data:
  resource.customizations: |
    networking.k8s.io/Ingress:
      health.lua: |
        hs = {}
        hs.status = "Healthy"
        hs.message = "Skip health check for Ingress"
        return hs

Be careful: this workaround bypasses the Ingress status check. There may be side effects... but it's currently the only solution I've found. You can then restart the deployment of the ArgoCD components.

kubectl rollout restart deployment -n prd-argocd-lan argocd-server kubectl rollout restart deployment -n prd-argocd-lan argocd-repo-server

It is up to you to determine whether this modification is necessary in your situation.

Summary and conclusion

Regardless, once the initial synchronization is complete, you can try restarting it to force ArgoCD to reconnect to the repository and compare the status of the objects.

As long as nothing has been changed at the source, ArgoCD does absolutely nothing.

However, if you modify a value in the YAML file associated with your application's Deployment, for example, as soon as you restart synchronization, ArgoCD immediately identifies the change and proceeds to redeploy the object to ensure it is once again consistent with the content of the repository.

This is an extremely powerful concept because your deployments ultimately involve making changes within your repositories. Your developers can manage the deployment of their application directly without needing any access to the Kubernetes cluster.

By working with ArgoCD AppProject/Application objects, you can create controlled and limited workspaces and deployments, restricted to specific repositories, objects, and branches.

For reference, here are the elements we manipulated in this demo:

AppProject Application Repo
Defines management rules for a set of applications Defines a specific application with its source and destination Defines the Git repository containing the sources and associated access credentials
Controls access to repositories, clusters, and resources Manages the deployment of a specific application Manages access to the source repository
Used to organize and secure applications Used to synchronize a deployment with Git Used for accessing the source repository
Manipulated using a YAML file and the argoproj.io/v1alpha1 API branch Manipulated using a YAML file and the argoproj.io/v1alpha1 API branch Manipulated using the CLI

Triggered by webhook

One last interesting point remains to be addressed: automatic triggering by webhook.

Indeed, in our example, it is ArgoCD that connects to the repository, either by forcing synchronization or by automating its connection. By default, ArgoCD checks the sources every three minutes.

It is now possible, with solutions like GitLab, to create a webhook, meaning that GitLab can notify ArgoCD of a modification within the repository so that ArgoCD can trigger a synchronization.

The method may vary depending on your Git manager, but most market solutions are compatible.

In the case of GitLab, simply go to the repository settings and enable a webhook.

Activation of the webhook in GitLab

Click the image to enlarge.

From there, you specify the URL to contact in case of an action on the repository.

Configuration of the webhook

Click the image to enlarge.

I won't go into detail, but in my case, it's a bit special. My ArgoCD instance is hosted internally within my lab, while I use GitLab in the cloud.

For GitLab to contact ArgoCD, I would need to expose the latter on the web, which is not necessarily my initial goal.

This is a common problem in hybrid architectures where some on-premise tools need to be accessed by SaaS tools.

To solve this issue, it is highly recommended to use reverse proxies or API gateways that control incoming communications.

For my personal use, I only used advanced Traefik configurations to limit the public IPs allowed to connect (I locked it down to the GitLab Cloud IP ranges) and implemented rewrite rules to redirect traffic.

In summary, my ArgoCD instance, which responds internally to the URL argocd.coolcorp.priv, is accessible from the outside, but on the URL argocd.coolcorp.fr, only from GitLab's public IPs and through a first Traefik instance in the DMZ that forwards to my second Traefik instance in the LAN, passing through a firewall. I would probably write a dedicated article about Traefik to provide different examples of what is possible with this great tool... but that is not the subject of this tutorial.

Securing the exposure of ArgoCD

Click the image to enlarge.

This ensures a minimum level of security by limiting the exposure of my ArgoCD instance while still allowing me to use the GitLab webhook option.

Let's go back to this option. As explained above, the URL that GitLab needs to access is https://argocd.coolcorp.fr/api/webhook.

Of course, simply connecting to this URL will not trigger ArgoCD; an authentication mechanism in the form of a token is required.

Generation of the token

Click the image to enlarge.

This token can be in any format, but I recommend using a complex one. When GitLab connects to ArgoCD, it will provide this token in the header of the request in the X-Gitlab-Token field (Be careful with the configurations of any reverse proxies used to expose ArgoCD... as they may lose this header).

However, ArgoCD needs to know this token. To do this, you need to edit the secret argocd-secret and add it in the following format:

data:
...

  # gitlab webhook secret
  webhook.gitlab.secret: votre_token

By using the stringData field, you don't have to provide its value in base64.

It will be automatically converted when the secret is saved.

Please note that it is possible to use separate secrets if necessary.

On the GitLab side, all that remains is to specify which event should trigger the webhook and therefore notify ArgoCD.

In this demo, we are interested in everything related to push events.

It is possible to test the webhook to ensure that everything is OK and that GitLab is communicating correctly with ArgoCD.

If that is the case, all that remains is to perform the final test.

We modify one of the files associated with our demo application locally, we push our changes to the repository, and immediately afterwards, ArgoCD triggers, detects the component update, and redeploys it.

Pushing a modification

Click the image to enlarge.

The synchronization starts

Click the image to enlarge.

Conclusion

When operating a Kubernetes platform, adopting a GitOps strategy using tools like ArgoCD is an extremely relevant choice for managing the continuous deployment of your applications.

ArgoCD is a recognized and reliable tool with a user-friendly GUI for monitoring the status of your deployments.

It would be a shame to miss out on this type of architecture. Beyond the tool itself, it's the GitOps logic that is important to remember. GitOps can be applied to other ecosystems than Kubernetes, and can be the default strategy chosen in an IT environment. It's up to each individual to decide which implementation they choose; the important thing in CI/CD is always to understand what you are doing and why you are doing it.