Skip to content
Skillpedia
Deploy & cloud (DevOps)12k Β· #11473

install

What it does

It guides the AI through installing and configuring Kubeshark, a tool that watches network traffic in Kubernetes. It is for people who run Kubernetes clusters.

When to use it

  • βœ“When you want to install Kubeshark on a test Kubernetes cluster.
  • βœ“When you need a Helm setup with custom settings for a staging or production cluster.
  • βœ“When Kubeshark fails to install or you need to upgrade or remove it.

Skill link

https://github.com/kubeshark/kubeshark/blob/master/skills/install/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/kubeshark/kubeshark/blob/master/skills/install/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you help me install Kubeshark on my test Kubernetes cluster?”

5 new skills a week. 1 minute to read.

How it works

The AI checks the environment, chooses a quick CLI setup or a Helm setup, then installs Kubeshark and verifies the deployment.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Kubeshark Installation & Deployment

You are a Kubeshark deployment specialist. Your job is to help users install, configure, and deploy Kubeshark to their Kubernetes cluster β€” tailoring the configuration to their specific environment, requirements, and use case.

Kubeshark deploys via Helm. The CLI (kubeshark tap) is a thin wrapper that installs a basic Helm chart and establishes a port-forward β€” nothing more. For larger or production clusters, use Helm directly with a custom values file.

Decision: CLI or Helm?

Use the CLI when:

  • Quick install on a dev/test cluster (minikube, KinD, k3s)
  • Personal environment, single user
  • Just want to try Kubeshark quickly

Use Helm directly when:

  • Larger cluster (staging, production)
  • Need custom configuration (ingress, auth, storage, namespaces)
  • GitOps / infrastructure-as-code workflows
  • Team environment

Path A: CLI (Dev/Test Clusters)

Step 1 β€” Install the CLI

Check if Kubeshark is already installed:

kubeshark version

If not installed, offer one of these methods:

Homebrew (easiest, where available):

brew tap kubeshark/kubeshark
brew install kubeshark

Binary download:

For the full list of platforms and architectures, see https://docs.kubeshark.com/en/install

# Linux (amd64)
curl -Lo kubeshark https://github.com/kubeshark/kubeshark/releases/latest/download/kubeshark_linux_amd64
chmod +x kubeshark
sudo mv kubeshark /usr/local/bin/

# Linux (arm64)
curl -Lo kubeshark https://github.com/kubeshark/kubeshark/releases/latest/download/kubeshark_linux_arm64
chmod +x kubeshark
sudo mv kubeshark /usr/local/bin/

# macOS (Apple Silicon)
curl -Lo kubeshark https://github.com/kubeshark/kubeshark/releases/latest/download/kubeshark_darwin_arm64
chmod +x kubeshark
sudo mv kubeshark /usr/local/bin/

# macOS (Intel)
curl -Lo kubeshark https://github.com/kubeshark/kubeshark/releases/latest/download/kubeshark_darwin_amd64
chmod +x kubeshark
sudo mv kubeshark /usr/local/bin/

Step 2 β€” Check for Updates

Always check for updates before using the CLI. This is critical β€” Kubeshark releases frequently and running an outdated version can cause issues.

# Homebrew
brew upgrade kubeshark

# Binary β€” check the latest release and re-download if newer
kubeshark version
# Compare with https://github.com/kubeshark/kubeshark/releases/latest

Step 3 β€” Deploy with kubeshark tap

kubeshark tap

This installs the Helm chart with defaults and opens the dashboard in your browser. That's it for dev/test clusters.

Step 4 β€” Reconnect if Connection Breaks

If the port-forward drops (laptop sleep, network change, terminal closed):

kubeshark proxy

This re-establishes the port-forward and reopens the dashboard. It does not reinstall β€” Kubeshark is still running in the cluster.

Step 5 β€” Clean Up After Use

Always clean up when done. Kubeshark runs eBPF probes and DaemonSet workers on every node β€” leaving it running wastes cluster resources.

kubeshark clean

Always remind the user to run kubeshark clean when they're finished. This is easy to forget and important.

Path B: Helm (Larger / Production Clusters)

Step 1 β€” Upgrade the Helm Chart

Always update the Helm repo first. This is the most important first step β€” running an outdated chart can cause issues.

helm repo add kubeshark https://helm.kubeshark.com
helm repo update

Step 2 β€” Create a Config Directory

Store all configuration files in ~/.kubeshark/:

mkdir -p ~/.kubeshark

Before writing any file to ~/.kubeshark/, check if it already exists. If ~/.kubeshark/values.yaml (or any target filename) already exists, ask the user before overwriting. Either:

  1. Back up the existing file first: cp ~/.kubeshark/values.yaml ~/.kubeshark/values.yaml.bak.$(date +%s)
  2. Use a descriptive name for the new file (e.g., values-production.yaml, values-staging.yaml)

The user may have multiple values files for different clusters or environments.

Step 3 β€” Build the Values File

Walk through the following configuration areas with the user. Each section explains what the value does and what to recommend.

Pod Targeting (CRITICAL)

tap:
  regex: .*
  namespaces: []
  excludedNamespaces: []

This is one of the most important configuration decisions. By default, Kubeshark monitors the entire cluster's traffic. On a large cluster this is a huge und

FAQ

Should I use the CLI or Helm?

The CLI suits quick test setups, while Helm suits larger clusters that need custom settings.

Does it cover upgrades and uninstalls?

Yes, it covers upgrading, uninstalling and managing the Helm release.

Can it help when the install fails?

Yes, it covers troubleshooting installation problems.

Details

Original description by the author

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a Kubernetes cluster, set up Kubeshark, configure Kubeshark helm values, generate a Kubeshark config file, customize Kubeshark deployment, troubleshoot Kubeshark installation, upgrade Kubeshark, uninstall Kubeshark, or manage the Kubeshark Helm release. Also trigger when the user mentions "kubeshark tap", "kubeshark clean", "helm install kubeshark", "get kubeshark running", "set up traffic capture", "deploy kubeshark", "kubeshark not starting", "kubeshark pods not ready

repo: kubeshark/kubeshark

Popularity

GitHub stars
12k
Ranking position
#11473
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills