This repository contains scripts and Kubernetes configurations to set up a local development environment using Minikube with various services.
- For proper DNS resolution on Ubuntu systems, follow the minikube-dns setup guide
./create-cluster.sh [-l name] [-c cpus] [-m memory] [-n nodes]-l: Name of the cluster (default: minikube)-c: Number of CPUs to allocate (default: 4)-m: Memory in MB to allocate (default: 8192)-n: Number of nodes to create (default: 1)
PostgreSQL (postgresql.yaml)
- Port: 30042
- Credentials: password="password"
- Includes 1GB persistent volume
MySQL (mysql.yaml)
- Port: 30036
- Credentials:
- Username: mysql
- Password: "password"
- Includes 1GB persistent volume
Debug Pod (debug-pod.yaml)
- Ubuntu-based debugging container
- For troubleshooting cluster issues
PubSub Emulator (pubsub-emulator.yaml)
- Google Cloud PubSub emulator
- Port: 31778
- Resource limits: 200m CPU, 200Mi memory
Kubernetes Dashboard (minikube-dashboard-ingress.yaml)
- Access via
minikube.testhostname
Follow the Gitea Git Server Setup guide to add a lightweight, persistent Git server to your cluster.
Follow the sonar-minikube installation guide to add SonarQube to your cluster
Follow the Internal Docker Registry Setup guide to add an accessible docker registry to your cluster
Follow the Loki + Grafana Stack Deployment guide to add loki + promtail + grafana to your cluster
- disable-ingress-dns.sh : Disables ingress-dns addon
- create-cluster.sh: Main cluster setup script
- Minikube
- kubectl
- Minimum 4 CPUs, 8GB RAM recommended