Skip to content

sanju2/GitOps_ArgoCD_Jenkins_K8S

Repository files navigation

Jenkins pipeline with GitOps(ArgoCD) to deploy code into a Kubernete.

  • CI - Jenkins
  • CD - ArgoCD (GitOps)
  • monitoring - Prometheus & Grafana

Architectural Diagram

 Architectural Diagram

Used to follow the steps.

  1. Create two repositories (buildimage, update manifest).

  2. Install jenkins on EC2 and configure Jenkins. Install Gocker & Git on EC2.

Install the following plugins for the demo.

  • Amazon EC2 plugin (No need to set up Configure Cloud after)
  • Docker plugin
  • Docker Pipeline
  • GitHub Integration Plugin
  • Parameterized trigger Plugin
  1. Create Jenkins 1 job - build image. Used this repository.

  2. Create Jenkins 2 job - update manifest. Select update manifest repository.

  3. Run build image job. You can see docker image is updated.

  4. Create EKS Cluster and update .kubeconfig file.

  5. Install argo cd using kubernetes and login console.

  6. Create argo cd app and configure github hook.

  7. Setup Prometheus & Grafana for Monitoring On Kubernetes Cluster.

Screenshots

EC2 Instance (Jenkins Server)

Jenkins Server

Build Jenkins job

Jenkins Server 1

Manifest Update Jenkins job

Jenkins Server 2

Jenkins Home Page

Jenkins Server 3

ArgoCD Dashboard

ArgoCD

Prometheus Dashboard

Prometheus

Grafana Dashboard

Grafana

Final Output

Output

Resources

Jenkins Install on AWS EC2

Docker install on EC2

ArgoCD Install

Prometheus

Grafana

Thank You! :shipit:

About

GitOps Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published