BatchNormalize
Batch normalize multiple pod specs in a single request
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
podsListRequiredThe pods value
Example: (nested array)
nameStringName of the pod
Example: nginx-deployment-abc123
namespaceStringKubernetes namespace of the pod
Example: default
labelsLinkedHashMapKey-value labels attached to this resource
Example: (nested object)
annotationsLinkedHashMapArbitrary key-value annotations for metadata
Example: (nested object)
containerCountIntegerNumber of containers in the pod
Example: 2
nodeNameStringName of the node the pod is scheduled on
Example: k8s-node-01
statusStringCurrent phase of the pod lifecycle
Example: Running
optsObjectRequiredThe opts value
batchSizeIntegerNumber of pods to process per batch
Example: 100
maxErrorsIntegerMaximum number of errors before aborting the batch
Example: 10
strictModeBooleanIf true, abort on first validation error; if false, skip and continue
Example: false
Responses
Endpoint
POST/api/v1/zaku/normalize/batch
/api/v1/zaku/normalize/batch
Request Example
curl -X POST '{host}/api/v1/zaku/normalize/batch' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"pods":"(nested array)","opts":{"batchSize":100,"maxErrors":10,"strictMode":false}}'
Response Example
200{
"successful": 95,
"failed": 3,
"skipped": 2,
"errors": [
{}
],
"durationMs": 1250
}Change History
This API has no change history records yet.
