- The core metrics pipeline, which is an integral part of Kubernetes and always installed with all distributions
- The services monitoring (non-core) pipeline, which is a separate pipeline, and Kubernetes has no or limited dependency on
core metrics workflow
- CAdvisor collects metrics about containers and nodes that on which it is installed. Note: CAdvisor is installed by default on all cluster nodes
- Kubelet exposes these metrics (default is one-minute resolution) through Kubelet APIs.
- Metrics Server discovers all available nodes and calls Kubelet API to get containers and nodes resources usage.
- Metrics Server exposes these metrics through Kubernetes aggregation API.
servies monitor workflow
- Monitoring agent collects node metrics. cAdvisor collects containers and pods metrics.
- Monitoring Aggregation service collects data from its own agent and cAdvisor.
- Data is stored in the monitoring system’s storage.
- Monitoring aggregation service exposes metrics through APIs and dashboards.