Task -> Pod, more API changes.

pull/6/head
Brendan Burns 2014-06-08 21:52:49 -07:00
parent 0cd3b1c9a2
commit d05a3f1f8d
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"required": false,
"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 `podTemplate`. If more tasks are running than `replicas`, then excess tasks are deleted.",
"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",
@ -28,17 +28,17 @@
"replicas": {
"type": "number",
"required": false,
"description": "Number of tasks desired in the set"
"description": "Number of pods desired in the set"
},
"replicasInSet": {
"type": "object",
"required": false,
"description": "Required labels used to identify tasks in the set"
"description": "Required labels used to identify pods in the set"
},
"podTemplate": {
"type": "object",
"required": false,
"description": "Template from which to create new tasks, as necessary. Identical to task schema."
"description": "Template from which to create new pods, as necessary. Identical to pod schema."
}
}
},