OpenShift · JSON Structure

Openshift Rest Pod Spec Structure

Type: object Properties: 6
CI/CDCloud NativeContainersDevOpsEnterpriseKubernetesPaaS

PodSpec is a JSON Structure definition published by OpenShift, describing 6 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

containers initContainers restartPolicy serviceAccountName nodeSelector volumes

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "PodSpec",
  "type": "object",
  "properties": {
    "containers": {
      "type": "array"
    },
    "initContainers": {
      "type": "array"
    },
    "restartPolicy": {
      "type": "string"
    },
    "serviceAccountName": {
      "type": "string"
    },
    "nodeSelector": {
      "type": "object"
    },
    "volumes": {
      "type": "array"
    }
  }
}