Skip to Content

User-friendly Kubernetes logging

Kubetail is a real-time logging dashboard for Kubernetes

Key Features

Quickstart (Desktop)

First, install the Kubetail CLI tool (kubetail) via your favorite package manager:

# Homebrew brew install kubetail # Krew kubectl krew install kubetail # Snap sudo snap install kubetail # Winget winget install kubetail # Chocolatey choco install kubetail # Scoop scoop install kubetail # MacPorts sudo port install kubetail # Ubuntu/Mint (apt) add-apt-repository ppa:kubetail/kubetail apt update && apt install kubetail-cli # Fedora/CentOS-Stream/RHEL/Amazonlinux/Mageia (copr) dnf copr enable kubetail/kubetail dnf install kubetail # SUSE (zypper) zypper addrepo 'https://download.opensuse.org/repositories/home:/kubetail/$releasever/' kubetail zypper refresh && zypper install kubetail-cli # Alpine (apk) apk add kubetail --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing # Arch Linux (AUR) yay -S --noconfirm kubetail-cli # Gentoo (GURU) ACCEPT_KEYWORDS="~$(portageq envvar ARCH)" emerge dev-util/kubetail # Nix (Flake) nix profile add github:kubetail-org/kubetail-nix # Nix (Classic) nix-env -i -f https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gz # asdf asdf plugin add kubetail https://github.com/kubetail-org/asdf-kubetail.git asdf install kubetail latest

Next, start the web dashboard using the serve subcommand:

kubetail serve

This command will open http://localhost:7500/  in your default browser. You can also view logs directly in your terminal using the logs subcommand:

kubetail logs frontend:deployments/web --tail=10 --follow

Have fun tailing your logs!

Quickstart (Cluster)

First, add the Kubetail org’s chart repository, then install the “kubetail” chart:

helm repo add kubetail https://kubetail-org.github.io/helm-charts/ helm install kubetail kubetail/kubetail --namespace kubetail-system --create-namespace

For more information on how to configure the helm chart, see the chart’s values.yaml  file.

To access the web dashboard you can expose it as an ingress using the chart or you can use your usual access methods such as kubectl port-forward:

kubectl port-forward -n kubetail-system svc/kubetail-dashboard 8080:8080

Visit http://localhost:8080 

Quickstart (Docker)

The Kubetail CLI tool (kubetail) can be run inside a container using the kubetail-cli docker image available on these container registries:

* Docker Hub - docker.io/kubetail/kubetail-cli * GitHub - ghcr.io/kubetail-org/kubetail-cli

To use the CLI tool locally inside a container with docker run you need to mount your local .kube/config file into a kubetail-cli container then use normal CLI commands :

docker run --rm -it \ -v ~/.kube/config:/root/.kube/config:ro \ kubetail/kubetail-cli logs \ --kubeconfig /root/.kube/config \ -f \ deployments/my-app

You can also use the sh entrypoint to start an interactive session:

docker run --rm -it \ -v ~/.kube/config:/root/.kube/config:ro \ --entrypoint sh \ kubetail/kubetail-cli