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 |
- Start minikube
minikube config set driver hyperkit
minikube start --addons ingress,dashboard
- Tunnel minikube
minikube tunnel
- 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
- Start k8s dashboard
minikube dashboard
Navigate to Services / argocd-server and click on External endpoint to access Argo CD
Create NEW APP
with:
-
git repo -
https://github.com/lkrzyzanek/argocd-test.git
-
path - choose the example e.g.
content
-
Update /etc/host (only if testing ingress)
echo "$(minikube ip) minikube.info pr-54378.minikube.info" | sudo tee -a /etc/hosts