Skip to content

argocd examples for k8s cluster deployment and management

Notifications You must be signed in to change notification settings

dineshtripathi30/argocd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArgoCD example - GitOps

By: Dinesh Tripathi

Getting Started with ArgoCD

What is ArgoCD?

ArgoCD is a CD tool and works with kubernetes based resources.

Lab Prerequisites

  • Minikube or any other kubernetes cluster is up and running

This is an example of how to do a GitOps with ArgoCD.

Lab Steps

  • Step 1 - Create namespace

    kubectl create namespace argocd
  • Install ArgoCD

    kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
  • Port forward to access the service

    kubectl port-forward svc/argocd-server -n argocd 8080:443
  • Run the below command to get the password and user username as admin

    kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2

    alt text

  • Create an app using UI

    kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2

About

argocd examples for k8s cluster deployment and management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published