Skip to content

🗺️ charting a course to argo{cd,workflows,events}

Notifications You must be signed in to change notification settings

softprops/argoville

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

argoville

an exploration in arggocd (not to be confused with argo workflows org argo events)

install local deps tools

Install docker/kube as wish I use Docker Desktop with Kubernetes enabled

Install cli tools

brew install helm
brew install argocd

install argo cd

create a namespace and install it

kubectl apply -f - <<EOF
apiVersion: v1
kind: Namespace
metadata:
  name: argo
EOF
kubectl apply -n argocd \
    -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

port forward

kubectl get services -n argocd --watch
kubectl port-forward service/argocd-server -n argocd 8080:443

authenticate the argocd cli

argocd login 127.0.0.1:8080

the default username will be admin. run the following to get the password

kubectl -n argocd get secret argocd-initial-admin-secret \
    -o jsonpath="{.data.password}" \
    | base64 -d \
    | pbcopy

create app

open http://localhost:8080 in your browser and create app

Alternatively create an argo app via the argocd cli

argocd app create argoville \
    --repo https://github.com/softprops/argoville.git \
    --path helm \
    --values values-dev.yaml \
    --dest-server https://kubernetes.default.svc \
    --dest-namespace dev \
    --sync-policy automated \
    --self-heal \
    --auto-prune
kubectl get all --namespace dev

port forward demo app

kubectl port-forward service/argodemo -n dev 8082:80

clean up

argocd app delete argoville -y
kubectl delete ns argo

-fin

About

🗺️ charting a course to argo{cd,workflows,events}

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published