Prometheus Learning Resources
the prometheus github page
Install Prometheus Operator
# add helm repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
# update helm repos
helm repo update
# create monitoring namespace
k create ns monitoring
# install prometheus helm chart
helm install monitoring prometheus-community/kube-prometheus-stack -n monitoring
k -n monitoring get sts # prometheus and alertmanager
k -n monitoring get deploy # kube-state-metrics, prom operator, and grafana
k -n monitoring get cm # prom rules
k -n monitoring get secret # certificates, user & pass
k -n monitoring get crd # probes, etc.
Inspecting Prometheus Stack
Add Alert Rules to Prometheus
Change Prometheus Configuration