A kubectl wrapper with fzf interactive search. Falls back to plain kubectl when fzf isn't applicable.
Screen.Recording.2025-09-27.at.15.36.22.mov
# Command only
export PATH="$HOME/.bin/kfc:$PATH"
# Command + Ctrl+K widget
export PATH="$HOME/.bin/kfc:$PATH"
KFC_WIDGET=1 source "$HOME/.bin/kfc/k"k # Interactive browser
k get pods # Browse pods
k ctx # Switch context
k ns # Switch namespacePress Ctrl+K to invoke kfc and append selection to command line:
kubectl logs+ Ctrl+K → select podk get deploy+ Ctrl+K → select deployment
| Key | Action |
|---|---|
Ctrl+K |
Invoke widget |
Ctrl+P |
Toggle preview |
Ctrl+E |
Edit |
Ctrl+Y |
View YAML |
Ctrl+L |
Logs |
Ctrl+F |
Port forward |
Ctrl+S |
SSH/Scale |
Ctrl+X |
Delete |
Ctrl+T |
Switch type |
Ctrl+N |
Switch namespace |