From eb1b3c87296c91aa93c7eccbebfeb3c15bbc5087 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Tue, 10 Apr 2018 14:17:27 -0500 Subject: [PATCH 1/2] Clarify types --- slides/kube/kubectlrun.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/slides/kube/kubectlrun.md b/slides/kube/kubectlrun.md index 2f3699bf..461a333d 100644 --- a/slides/kube/kubectlrun.md +++ b/slides/kube/kubectlrun.md @@ -53,6 +53,8 @@ We should see the following things: - `rs/pingpong-xxxx` (a *replica set* created by the deployment) - `po/pingpong-yyyy` (a *pod* created by the replica set) +Note: as of 1.10, types aren't displayed! [This may be a bug.](https://github.com/kubernetes/kubernetes/issues/62340) + --- ## What are these different things? @@ -82,17 +84,28 @@ We should see the following things: - `kubectl run` created a *deployment*, `deploy/pingpong` +``` +NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE +pingpong 1 1 1 1 24m +``` + - That deployment created a *replica set*, `rs/pingpong-xxxx` +``` +NAME DESIRED CURRENT READY AGE +pingpong-68bbb64457 1 1 1 24m +``` + - That replica set created a *pod*, `po/pingpong-yyyy` +``` +NAME READY STATUS RESTARTS AGE +pingpong-68bbb64457-x7vss 1/1 Running 0 24m +``` + - We'll see later how these folks play together for: - - scaling - - - high availability - - - rolling updates + - scaling, high availability, rolling updates --- From ab63b76ae002b4561b2fff12ffc3dcdfcd57182f Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Wed, 18 Apr 2018 13:59:26 -0500 Subject: [PATCH 2/2] Clarify types bug --- slides/kube/kubectlrun.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/kube/kubectlrun.md b/slides/kube/kubectlrun.md index 461a333d..015c02f9 100644 --- a/slides/kube/kubectlrun.md +++ b/slides/kube/kubectlrun.md @@ -53,7 +53,7 @@ We should see the following things: - `rs/pingpong-xxxx` (a *replica set* created by the deployment) - `po/pingpong-yyyy` (a *pod* created by the replica set) -Note: as of 1.10, types aren't displayed! [This may be a bug.](https://github.com/kubernetes/kubernetes/issues/62340) +Note: as of 1.10.0, types aren't displayed! [This is a bug and will be corrected in 1.10.1.](https://github.com/kubernetes/kubernetes/issues/62340) ---