From f23272d1542b75a44f207722a8847fb2e6ab22ec Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Sun, 30 Sep 2018 20:23:21 -0400 Subject: [PATCH 1/2] Clarify kubens --- slides/k8s/namespaces.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slides/k8s/namespaces.md b/slides/k8s/namespaces.md index f4c949a8..e84d18a3 100644 --- a/slides/k8s/namespaces.md +++ b/slides/k8s/namespaces.md @@ -205,7 +205,9 @@ Note: it might take a minute or two for the app to be up and running. kubectl config set-context --current --namespace=foo ``` -- We can also use a little helper tool called `kubens`: +- We can also use a little helper tool called `kubens`. + + (These examples are for illustration, and are not functional.) ```bash # Switch to namespace foo From 4a447c7bf5a0b28798e7e1196e9dd5f75682c56b Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Thu, 1 Nov 2018 13:43:37 -0500 Subject: [PATCH 2/2] Clarify further kubens vs kns --- slides/k8s/namespaces.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/slides/k8s/namespaces.md b/slides/k8s/namespaces.md index e84d18a3..55d2b8b5 100644 --- a/slides/k8s/namespaces.md +++ b/slides/k8s/namespaces.md @@ -205,9 +205,7 @@ Note: it might take a minute or two for the app to be up and running. kubectl config set-context --current --namespace=foo ``` -- We can also use a little helper tool called `kubens`. - - (These examples are for illustration, and are not functional.) +- We can also use a little helper tool called `kubens`: ```bash # Switch to namespace foo @@ -216,6 +214,10 @@ Note: it might take a minute or two for the app to be up and running. kubens - ``` +- On our clusters, `kubens` is called `kns` instead + + (so that it's even fewer keystrokes to switch namespaces) + --- ## `kubens` and `kubectx`