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.Kubetail
# Chocolatey
choco install kubetail
# Scoop
scoop install kubetail
# asdf
asdf plugin add kubetail https://github.com/kubetail-org/asdf-kubetail.git
asdf install kubetail latest
# Arch Linux (AUR)
git clone https://aur.archlinux.org/kubetail-bin.git
cd kubetail-bin && makepkg -si
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!
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