What is Kubernetes Inventory?
Kubernetes — also known as k8s or kube — is a container orchestration platform for scheduling and automating the deployment, management, and scaling of containerized applications.
An accurate and up-to-date Kubernetes Inventory is critical to business success due to its ability to reduce inventory errors, improve an organization's ability to meet customer demands, and lower operational costs. Kubernetes inventory keeps track of the Nodes, Pod Containers, and Daemon Sets deployed in a Kubernetes cluster.
Monitoring Kubernetes Inventory
This package monitors a Kubernetes cluster by communicating with the Kubelet API from a ServicePilot Agent installed in a Pod. It is assumed that ServicePilot Agents are running in Pods as part of a DaemonSet within a Kubernetes cluster so that each ServicePilot Agent can report on its Cluster statistics.
The statistics gathered in this way include:
- State and number of pods running the DaemonSet
- Replicas state
- Pods usage
- Memory usage
- CPU usage
- Pod Containers
- Memory requests and limit