How route-route/k8s-kind-olly works
This repository provides a reproducible local Kubernetes monitoring stack: users create a kind cluster, install Prometheus, provision dashboards, and inspect metrics in Grafana. The documented data path is cluster exporters → Prometheus → a forwarded host port → Grafana. Setup and verification scripts coordinate that workflow; configuration files define the cluster, monitoring release, and Grafana provisioning. Source excerpts were unavailable, so relationships below follow the README’s explicit descriptions rather than inferred implementation details.
Main entry points: values-kube-prometheus-stack.yaml Prometheus · docker-compose.yml Grafana · verify.sh Verify stack · create-cluster.sh Create cluster
Components 18
Setup and verification
- Create cluster
scripts/create-cluster.sh - Cluster config
kind/cluster.yaml - Install monitoring
scripts/install-monitoring.sh - Verify stack
scripts/verify.sh
Cluster monitoring
- kind cluster
kind/cluster.yaml - Helm values
helm/values-kube-prometheus-stack.yaml - Prometheus
helm/values-kube-prometheus-stack.yaml - Cluster metrics
helm/values-kube-prometheus-stack.yaml - Prometheus NodePort
helm/values-kube-prometheus-stack.yaml - Host port mapping
kind/cluster.yaml
Grafana visualization
- Fetch dashboards
scripts/fetch-dashboards.sh - Dashboard files
grafana/dashboards - Start Grafana
scripts/start-grafana.sh - Grafana container config
grafana/docker-compose.yml - Grafana
grafana/docker-compose.yml - Prometheus datasource
grafana/provisioning/datasources/prometheus.yaml - Dashboard provider
grafana/provisioning/dashboards/provider.yaml
Other components
- User
Connections 23
- User → Create cluster: starts setup
- Create cluster → Cluster config: uses config
- Create cluster → kind cluster: creates cluster
- User → Install monitoring: installs monitoring
- Install monitoring → Helm values: uses values
- Install monitoring → Prometheus: installs stack
- Helm values → Prometheus: configures
- Prometheus → Cluster metrics: scrapes metrics
- Prometheus → Prometheus NodePort: exposes metrics
- Prometheus NodePort → Host port mapping: forwards to host
- User → Fetch dashboards: fetches dashboards
- Fetch dashboards → Dashboard files: writes dashboards
- User → Start Grafana: starts Grafana
- Start Grafana → Grafana container config: uses compose
- Start Grafana → Grafana: starts container
- Prometheus datasource → Grafana: provisions datasource
- Grafana → Prometheus datasource: queries Prometheus
- Dashboard provider → Grafana: provisions folder
- Dashboard provider → Dashboard files: loads dashboards
- User → Verify stack: checks stack
- Verify stack → kind cluster: checks cluster
- Verify stack → Prometheus: checks service
- Verify stack → Grafana: checks instance