This repository is for testing and playing with K8S and Argocd. It is intended to be able to easily initialize infrastructure on local k8s cluster - using docker desktop.
- Installed Docker Desktop
- Enable Kubernetes in Docker Desktop
- Installed kubectl and helmcli
- Switch to docker-desktop context in kubectl
helm search repo argo-cd/argo-cd --versions
# Install the chart
helm install argo argo/argo-cd --namespace=argocd --create-namespace --version 7.3.3 --values argocd-values.yaml
See all possible values, add them to the argocd-values.yaml
file and install the chart with the file.
helm show values argo/argo-cd
# Upgrade the chart
helm upgrade argo argo/argo-cd --namespace=argocd --version x.x.x --values argocd-values.yaml
# Get the password
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
# If NodePort is not set use port forwarding <SHOULD NOT BE NEEDED>
kubectl port-forward service/argo-argocd-server -n argocd 8080:443
## Install root sync app
```bash
helm install root-sync-app root-sync-app --create-namespace
Start the cluster
- Minikube:
minikube start
- Start tunneling:
minikube tunnel
- ArgoCD
- Prometheus.Alertmanager
- Prometheus
- Example envoy app ->
- curl --verbose --header "Host: www.example.com" http://localhost:4500/get