Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Kubectx | 14,910 | 3 months ago | 26 | January 11, 2022 | 46 | apache-2.0 | Go | |||
Faster way to switch between clusters and namespaces in kubectl | ||||||||||
Fish Kubectl Completions | 524 | 2 years ago | 11 | mit | Shell | |||||
kubectl completions for fish shell | ||||||||||
Kubectl Fzf | 395 | a month ago | 13 | October 04, 2022 | 5 | mit | Go | |||
A fast kubectl autocompletion with fzf | ||||||||||
K8sh | 127 | 3 years ago | apache-2.0 | Shell | ||||||
A simple, easily extensible shell for navigating your kubernetes clusters | ||||||||||
Fzf Zsh Completions | 103 | 2 months ago | 1 | mit | Shell | |||||
Fuzzy completions for fzf and Zsh (git, kubectl, docker, ...) | ||||||||||
Pskubectlcompletion | 57 | a year ago | other | PowerShell | ||||||
kubectl auto-completion for PowerShell | ||||||||||
Zsh Kubectl Completion | 30 | 3 years ago | gpl-3.0 | Makefile | ||||||
Rich zsh completion for the kubectl command. | ||||||||||
K8s Cli Toolset | 19 | 3 years ago | 3 | mit | Dockerfile | |||||
Provides a Kubernetes cli toolset | ||||||||||
Forward | 17 | 3 years ago | 7 | mit | Go | |||||
🎳 forward - extended kubectl port-forward - reliable multiple port forwarding. | ||||||||||
Kubectl Container | 13 | 4 months ago | 1 | Shell | ||||||
kubectl with plugins and auto-completion |
Rich zsh completion for the kubectl command.
kubectl | zsh-kubectl-completion |
---|---|
v1.12.2 | v0.1.6 |
v0.13.5 | v0.1.7 |
v0.13.5 | v0.1.8 |
v0.13.5 | v0.1.9 |
v0.13.5 | v0.1.10 |
v0.13.5 | v0.1.11 |
v0.13.5 | v0.1.12 |
write this in your .zshrc
.
zplug "nnao45/zsh-kubectl-completion"
$ curl -fLo ~/.zprezto/modules/completion/external/src/_kubectl \
https://raw.githubusercontent.com/nnao45/zsh-kubectl-completion/master/_kubectl
$ exec zsh
for example, you set ~/.zsh/completion
,
$ curl -fLo ~/.zsh/completion_kubectl \
https://raw.githubusercontent.com/nnao45/zsh-kubectl-completion/master/_kubectl
$ exec zsh
This completion of kubectl has several flags corresponding to context override, for example, specify the namespace of the operation target --namespace flag should be set before entering resource name such as pod name So we will use the target namespace resource as a candidate for completion. The options supported for override are as follows.
If you want to complete list is "non grouped", you set additional attr.
(I don't like grouped complete list when same word comment.)
By default,
$ kubectl describe namespaces <TAB>
namespace
kkk jjj iii hhh ggg fff eee ddd ccc bbb aaa
vvv uuu ttt sss rrr qqq ppp ooo nnn mmm lll
zzz yyy xxx www -- Active
Add this setting in your .zshrc
,
zstyle ':completion:*:*:kubectl:*' list-grouped false
Show this😍
$ kubectl describe namespaces <TAB>
namespace
aaa -- Active
bbb -- Active
ccc -- Active
ddd -- Active
eee -- Active
fff -- Active
ggg -- Active
hhh -- Active
iii -- Active
jjj -- Active
kkk -- Active
lll -- Active
mmm -- Active
nnn -- Active
ooo -- Active
ppp -- Active
qqq -- Active
rrr -- Active
sss -- Active
ttt -- Active
uuu -- Active
vvv -- Active
www -- Active
xxx -- Active
yyy -- Active
zzz -- Active