mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-03-17 03:12:13 +00:00
Compare commits
1 Commits
dependabot
...
abalkan/ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e3ba9946e |
4
kubectx
4
kubectx
@@ -33,6 +33,8 @@ usage() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
Manage and switch between kubectl contexts.
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
$SELF : list the contexts
|
$SELF : list the contexts
|
||||||
$SELF <NAME> : switch to context <NAME>
|
$SELF <NAME> : switch to context <NAME>
|
||||||
@@ -46,6 +48,8 @@ USAGE:
|
|||||||
$SELF -u, --unset : unset the current context
|
$SELF -u, --unset : unset the current context
|
||||||
|
|
||||||
$SELF -h,--help : show this message
|
$SELF -h,--help : show this message
|
||||||
|
|
||||||
|
(This executable is the legacy bash-based implementation, consider upgrading to Go-based implementation.)
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
kubens
4
kubens
@@ -33,12 +33,16 @@ usage() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
Switch between Kubernetes namespaces.
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
$SELF : list the namespaces in the current context
|
$SELF : list the namespaces in the current context
|
||||||
$SELF <NAME> : change the active namespace of current context
|
$SELF <NAME> : change the active namespace of current context
|
||||||
$SELF - : switch to the previous namespace in this context
|
$SELF - : switch to the previous namespace in this context
|
||||||
$SELF -c, --current : show the current namespace
|
$SELF -c, --current : show the current namespace
|
||||||
$SELF -h,--help : show this message
|
$SELF -h,--help : show this message
|
||||||
|
|
||||||
|
(This executable is the legacy bash-based implementation, consider upgrading to Go-based implementation.)
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user