Spin up a K8s cluster in a real world kubernetes sandbox environment with one command. Base script will install kubernetes and:
git clone https://github.com/drogerschariot/gitops-playground.git
cd gitops-playground/aws-infra/
- Copy example env file
cp aws-env .env
Edit the.env
file and update environment variables. - Run script
./aws-up.sh
The script will run terraform to install required k8s infrastructure, install services, EBS CSI driver, and add kubernetes context. You will see the ArgoCD password and ingress public IP at the end of the output.
After you install the script, the kubernetes context will be automatically installed. See kubectl config get-contexts
You can access the cluster using apps like K9s or Lens.
git clone https://github.com/drogerschariot/gitops-playground.git
cd gitops-playground/azure-infra/
- Copy example env file
cp azure-env .env
Edit the.env
file and update environment variables. - Login to Azure
az login
- Run script
./azure-up.sh
The script will run terraform to install required k8s infrastructure, install services, and add kubernetes context. You will see the ArgoCD password and ingress public IP at the end of the output.
After you install the script, the kubernetes context will be automatically installed. See kubectl config get-contexts
You can access the cluster using apps like K9s or Lens.
- ArgoCD (http://localhost:8080/):
kubectl port-forward deployment/argocd-server 8080:8080 --namespace argocd
- Grafana (http://localhost:3000/):
kubectl port-forward deployment/kube-prometheus-stack-grafana 3000:3000 --namespace monitoring
- Prometheus: (http://localhost:9090):
kubectl port-forward svc/kube-prometheus-stack-prometheus 9090:http-web --namespace monitoring
- Vault UI: (http://localhost:8200):
kubectl port-forward svc/vault-ui 8200:8200 --namespace vault
The following services are available to install and test. Click on the link to access service README.
- CloudNativePG
- Redis/Redis Cluster
- OpenTelemetry/Otelm Demo
- Wordpress
- Vault
- JFrog Artifactory
- Elasticsearch
- Wazuh and Wazuh DaemonSet Agent
- Jenkins Operator
- GitLabs
- Hashicorp Vault with injector
- Hashicorp Consul
cd gitops-playground/aws-infra/
./aws-down.sh
cd gitops-playground/azure-infra/
./azure-down.sh