Monitoring with Grafana
Introduction Grafana is an open-source platform for monitoring and observability. It allows you to query, visualize, alert on, and understand your metrics no matter where they are stored. In this post, we will see how to monitor a Kubernetes cluster using Grafana.
Prerequisites A Kubernetes cluster Helm The following argument in your kubernetes service file to enable additional metrics: --kube-controller-manager-arg bind-address=0.0.0.0 --kube-proxy-arg metrics-bind-address=0.0.0.0 --kube-scheduler-arg bind-address=0.0.0.0 --etcd-expose-metrics true --kubelet-arg containerd=/run/k3s/containerd/containerd.sock Install Grafana & Prometheus Add the Helm repository helm repo add prometheus-community https://prometheus-community.