kube-prometheus-k8s-yaml
Yaml file to deploy Prometheus to monitor Kubernetes
This package collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator. To deploy: kubectl create -f /usr/share/k8s-yaml/kube-prometheus/setup until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done kubectl create -f /usr/share/k8s-yaml/kube-prometheus/base To teardown: kubectl delete --ignore-not-found=true -f /usr/share/k8s-yaml/kube-prometheus/base -f /usr/share/k8s-yaml/kube-prometheus/setup
Apache-2.0