Skip to content

Conversation

skl
Copy link
Collaborator

@skl skl commented Oct 2, 2025

Local dev environment for kubernetes-mixin development and testing!

Run make dev to:

  • Generate Grafana dashboard JSON files, Prometheus alert and recording rule files
  • Create a local Kubernetes cluster using k3d
  • Install Grafana, Prometheus, OTel Collector, kube-state-metrics, and node_exporter with helm

Output in your terminal:

╔═══════════════════════════════════════════════════════════════╗
║             🚀 Development Environment Ready! 🚀              ║
║                                                               ║
║   Run `make dev-port-forward`                                 ║
║   Grafana will be available at http://localhost:3000          ║
║                                                               ║
║   Data will be available in a few minutes.                    ║
║                                                               ║
║   Dashboards will refresh every 10s, run `make generate`      ║
║   and refresh your browser to see the changes.                ║
║                                                               ║
║   Alert and recording rules require `make dev-reload`.        ║
║                                                               ║
╚═══════════════════════════════════════════════════════════════╝

Rules are imported into the local Prometheus:

Screenshot 2025-10-02 at 18 58 56

And visible in Grafana:

Screenshot 2025-10-02 at 19 58 54 Screenshot 2025-10-02 at 19 58 47

Here are the dashboards:

Screenshot 2025-10-02 at 19 58 13

and an example showing data from its own cluster!

Screenshot 2025-10-02 at 19 59 14

@skl skl requested a review from povilasv as a code owner October 2, 2025 19:06
@skl skl merged commit 38c6351 into master Oct 8, 2025
9 checks passed
@skl skl deleted the skl/ci-integration-testing branch October 8, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant