From 5cb444417667da0fa442f305376d065e5fb8a51a Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Sun, 8 Jun 2014 23:00:12 -0700 Subject: [PATCH] Task -> Pod #4, the final chapter --- api/kubernetes.html | 162 +++++++++--------- cluster/kube-up.sh | 2 +- .../saltbase/salt/controller-manager/initd | 2 +- cmd/apiserver/apiserver.go | 2 +- cmd/integration/integration.go | 2 +- pkg/client/client.go | 10 +- pkg/client/client_test.go | 14 +- pkg/registry/replication_controller_test.go | 2 +- 8 files changed, 98 insertions(+), 98 deletions(-) diff --git a/api/kubernetes.html b/api/kubernetes.html index eedc17e86e..7223a540fa 100644 --- a/api/kubernetes.html +++ b/api/kubernetes.html @@ -111,16 +111,16 @@

Overview

-

The Kubernetes API currently manages 3 main resources: tasks, -replicationControllers, and services. Tasks correspond to +

The Kubernetes API currently manages 3 main resources: pods, +replicationControllers, and services. Pods correspond to colocated groups of Docker containers with shared volumes, as supported by Google Cloud Platform's container-vm images. -Singleton tasks can be created directly via the /tasks -endpoint. Sets of tasks may created, maintained, and scaled using +Singleton pods can be created directly via the /pods +endpoint. Sets of pods may created, maintained, and scaled using replicationControllers. Services create load-balanced targets -for sets of tasks.

+for sets of pods.

Resource identifiers

@@ -131,7 +131,7 @@ is a map of string (key) to string (value). Each resource may have at most one label with a particular key. Individual labels are used to specify identifying metadata that can be used to define sets of resources by specifying required labels. Examples -of typical task label keys include stage, service, name, +of typical pod label keys include stage, service, name, tier, partition, and track, but you are free to develop your own conventions.

@@ -176,7 +176,7 @@ resource during a read/modify/write cycle. The correct client action at this point is to GET the resource again, apply the changes afresh and try submitting again.

Note that updates currently only work for replicationControllers -and services, but not for tasks. Label updates have not yet been +and services, but not for pods. Label updates have not yet been implemented, either.

@@ -185,7 +185,7 @@ implemented, either.

-

/tasks

+

/pods

@@ -195,28 +195,28 @@ implemented, either.

-
+
-