Containerize and Run an e-commerce based application in AWS EKS cluster with all best practices (Part - 6)

Published: (February 24, 2026 at 05:20 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Set up CI/CD pipeline using GitHub Actions and GitOps (ArgoCD)

Continuous Integration with GitHub Actions

  • Create a workflow file ci.yaml under the .github/workflows/ directory.
  • The file can be viewed in the repository:
# Create a new branch for the CI changes
git checkout -b cicheck
  • Modify the main.go file in the product-catalog directory.

CI step 1

CI step 2

Continuous Deployment with GitOps (ArgoCD)

Why ArgoCD?

ArgoCD is often preferred over tools such as Ansible, shell scripts, or custom Python/Helm scripts because it provides:

  • Constant monitoring of the target Kubernetes cluster.
  • Automatic deployments whenever the source manifests change.
  • State reconciliation: if a change is made directly in the cluster, ArgoCD detects the drift and restores the desired state from the Git repository, treating Git as the single source of truth.

ArgoCD overview

ArgoCD reconciliation

0 views
Back to Blog

Related posts

Read more »

DevOps and Vibe Coding: A Journey

Things to Do Map Your Application - Map your application on paper, in a spreadsheet, or using graphics/flowcharts. This is the first step. - Understanding the...

OpenAI just raised $110 billion. Wow

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as we...