From eb1b3c87296c91aa93c7eccbebfeb3c15bbc5087 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Tue, 10 Apr 2018 14:17:27 -0500 Subject: [PATCH] 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 ---