Skip to content

mariabohorquez/gitops-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitops-demo

Demo for use of github actions automatic releases + argocd.

CI/CD Workflow

Worflow

Commands

Setting up aws connection (if you are running the lab via AWS)

# these are in the aws details in the lab
aws configure
aws configure set aws_session_token <token>
# verify connectivity with:
aws sts get-caller-identity

Getting the lab to work with Minikube (local k8s engine)

# Have docker running in the background
# Start minikube
minukube start
# Check argocd status (before this be sure to follow a tutorial to setup argocd for the first time)
kubectl get all -n argocd
# Foward port and enter localhost:3000. Combo is admin / Hce1t8O1NsDNTXrZ
kubectl port-forward svc/argocd-server -n argocd 3000:443

# Get the deployment running by applying the files
kubectl apply -f deployment/
# Then get minikube to connect to the service
minikube service web

Tutorials used as reference