Skip to main content
Monitoring & Collection/Zaku

NormalizePod

Normalize a single raw pod spec into a canonical ZCF representation

POST/api/v1/zaku/normalize/pod

Operation ID

NormalizePod

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Body Fields

  • name
    StringRequired

    Name of the pod

    Example: nginx-deployment-abc123

  • namespace
    StringRequired

    Kubernetes namespace of the pod

    Example: default

  • labels
    LinkedHashMapRequired

    Key-value labels attached to this resource

    Example: (nested object)

  • annotations
    LinkedHashMapRequired

    Arbitrary key-value annotations for metadata

    Example: (nested object)

  • containerCount
    IntegerRequired

    Number of containers in the pod

    Example: 2

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • name
    String

    Normalized name of the pod

    Example: nginx-deployment-abc123

  • namespace
    String

    Kubernetes namespace of the pod

    Example: default

  • labels
    LinkedHashMap

    Key-value labels attached to this resource

    Example: (nested object)

  • annotations
    LinkedHashMap

    Arbitrary key-value annotations for metadata

    Example: (nested object)

  • containerCount
    Integer

    Number of containers after normalization

    Example: 2

  • nodeName
    String

    Name of the node the pod is scheduled on

    Example: k8s-node-01

  • status
    String

    Current phase of the pod lifecycle

    Example: Running

  • truncated
    Boolean

    Whether any fields were truncated during normalization

    Example: false

  • warnings
    List

    List of normalization warning messages

    Example: item1,item2