Argo Workflows · Schema

io.k8s.api.core.v1.ContainerResizePolicy

ContainerResizePolicy represents resource resize policy for the container.

CNCFContainersData ProcessingKubernetesMachine-LearningOpen-SourceWorkflow Engine

Properties

Name Type Description
resourceName string Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.
restartPolicy string Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.
View JSON Schema on GitHub

JSON Schema

argo-workflows-io-k8s-api-core-v1-container-resize-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-k8s-api-core-v1-container-resize-policy-schema.json",
  "title": "io.k8s.api.core.v1.ContainerResizePolicy",
  "description": "ContainerResizePolicy represents resource resize policy for the container.",
  "type": "object",
  "properties": {
    "resourceName": {
      "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
      "type": "string"
    },
    "restartPolicy": {
      "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
      "type": "string"
    }
  },
  "required": [
    "resourceName",
    "restartPolicy"
  ]
}