lkrzyzanek / argocd-test

Testing argocd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

argocd-test

Testing Argo CD.

Use Case Description
content Static content CD
content-restapi-ingress Static content + REST API + Ingress CD
helm-content-restapi-ingress Helm example CD
helm-content-in-pod Helm example with content in pod (no PVC) CD

Minikube

  1. Start minikube
minikube config set driver hyperkit
minikube start --addons ingress,dashboard
  1. Tunnel minikube
minikube tunnel
  1. Install argoCD
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'

get pod name (initial password)

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

Navigate to Services / argocd-server and click on External endpoint to access Argo CD

Create NEW APP with:

  1. git repo - https://github.com/lkrzyzanek/argocd-test.git

  2. path - choose the example e.g. content

  3. Update /etc/host (only if testing ingress)

echo "$(minikube ip) minikube.info pr-54378.minikube.info" | sudo tee -a /etc/hosts

About

Testing argocd