Fix readme.md

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-04-10 09:45:57 -07:00
parent c4867bc1f2
commit d906013970
No known key found for this signature in database
GPG Key ID: 5C02521D7B216AD6

View File

@ -1,10 +1,10 @@
This repository provides both `kubectx` and `kubens` tools. This repository provides both `kubectx` and `kubens` tools.
**`kubectx`** help you switch between clusters back and forth: **`kubectx`** helps you switch between clusters back and forth:
![kubectx demo GIF](img/kubectx-demo.gif) ![kubectx demo GIF](img/kubectx-demo.gif)
**`kubens`** help you switch between Kubernetes namespaces smoothly: **`kubens`** helps you switch between Kubernetes namespaces smoothly:
![kubens demo GIF](img/kubens-demo.gif) ![kubens demo GIF](img/kubens-demo.gif)
# kubectx(1) # kubectx(1)
@ -18,7 +18,9 @@ USAGE:
kubectx - : switch to the previous context kubectx - : switch to the previous context
kubectx <NEW_NAME>=<NAME> : rename context <NAME> to <NEW_NAME> kubectx <NEW_NAME>=<NAME> : rename context <NAME> to <NEW_NAME>
kubectx <NEW_NAME>=. : rename current-context to <NEW_NAME> kubectx <NEW_NAME>=. : rename current-context to <NEW_NAME>
kubectx -h,--help : show this message kubectx -d <NAME> : delete context <NAME> ('.' for current-context)
(this command won't delete the user/cluster entry
that is used by the context)
``` ```
### Usage ### Usage
@ -52,7 +54,6 @@ USAGE:
kubens : list the namespaces kubens : list the namespaces
kubens <NAME> : change the active namespace kubens <NAME> : change the active namespace
kubens - : switch to the previous namespace kubens - : switch to the previous namespace
kubens -h,--help : show this message
``` ```