https://github.com/elmazzun/local-kind-cluster
Kubernetes in Docker cluster scaffolder
https://github.com/elmazzun/local-kind-cluster
cilium kind kubernetes kubernetes-cluster local-development
Last synced: 2 months ago
JSON representation
Kubernetes in Docker cluster scaffolder
- Host: GitHub
- URL: https://github.com/elmazzun/local-kind-cluster
- Owner: elmazzun
- Created: 2023-08-23T16:43:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-15T20:53:42.000Z (3 months ago)
- Last Synced: 2025-07-16T10:30:01.994Z (3 months ago)
- Topics: cilium, kind, kubernetes, kubernetes-cluster, local-development
- Language: HCL
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Local KinD Cluster
Create a [kind](https://kind.sigs.k8s.io/) cluster using
[tehcyx](https://github.com/tehcyx/terraform-provider-kind)
Terraform provider.Following components will be installed via [Helm](https://registry.terraform.io/providers/hashicorp/helm/latest)
Terraform provisioner:- [kubernetes dashboard](https://github.com/kubernetes/dashboard): a general-
purpose web UI for Kubernetes clusters- [Cilium](https://github.com/cilium/cilium): eBPF-based networking, security
and observability.- [Prometheus stack (kube-prometheus-stack)](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack):
AlertManager, Grafana, kube-state-metrics, Node Exporter, Prometheus
# Create kind cluster
Run the following commands in your shell:
```bash
export KUBECONFIG=/tmp/configterraform init
terraform plan -out=main.plan
terraform apply main.plan# Use this to login in k8s dashboard
cat dashboard-admin.token# Expose k8s dashboard at https://localhost:8443/ (LAST "/" IS ESSENTIAL)
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
# Expose Prometheus dashboard
kubectl -n monitoring port-forward svc/kube-prometheus-stack-prometheus 9090
```