Installation
Install Kubeshark using one of the following methods:
- Helm: Recommended
- K8s Manifest: Use
kubectl apply
- Homebrew: Use
brew install
- Build from source: For those who prefer to build locally rather than download
- Shell script: For dev/test clusters, runs on any OS
Helm
helm repo add kubeshark https://helm.kubeshark.co
helm install kubeshark kubeshark/kubeshark
kubectl port-forward service/kubeshark-front 8899:80
# cleanup
helm uninstall kubeshark
Read the Helm section for the most up-to-date instructions.
K8s Manifest
Each release includes a complete K8s manifest that can be customized or used as is:
export TAG=v52.3.92 # as an example
kubectl apply -f https://raw.githubusercontent.com/kubeshark/kubeshark/refs/$TAG/manifests/complete.yaml
kubectl port-forward service/kubeshark-front 8899:80
# cleanup
kubectl delete -f https://raw.githubusercontent.com/kubeshark/kubeshark/refs/$TAG/manifests/complete.yaml
You can choose a tag
from: https://github.com/kubeshark/kubeshark/tags.
Homebrew
Installing Kubeshark with Homebrew is straightforward:
brew install kubeshark
kubeshark tap
# cleanup
kubeshark clean
Shell Script
To download the appropriate binary for your system:
sh <(curl -Ls https://kubeshark.co/install)
kubeshark tap
# cleanup
kubeshark clean
The actual script is here.
Alternatively, you can directly download the suitable binary from the latest release.
Build from Source
Clone the Kubeshark GitHub repository and follow the build instructions in the README:
git clone https://github.com/kubeshark/kubeshark
cd kubeshark && make
bin/kubeshark__ tap
# cleanup
bin/kubeshark__ clean
Proxy CLI Command
The kubeshark proxy
command can be used, no matter how you’ve installed Kubeshark, to establish and maintain a kube-proxy
connection.
Ingress Controller
The most recommended method to connect to the dashboard is using an Ingress Controller. It is stable, performant, and secure.
Read more in the Ingress section.