Audit Cluster Node Capacity
A 3-step recipe with Kubernetes. We can help you get access.
Recipe · 3 steps
Audit Cluster Node Capacity
with Kubernetes · IT Infrastructure Management
Enumerate nodes and namespaces and inspect a node's capacity and conditions.
- List the cluster's nodes, optionally narrowed to a single pool, to establish the fleet the audit covers.
- Read one node in full for its capacity, allocatable resources, taints, and conditions, which report memory and disk pressure.
- Enumerate the cluster's namespaces to frame how many tenants the audited nodes are carrying.
What you'll need to have ready
- nodeLabelSelector: Label selector narrowing the audit to a node pool (e.g. node-role.kubernetes.io/worker=).
- nodeFieldSelector: Field selector for node fields (e.g. spec.unschedulable=false).
- namespaceLabelSelector: Optional label selector narrowing the namespace enumeration.
For your developer
Arazzo workflow kubernetes:cluster-capacity-audit, 3 operations: listNodes → getNode → listNamespaces. Specs on APIs.io.