Kubernetes · Arazzo Workflow

Kubernetes Audit Cluster Node Capacity

Version 1.0.0

List the cluster's nodes, read one node's capacity and conditions in full, and enumerate namespaces.

1 workflow 1 source API 1 provider
View Spec View on GitHub AutomationCloud-NativeCNCFContainersDeploymentOpen-SourceOrchestrationScalingArazzoWorkflows

Provider

kubernetes

Workflows

cluster-capacity-audit
Enumerate nodes and namespaces and inspect a node's capacity and conditions.
Lists the cluster's nodes, drills into the first matching node for capacity, allocatable resources, taints and conditions, then lists namespaces to complete the cluster-level picture. Makes no writes.
3 steps inputs: namespaceLabelSelector, nodeFieldSelector, nodeLabelSelector outputs: allocatable, capacity, conditions, namespaces, nodeName, nodes
1
listClusterNodes
List the cluster's nodes, optionally narrowed to a single pool, to establish the fleet the audit covers.
2
readNodeDetail
Read one node in full for its capacity, allocatable resources, taints, and conditions, which report memory and disk pressure.
3
listClusterNamespaces
Enumerate the cluster's namespaces to frame how many tenants the audited nodes are carrying.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Kubernetes Audit Cluster Node Capacity
  summary: List the cluster's nodes, read one node's capacity and conditions in full, and enumerate namespaces.
  description: >-
    A read-only sweep for capacity planning and cluster health reporting. The
    workflow lists nodes filtered by a label selector, reads a single node in
    full for its capacity, allocatable resources, and conditions — the Ready,
    MemoryPressure, and DiskPressure signals that a list response summarizes —
    and enumerates the cluster's namespaces to frame the tenancy the nodes
    carry. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: clusterApi
  url: ../openapi/kubernetes-cluster-api-openapi.yml
  type: openapi
workflows:
- workflowId: cluster-capacity-audit
  summary: Enumerate nodes and namespaces and inspect a node's capacity and conditions.
  description: >-
    Lists the cluster's nodes, drills into the first matching node for capacity,
    allocatable resources, taints and conditions, then lists namespaces to
    complete the cluster-level picture. Makes no writes.
  inputs:
    type: object
    properties:
      nodeLabelSelector:
        type: string
        description: Label selector narrowing the audit to a node pool (e.g. node-role.kubernetes.io/worker=).
      nodeFieldSelector:
        type: string
        description: Field selector for node fields (e.g. spec.unschedulable=false).
      namespaceLabelSelector:
        type: string
        description: Optional label selector narrowing the namespace enumeration.
  steps:
  - stepId: listClusterNodes
    description: >-
      List the cluster's nodes, optionally narrowed to a single pool, to
      establish the fleet the audit covers.
    operationId: listNodes
    parameters:
    - name: labelSelector
      in: query
      value: $inputs.nodeLabelSelector
    - name: fieldSelector
      in: query
      value: $inputs.nodeFieldSelector
    - name: limit
      in: query
      value: 500
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nodes: $response.body#/items
      firstNodeName: $response.body#/items/0/metadata/name
  - stepId: readNodeDetail
    description: >-
      Read one node in full for its capacity, allocatable resources, taints,
      and conditions, which report memory and disk pressure.
    operationId: getNode
    parameters:
    - name: name
      in: path
      value: $steps.listClusterNodes.outputs.firstNodeName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nodeName: $response.body#/metadata/name
      capacity: $response.body#/status/capacity
      allocatable: $response.body#/status/allocatable
      conditions: $response.body#/status/conditions
      taints: $response.body#/spec/taints
      unschedulable: $response.body#/spec/unschedulable
  - stepId: listClusterNamespaces
    description: >-
      Enumerate the cluster's namespaces to frame how many tenants the audited
      nodes are carrying.
    operationId: listNamespaces
    parameters:
    - name: labelSelector
      in: query
      value: $inputs.namespaceLabelSelector
    - name: limit
      in: query
      value: 500
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      namespaces: $response.body#/items
  outputs:
    nodes: $steps.listClusterNodes.outputs.nodes
    nodeName: $steps.readNodeDetail.outputs.nodeName
    capacity: $steps.readNodeDetail.outputs.capacity
    allocatable: $steps.readNodeDetail.outputs.allocatable
    conditions: $steps.readNodeDetail.outputs.conditions
    namespaces: $steps.listClusterNamespaces.outputs.namespaces

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/kubernetes-cluster-capacity-audit-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.