Kubernetes Lab Environment
This repo builds the basis of the lab then k8s-lab-apps is used in a gitops fashion for application management using argocd. Key tools are:
- ArgoCD - GitOps, App Of Apps setup for component install
- Sealed Secrets - Used for initial bootstrapping of the cluster.
- Istio - My service mesh of choice
- cloudflare argo - Used to 'publish' argocd even from behind NAT
# Create the Cluster
k3d cluster create --config k3d/k3d-lab.yaml
# Add the External Secrets Namespace and secret
kubectl apply -f bootstrap/manifests/external-secrets-namespace.yaml
kubectl apply -f ~/keys/external-secrets-gcp-secret.yaml -n external-secrets
# Install External Secrets
helmfile -f external-secrets/helmfile.yaml apply
# Deploy ArgoCD
kubectl kustomize bootstrap/kustomize/ | kubectl apply -f -
Once complete just delete the cluster.
k3d cluster delete lab
Visit ArgoCD and login with github credentials.
Login via the CLI (will redirect using and login via the browser)
argocd login --sso argocd.distrail.io