Skip to content

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):

Terminal window
brew install bat curl figlet fzf kubecolor yq jq

Linux (apt):

Terminal window
apt-get install bat curl figlet fzf jq

Linux (yum):

Terminal window
yum install bat curl figlet fzf jq

For yq, consult the official installation guide.

Note: kubecolor is optional but recommended for enhanced output formatting.

Install the plugin using kubectl’s krew plugin manager:

Terminal window
kubectl krew install --manifest-url=https://github.com/kedify/kubectl-kedify/raw/main/.krew.yaml

After installation, verify it’s working:

Terminal window
kubectl kedify --version

Updating the Plugin

To update to the latest version:

Terminal window
kubectl krew uninstall kedify
kubectl krew install --manifest-url=https://github.com/kedify/kubectl-kedify/raw/main/.krew.yaml
kubectl 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