- Docker
- kind
- kubectl
- Argo CD CLI
Use single node cluster unless requiring other deployment strategy (e.g., rolling updates)
kind create cluster --config cluster.yaml
Steps below are based on ArgoCD's Getting Started
kubectl create namespace argocd
# use the manifest with UI included
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
# for accessing the admin UI
kubectl port-forward -n argocd svc/argocd-server 8080:443
# for https://localhost:8080/
argocd admin initial-password -n argocd
Follow step 6 or use application from another repository
NB: It's recommended to separate config and source code repositories.
Follow step 7
Requires Lima
limactl start --name=lima-default template://docker
docker context create lima-default \
--docker "host=unix://$HOME/.lima/docker/sock/docker.sock"
docker context use lima-default
- support Kubernetes version in clsuter configuration
- introduce Makefile to simplify the steps