Quickstart
Installation
Section titled “Installation”The kubetail CLI Tool is the primary entrypoint for Kubetail on your desktop. To install it, you can use your favorite package manager:
Homebrew
brew install kubetailKrew
kubectl krew install kubetailMacPorts
sudo port install kubetailHomebrew
brew install kubetailKrew
kubectl krew install kubetailSnap
sudo snap install kubetailUbuntu/Mint (apt)
sudo add-apt-repository ppa:kubetail/kubetailsudo apt update && sudo apt install kubetail-cliFedora/CentOS/RHEL/Amazonlinux/Mageia (copr)
dnf copr enable kubetail/kubetaildnf install kubetailSUSE (zypper)
zypper addrepo 'https://download.opensuse.org/repositories/home:/kubetail/$releasever/' kubetailzypper refresh && zypper install kubetail-cliAlpine (apk)
apk add kubetail --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testingArch (AUR)
yay -S --noconfirm kubetail-cliGentoo (GURU)
ACCEPT_KEYWORDS="~$(portageq envvar ARCH)" emerge dev-util/kubetailNix (Flake)
nix profile add github:kubetail-org/kubetail-nixNix (Classic)
nix-env -i -f https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gzasdf
asdf plugin add kubetail https://github.com/kubetail-org/asdf-kubetail.gitasdf install kubetail latestWinget
winget install kubetailKrew
krew install kubetailChocolatey
choco install kubetailScoop
scoop install kubetailIf you prefer, you can also download it from the release binaries or use our install script:
curl -sS https://www.kubetail.com/install.sh | bashOnce installed, you’re ready to start tailing logs. The kubetail CLI tool uses your kubeconfig file for authentication so you’ll be able to access the same clusters as kubectl. See the CLI reference for a full list of commands.
-
Web Dashboard
Launch the web dashboard using the
servecommand (will open at http://localhost:7500):Terminal window kubetail serve -
Terminal
Stream logs directly in your terminal with the
logscommand:Terminal window kubetail logs -f deployments/my-app -
Configure
Create a local config file at
~/.kubetail/config.yamlusing theconfig initcommand:Terminal window kubetail config init -
Advanced Features
Install cluster-side resources using the
cluster installcommand to enable advanced features (e.g. search):Terminal window kubetail cluster install