capabilities.work

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.

  1. List the cluster's nodes, optionally narrowed to a single pool, to establish the fleet the audit covers.
  2. Read one node in full for its capacity, allocatable resources, taints, and conditions, which report memory and disk pressure.
  3. 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.