@@ -373,7 +373,7 @@ implemented, either.
"
$schema":
"http://json-schema.org/draft-03/schema",
"
type":
"object",
"
required":
false,
- "
description":
"Task resource. A task corresponds to a colocated group of [Docker containers](http://docker.io).",
+ "
description":
"Pod resource. A pod corresponds to a colocated group of [Docker containers](http://docker.io).",
"
properties":
{
"kind": {
"type": "string",
@@ -394,7 +394,7 @@ implemented, either.
"desiredState": {
"type": "object",
"required": false,
- "description": "The desired configuration of the task",
+ "description": "The desired configuration of the pod",
"properties": {
"manifest": {
"type": "object",
@@ -426,7 +426,7 @@ implemented, either.
"currentState": {
"type": "object",
"required": false,
- "description": "The current configuration and status of the task. Fields in common with desiredState have the same meaning.",
+ "description": "The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",
"properties": {
"manifest": {
"type": "object",
@@ -497,7 +497,7 @@ implemented, either.
-
+
@@ -533,40 +533,40 @@ implemented, either.
-
+
-
Get a specific task
+
-
+
URI Parameters
- - taskId: string
+ - podId: string
@@ -577,7 +577,7 @@ implemented, either.
-
+
HTTP status code 200
@@ -622,36 +622,36 @@ implemented, either.
-
+
-
Update a task
+
-
+
URI Parameters
- - taskId: string
+ - podId: string
@@ -669,7 +669,7 @@ implemented, either.
"
$schema":
"http://json-schema.org/draft-03/schema",
"
type":
"object",
"
required":
false,
- "
description":
"Task resource. A task corresponds to a colocated group of [Docker containers](http://docker.io).",
+ "
description":
"Pod resource. A pod corresponds to a colocated group of [Docker containers](http://docker.io).",
"
properties":
{
"kind": {
"type": "string",
@@ -690,7 +690,7 @@ implemented, either.
"desiredState": {
"type": "object",
"required": false,
- "description": "The desired configuration of the task",
+ "description": "The desired configuration of the pod",
"properties": {
"manifest": {
"type": "object",
@@ -722,7 +722,7 @@ implemented, either.
"currentState": {
"type": "object",
"required": false,
- "description": "The current configuration and status of the task. Fields in common with desiredState have the same meaning.",
+ "description": "The current configuration and status of the pod. Fields in common with desiredState have the same meaning.",
"properties": {
"manifest": {
"type": "object",
@@ -787,40 +787,40 @@ implemented, either.
-
+
-
Delete a specific task
+
-
+
URI Parameters
- - taskId: string
+ - podId: string
@@ -831,7 +831,7 @@ implemented, either.
-
+
HTTP status code 200
@@ -972,7 +972,7 @@ implemented, either.
"
replicasInSet":
{
"name": "testRun"
},
- "
taskTemplate":
{
+ "podTemplate": {
"desiredState": {
"image": "dockerfile/nginx",
"networkPorts": [
@@ -1045,7 +1045,7 @@ implemented, either.
"$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 `taskTemplate`. 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",
@@ -1071,17 +1071,17 @@ implemented, either.
"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"
},
- "taskTemplate": {
+ "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."
}
}
},
@@ -1100,7 +1100,7 @@ implemented, either.
"desiredState": {
"replicas": 2,
"replicasInSet": {"name": "nginx"},
- "taskTemplate": {
+ "podTemplate": {
"desiredState": {
"manifest": {
"containers": [{
@@ -1231,7 +1231,7 @@ implemented, either.
"desiredState": {
"replicas": 2,
"replicasInSet": {"name": "nginx"},
- "taskTemplate": {
+ "podTemplate": {
"desiredState": {
"manifest": {
"containers": [{
@@ -1304,7 +1304,7 @@ implemented, either.
"$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 `taskTemplate`. 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",
@@ -1330,17 +1330,17 @@ implemented, either.
"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"
},
- "taskTemplate": {
+ "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."
}
}
},
@@ -1359,7 +1359,7 @@ implemented, either.
"desiredState": {
"replicas": 2,
"replicasInSet": {"name": "nginx"},
- "taskTemplate": {
+ "podTemplate": {
"desiredState": {
"manifest": {
"containers": [{
@@ -2002,7 +2002,7 @@ implemented, either.