"description":"A replicationController resource. A replicationController helps to create and manage a set of pods. It acts as a factory to create new pods based on a template. It ensures that there are a specific number of pods running. If fewer pods are running than `replicas` then the needed pods are generated using `podTemplate`. If more pods are running than `replicas`, then excess pods are deleted.",
"properties":{
"kind":{
"type":"string",
"required":false
},
"id":{
"type":"string",
"required":false
},
"namespace":{
"type":"string",
"required":false
},
"creationTimestamp":{
"type":"string",
"required":false
},
"selfLink":{
"type":"string",
"required":false
},
"desiredState":{
"type":"object",
"required":false,
"description":"The desired configuration of the replicationController",
"properties":{
"replicas":{
"type":"number",
"required":false,
"description":"Number of pods desired in the set"
},
"replicaSelector":{
"type":"object",
"required":false,
"description":"Required labels used to identify pods in the set"
},
"podTemplate":{
"type":"object",
"required":false,
"description":"Template from which to create new pods, as necessary. Identical to pod schema."
"description":"Manifest describing group of [Docker containers](http://docker.io); also used by [Google Cloud Platform's container-vm images](https://developers.google.com/compute/docs/containers).",
"properties":{
"version":{
"type":"string",
"description":"The version of the manifest.",
"enum":[
"v1beta1"
]
},
"containers":{
"type":"array",
"description":"The list of containers to launch.",
"items":{
"type":"object",
"required":[
"name",
"image"
],
"properties":{
"name":{
"type":"string",
"description":"A symbolic name used to create and track the container. Must be an RFC1035 compatible value (a single segment of a DNS name). All containers must have unique names."
},
"image":{
"type":"string",
"description":"The container image to run."
},
"command":{
"type":"array",
"description":"The command line to run. If this is omitted, the container is assumed to have a command embedded in it.",
"items":{
"type":"string"
}
},
"workingDir":{
"type":"string",
"description":"The initial working directory for the command. Default is the container’s embedded working directory or else the Docker default."
},
"volumeMounts":{
"type":"array",
"description":"Data volumes to expose into the container.",
"items":{
"type":"object",
"properties":{
"name":{
"type":"string",
"description":"The name of the volume to mount. This must match the name of a volume defined in volumes[]."
},
"mountPath":{
"type":"string",
"description":"The path at which to mount the volume inside the container. This must be an absolute path and no longer than 512 characters."
},
"readOnly":{
"type":"boolean",
"description":"Whether this volume should be read-only. Default is false (read-write)."
}
}
}
},
"ports":{
"type":"array",
"description":"Ports to expose from the container. All of these are exposed out through the public interface of the VM.",
"items":{
"type":"object",
"properties":{
"name":{
"type":"string",
"description":"A symbolic name used to create and track the port. Must be an RFC1035 compatible value (a single segment of a DNS name)."
},
"containerPort":{
"type":"integer",
"description":"The port on which the container is listening."
},
"hostPort":{
"type":"integer",
"description":"The port on the host which maps to the containerPort. Default is auto-allocated."
},
"protocol":{
"type":"string",
"description":"The protocol for this port. Valid options are TCP and UDP. Default is TCP."
}
}
}
},
"env":{
"type":"array",
"description":"Environment variables to set before the container runs.",
"items":{
"type":"object",
"properties":{
"name":{
"type":"string",
"description":"The name of the environment variable."
},
"value":{
"type":"string",
"description":"The value of the environment variable."
}
}
}
}
}
}
},
"volumes":{
"type":"array",
"description":"A list of volumes to share between containers.",
"uniqueItems":true,
"items":{
"type":"object",
"required":[
"name"
],
"properties":{
"name":{
"type":"string",
"description":"The name of the volume. Must be an RFC1035 compatible value (a single segment of a DNS name). All volumes must have unique names. These are referenced by `containers[].volumeMounts[].name`.",
"description":"Pod resource. A pod corresponds to a co-located group of [Docker containers](http://docker.io).",
"properties":{
"kind":{
"type":"string",
"required":false
},
"id":{
"type":"string",
"required":false
},
"namespace":{
"type":"string",
"required":false
},
"creationTimestamp":{
"type":"string",
"required":false
},
"selfLink":{
"type":"string",
"required":false
},
"desiredState":{
"type":"object",
"required":false,
"description":"The desired configuration of the pod",
"properties":{
"manifest":{
"type":"object",
"required":false,
"description":"Manifest describing group of [Docker containers](http://docker.io); compatible with format used by [Google Cloud Platform's container-vm images](https://developers.google.com/compute/docs/containers)"
},
"status":{
"type":"string",
"required":false,
"description":""
},
"host":{
"type":"string",
"required":false,
"description":""
},
"hostIP":{
"type":"string",
"required":false,
"description":""
},
"info":{
"type":"object",
"required":false,
"description":""
}
}
},
"currentState":{
"type":"object",
"required":false,
"description":"The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",