kubectl kedify plugin
The kubectl-kedify plugin provides a simple TUI-based interface for installing, managing, and troubleshooting Kedify installations.
Installation
Prerequisites
The plugin requires several dependencies to function properly:
macOS (Homebrew):
brew install bat curl figlet fzf kubecolor yq jq
Linux (apt):
apt-get install bat curl figlet fzf jq
Linux (yum):
yum install bat curl figlet fzf jq
For yq
, consult the official installation guide.
Note:
kubecolor
is optional but recommended for enhanced output formatting.
Using Krew (Recommended)
Install the plugin using kubectl’s krew plugin manager:
kubectl krew install --manifest-url=https://github.com/kedify/kubectl-kedify/raw/main/.krew.yaml
After installation, verify it’s working:
kubectl kedify --version
Updating the Plugin
To update to the latest version:
kubectl krew uninstall kedifykubectl krew install --manifest-url=https://github.com/kedify/kubectl-kedify/raw/main/.krew.yamlkubectl kedify -v
Available Commands
The plugin provides several commands for managing Kedify:
- install - Install Kedify agent with interactive configuration
- delete - Remove Kedify agent from cluster
- status - Show Kedify agent status and health
- logs - Display logs from Kedify components
- autoscale - Create HTTPScaledObject resources interactively
- debug - Low-level troubleshooting information
- insights - Analyze configurations for potential issues
- dump - Collect comprehensive diagnostic information
For detailed information about collecting diagnostic data, see Collecting Kedify Configuration.
Source Code and Documentation
- Source Code: Browse the complete source at https://github.com/kedify/kubectl-kedify
- Issues and Features: Report issues or request features at https://github.com/kedify/kubectl-kedify/issues
- Releases: Download releases from https://github.com/kedify/kubectl-kedify/releases