Creates a HA prometheus installation in the monitoring
namespace, looking at default
and kube-system
.
-
Set the required environment variables shown in
alertmanager-config.yaml.src
. These are the secrets to access the SMTP relay and the email alerts should be sent to. (SMTP_AUTH_USERNAME
,SMTP_AUTH_SECRET
, andTARGET_EMAIL
) -
Run
make build
(or justmake
) to create the k8s manifests -
Apply the k8s manifests with
make apply
orkubectl apply -f manifests\
-
Run
./forward.sh
to access the monitoring system
- Prometheus is on
localhost:9090
- Alertmanager is on
localhost:9093
- Grafana is on
localhost:3000
Uses kube-prometheus