Skip to content

Monitoring

Install prometheus

The following lines need to be added to each node for promotheus to collect scrap from kubelet. Else, the prometheus kubelet target fails.

/etc/systemd/system/kubelet.service
    --authentication_token_webhook=true \
    --read-only-port=10255 \
    --authorization-mode=Webhook \
Restart the kubelet service
systemctl daemon-reload  
systemctl restart kubelet