Monitor Kubernetes Logs, Metrics, and Metadata with ELK and Beats Part -3
Installing MetricBeat Agent Metricbeat helps you monitor your servers and the services they host by collecting metrics from the operating system and services. You deploy Metricbeat as a DaemonSet to ensure that there’s a running instance on each node of the cluster. These instances are used to retrieve most metrics from the host, such as system metrics, Docker stats, and metrics from all the services running on top of Kubernetes. Kube-state-metrics kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects. It is not focused on the health of the individual Kubernetes components, but rather on the health of the various objects inside, such as deployments, nodes and pods. Download the yaml file from my git repository. https://github.com/darshanadinushal/rabbitmq-cluster/blob/master/deployment/elk-cluster/kube-state-metrics.yaml Run the following command to execute "kube-state-metrics". oc create -f ku