summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubernetes Submit Queue <k8s-merge-robot@users.noreply.github.com>2016-08-19 14:34:13 -0700
committerGitHub <noreply@github.com>2016-08-19 14:34:13 -0700
commitf2f002b4ebb2b982c03a942d679ca713e59090cb (patch)
treeaad4f7ea04b7b3dfaa95bfe3c1d0bf1485fa4aec
parent295b397218a2b33c0cf41153242308e68173a427 (diff)
parent3cc8cb9486d8e64fa19d58a1ff789ae4f51edabd (diff)
Merge pull request #30630 from silasbw/short-n0
Automatic merge from submit-queue Add a short `-n` for `kubectl --namespace` fixes #24078 `--namespace` is a very common flag for nearly every `kubectl` command we have. We should claim `-n` for it.
-rw-r--r--kubectl-conventions.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubectl-conventions.md b/kubectl-conventions.md
index 8705d285..3e7e8803 100644
--- a/kubectl-conventions.md
+++ b/kubectl-conventions.md
@@ -142,6 +142,7 @@ list when adding new short flags
* `-f`: Resource file
* also used for `--follow` in `logs`, but should be deprecated in favor of `-F`
+ * `-n`: Namespace scope
* `-l`: Label selector
* also used for `--labels` in `expose`, but should be deprecated
* `-L`: Label columns