marcel-dempers 7d9aa53bbd doco updates
2020-07-11 22:11:21 +10:00
..
2020-02-04 14:44:40 +11:00
2020-02-04 20:44:16 +11:00
2020-07-11 22:11:21 +10:00

Kubernetes 1.14.8 Monitoring Guide

Create a cluster with kind

kind create cluster --name prometheus --image kindest/node:v1.14.9
kubectl create ns monitoring

# Create the operator to instanciate all CRDs
# Note: You will see error: no matches for kind "ServiceMonitor" ...
#       Wait till the operator is running, then rerun the command
kubectl -n monitoring apply -f ./prometheus-monitoring/kubernetes/1.14.8/prometheus-operator/

# Deploy monitoring components
kubectl -n monitoring apply -f ./prometheus-monitoring/kubernetes/1.14.8/node-exporter/
kubectl -n monitoring apply -f ./prometheus-monitoring/kubernetes/1.14.8/kube-state-metrics/
kubectl -n monitoring apply -f ./prometheus-monitoring/kubernetes/1.14.8/alertmanager

# Deploy prometheus instance and all the service monitors for targets
kubectl -n monitoring apply -f ./prometheus-monitoring/kubernetes/1.14.8/prometheus-cluster-monitoring/

# Dashboarding
kubectl -n monitoring create -f ./prometheus-monitoring/kubernetes/1.14.8/grafana/