github.com/deemoprobe/k8s-first-commit@v0.0.0-20230430165612-a541f1982be3/api/doc/controller-schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-03/schema",
     3    "type": "object",
     4    "required": false,
     5    "description": "A replicationController resource. A replicationController helps to create and manage a set of tasks. It acts as a factory to create new tasks based on a template. It ensures that there are a specific number of tasks running. If fewer tasks are running than `replicas` then the needed tasks are generated using `taskTemplate`. If more tasks are running than `replicas`, then excess tasks are deleted.",
     6    "properties": {
     7      "kind": {
     8        "type": "string",
     9        "required": false
    10      },
    11      "id": {
    12        "type": "string",
    13        "required": false
    14      },
    15      "creationTimestamp": {
    16        "type": "string",
    17        "required": false
    18      },
    19      "selfLink": {
    20        "type": "string",
    21        "required": false
    22      },
    23      "desiredState": {
    24        "type": "object",
    25        "required": false,
    26        "description": "The desired configuration of the replicationController",
    27        "properties": {
    28          "replicas": {
    29            "type": "number",
    30            "required": false,
    31            "description": "Number of tasks desired in the set"
    32          },
    33          "replicasInSet": {
    34            "type": "object",
    35            "required": false,
    36            "description": "Required labels used to identify tasks in the set"
    37          },
    38          "taskTemplate": {
    39            "type": "object",
    40            "required": false,
    41            "description": "Template from which to create new tasks, as necessary. Identical to task schema."
    42          }
    43        }
    44      },
    45      "labels": {
    46        "type": "object",
    47        "required": false
    48      }
    49    }
    50  }