Installation

Installing the kubectl-kueue plugin, kueuectl.

Installing via Krew

kubectl krew install kueue

Installing From Release Binaries

1. Download the latest release:

On Linux:

curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.10.0/kubectl-kueue-linux-amd64
curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.10.0/kubectl-kueue-linux-arm64

On Mac:

curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.10.0/kubectl-kueue-darwin-amd64
curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.10.0/kubectl-kueue-darwin-arm64

2. Make the kubectl-kueue binary executable.

chmod +x ./kubectl-kueue

3. Move the kubectl binary to a file location on your system PATH.

sudo mv ./kubectl-kueue /usr/local/bin/kubectl-kueue

Installing From Source

make kueuectl
sudo mv ./bin/kubectl-kueue /usr/local/bin/kubectl-kueue

Kueuectl

Additionally, you can create an alias kueuectl to allow shorter syntax.

echo 'alias kueuectl="kubectl kueue"' >> ~/.bashrc
echo 'alias kueuectl="kubectl kueue"' >> ~/.zshrc

Autocompletion

echo '[[ $commands[kubectl-kueue] ]] && source <(kubectl-kueue completion bash)' >> ~/.bashrc
echo '[[ $commands[kubectl-kueue] ]] && source <(kubectl-kueue completion zsh)' >> ~/.zshrc
cat <<EOF >kubectl_complete-kueue
#!/usr/bin/env sh

# Call the __complete command passing it all arguments
kubectl kueue __complete "\$@"
EOF

chmod u+x kubectl_complete-kueue
sudo mv kubectl_complete-kueue /usr/local/bin/kubectl_complete-kueue