OpenShift · JSON Structure

Openshift Rest Container Structure

Type: object Properties: 8
CI/CDCloud NativeContainersDevOpsEnterpriseKubernetesPaaS

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

Properties

name image command args env ports volumeMounts imagePullPolicy

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Container",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "command": {
      "type": "array"
    },
    "args": {
      "type": "array"
    },
    "env": {
      "type": "array"
    },
    "ports": {
      "type": "array"
    },
    "volumeMounts": {
      "type": "array"
    },
    "imagePullPolicy": {
      "type": "string"
    }
  }
}