Kubetail CLI
The Kubetail CLI tool (kubetail) acts as an entry point into Kubetail on your desktop. Using the CLI tool you can start/stop the Kubetail Dashboard and perform other Kubetail-related operations on your cluster.
Install/Upgrade
Package Managers
macOS
Homebrew
To install kubetail with homebrew use this command:
brew install kubetailBy default homebrew will place the executable in a directory that’s already in to your path.
To upgrade kubetail just upgrade the package through homebrew:
brew update
brew upgradeMacPorts
To install kubetail with MacPorts use this command:
sudo port install kubetailTo upgrade kubetail just upgrade the package through MacPorts:
sudo port upgrade kubetailLinux
Ubuntu/Mint (apt)
To install kubetail from the Kubetail PPA on Ubuntu Launchpad, first install the add-apt-repository tool if you haven’t already:
sudo apt update
sudo apt install software-properties-commonThen install kubetail:
sudo add-apt-repository ppa:kubetail/kubetail
sudo apt update
sudo apt install kubetail-cliTo upgrade kubetail just upgrade the package through apt:
sudo apt update
sudo apt upgrade kubetail-cliArch Linux (AUR)
With AUR helper (recommended)
If you use an AUR helper like yay or paru , install kubetail from Arch Linux AUR with:
# yay
yay -S kubetail-cli
# paru
paru -S kubetail-cliTo upgrade kubetail just upgrade the package through your AUR helper:
# yay
yay -Syu kubetail-cli
# paru
paru -Syu kubetail-cliWithout AUR helper
To install kubetail manually from AUR:
git clone https://aur.archlinux.org/kubetail-cli.git
cd kubetail-cli && makepkg -siTo upgrade kubetail manually, repeat the process:
cd kubetail-cli
git pull
makepkg -siFedora/RHEL/CentOS (copr)
To install kubetail on Fedora/CentOS-Stream/RHEL (also Amazonlinux and Magea) with copr use this command:
dnf copr enable kubetail/kubetail
dnf install kubetailTo upgrade kubetail just upgrade the package through dnf:
dnf upgrade kubetailSUSE (zypper)
To install kubetail with openSUSE zypper use these commands:
zypper addrepo 'https://download.opensuse.org/repositories/home:/kubetail/$releasever/' kubetail
zypper refresh && zypper install kubetail-cliTo upgrade kubetail just upgrade the package through zypper:
zypper refresh
zypper update kubetail-cliGentoo (GURU)
To install kubetail from the Gentoo GURU repository, first enable the GURU overlay if you haven’t already:
emerge --ask app-eselect/eselect-repository
eselect repository enable guru
emerge --sync guruThen install kubetail:
ACCEPT_KEYWORDS="~$(portageq envvar ARCH)" emerge dev-util/kubetailTo upgrade kubetail just sync and upgrade the package through emerge:
emerge --sync
ACCEPT_KEYWORDS="~$(portageq envvar ARCH)" emerge --update dev-util/kubetailWindows
Winget
To install kubetail with WinGet use this command:
winget install kubetailTo upgrade kubetail just upgrade the package through WinGet:
winget upgrade kubetailChocolatey
To install kubetail with Chocolatey use this command:
choco install kubetailTo upgrade kubetail just upgrade the package through Chocolatey:
choco upgrade kubetailScoop
To install kubetail with Scoop use this command:
scoop install kubetailTo upgrade kubetail just upgrade the package through Scoop:
scoop update kubetailCross-Platform
Krew
To install kubetail with krew use this command:
kubectl krew install kubetailTo upgrade kubetail just upgrade the plugin through krew:
kubectl krew upgrade kubetailSnap
To install kubetail with snap you can use the Snap Store or this CLI command:
sudo snap install kubetailTo upgrade kubetail just refresh the snap package:
sudo snap refresh kubetailNix (Flake)
To install kubetail via a nix flake use this command:
nix profile add github:kubetail-org/kubetail-nixTo upgrade kubetail just upgrade the profile:
nix profile upgrade kubetailNix (Classic)
To install kubetail with nix classic use this command:
nix-env -i -f https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gzTo upgrade kubetail just upgrade the package through nix-env:
nix-env -u kubetailasdf
To install kubetail with asdf use this command:
asdf plugin add kubetail https://github.com/kubetail-org/asdf-kubetail.git
asdf install kubetail latestTo upgrade kubetail install the latest version and set it as global:
asdf install kubetail latestShell script
To install kubetail with a shell script you can run this command:
curl -sS https://www.kubetail.com/install.sh | bashThis will download our install.sh script and run it in one step. The script will automatically detect your OS/Arch, download the appropriate binary file and place it in your /usr/local/bin/ directory.
To upgrade kubetail just run the command again when a new version is available:
curl -sS https://www.kubetail.com/install.sh | bashDownload Binary
First, download the binary for your OS/Arch (from the latest release binaries ):
Next, rename the file and make it executable:
mv <filename> kubetail
chmod a+x kubetailTo upgrade kubetail just repeat the steps above when a new version is available.
Next Steps
To see the top-level commands just run kubetail:
kubetailTo start the Kubetail Dashboard use the serve sub-command:
kubetail serveThis command will start the dashboard server in your terminal and open http://localhost:7500/ in your default browser.
To view your Kubernetes logs use the logs sub-command:
kubetail logsTo enable advanced functionality in the dashboard, you can install the Kubetail cluster resources (e.g. Cluster API, Cluster Agent) using this command:
kubetail cluster install