From 03837dda96fa58e0e736d9736820b7a488009673 Mon Sep 17 00:00:00 2001 From: Roeland van Batenburg Date: Thu, 10 Oct 2024 11:06:42 +1300 Subject: [PATCH] allow customization without installing depedencies --- docs/customizing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/customizing.md b/docs/customizing.md index a051ed4437..05dea47a37 100644 --- a/docs/customizing.md +++ b/docs/customizing.md @@ -165,6 +165,13 @@ be created successfully. Check the monitoring namespace (or the namespace you have specific in `namespace: `) and make sure the pods are running. Prometheus and Grafana should be up and running soon. +## Containerized Installing and Compiling + +If you don't care to have jb nor jsonnet nor gojsontoyaml installed, then use ghcr.io/roelandvanbatenburg/kube-prometheus-builder container image. Do the following from this kube-prometheus directory: + +$ docker run --rm -v $(pwd):$(pwd) --workdir $(pwd) ghcr.io/roelandvanbatenburg/kube-prometheus-builder jb update +$ docker run --rm -v $(pwd):$(pwd) --workdir $(pwd) ghcr.io/roelandvanbatenburg/kube-prometheus-builder ./build.sh example.jsonnet + ## Minikube Example To use an easy to reproduce example, see [minikube.jsonnet](../examples/minikube.jsonnet), which uses the minikube setup as demonstrated in [Prerequisites](../README.md#prerequisites). Because we would like easy access to our Prometheus, Alertmanager and Grafana UIs, `minikube.jsonnet` exposes the services as NodePort type services.