Custom configuration for the prometheus configuration of my bare-metal Kubernetes cluster.
This configuration is tailored for my network (i.e. DNS, ingress and certificate resolvers) and would need to be updated for your own use.
Simply run nix-shell --run './build.sh kubespray.jsonnet'
Add the following to your kustomization.yaml
:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/berbiche/kube-prometheus-kubespray?ref=release-v0.3.2
An additional secret will have to be added and generated: