Install
To run Kubetail inside your Kubernetes cluster, you can install the application and its required resources using tools such as Helm, Glasskube, or do it manually with YAML manifests.
Helm
To install Kubetail using helm , 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-namespaceFor more information on how to configure the helm chart see the chart’s values.yaml file. To verify that the installation worked, you can inspect the application’s pods:
kubectl get pods -n kubetail-systemYAML Manifest
For cluster-based authentication use kubetail-clusterauth.yaml :
kubectl apply -f https://github.com/kubetail-org/helm-charts/releases/latest/download/kubetail-clusterauth.yamlFor token-based authentication use kubetail-tokenauth.yaml :
kubectl apply -f https://github.com/kubetail-org/helm-charts/releases/latest/download/kubetail-tokenauth.yamlTo verify that the installation worked, you can inspect the application’s pods:
kubectl get pods -n kubetail-systemGlasskube
To install Kubetail using Glasskube , you can select “Kubetail” from the “ClusterPackages” tab in the Glasskube GUI then click “install” or you can run the following command:
glasskube install kubetailOnce Kubetail is installed you can use it by clicking “open” in the Glasskube GUI or by using the open command:
glasskube open kubetailMinikube
As of minikube v1.36.0, you can install Kubetail as an addon:
minikube addons enable kubetailOnce the Kubetail pods are running in the cluster you can access it via a service:
minikube service -n kubetail-system kubetail-dashboardNext Steps
Once Kubetail is running inside your cluster, you can access it using your usual access methods such as kubectl proxy or kubectl port-forward:
-
kubectl proxykubectl proxyVisit http://localhost:8001/api/v1/namespaces/kubetail-system/services/kubetail-dashboard:8080/proxy/
-
kubectl port-forwardkubectl port-forward -n kubetail-system svc/kubetail-dashboard 8080:8080Visit http://localhost:8080
To make the Kubetail web dashboard easier to access you can also expose it using a service or an ingress.
For more information about the Kubetail Dashboard, check out the documentation here.