1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

allow kubectl commands against all namespaces (#7637)

* allow kubectl commands against all namespaces

* enhance the readme too
This commit is contained in:
Ulrich Schreiner
2019-03-10 17:36:51 +01:00
committed by Robby Russell
parent e3e0dd599e
commit 275e5b1349
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ plugins=(... kubectl)
| Alias | Command | Description |
|:--------|:------------------------------------|:-------------------------------------------------------------------------------------------------|
| k | `kubectl` | The kubectl command |
| kca | `kubectl --all-namespaces` | The kubectl command targeting all namespaces |
| kaf | `kubectl apply -f` | Apply a YML file |
| keti | `kubectl exec -ti` | Drop into an interactive terminal on a container |
| | | **Manage configuration quickly to switch contexts between local, dev and staging** |