Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)12k Β· #11473

install

Fungsinya

Skill ini memandu AI untuk memasang dan mengonfigurasi Kubeshark, alat yang memantau lalu lintas jaringan di Kubernetes. Skill ini untuk orang yang menjalankan klaster Kubernetes.

Kapan dipakai

  • βœ“Saat Anda ingin memasang Kubeshark di klaster Kubernetes uji.
  • βœ“Saat Anda memerlukan penyiapan Helm dengan pengaturan kustom untuk klaster staging atau produksi.
  • βœ“Saat Kubeshark gagal dipasang atau Anda perlu memperbarui atau menghapusnya.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/kubeshark/kubeshark/blob/master/skills/install/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda membantu saya memasang Kubeshark di klaster Kubernetes uji saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI memeriksa lingkungan, memilih penyiapan CLI yang cepat atau penyiapan Helm, lalu memasang Kubeshark dan memverifikasi deployment-nya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah saya sebaiknya memakai CLI atau Helm?

CLI cocok untuk penyiapan uji yang cepat, sedangkan Helm cocok untuk klaster yang lebih besar dan membutuhkan pengaturan kustom.

Apakah skill ini mencakup pembaruan dan penghapusan?

Ya, skill ini mencakup pembaruan, penghapusan, dan pengelolaan release Helm.

Apakah skill ini bisa membantu saat pemasangan gagal?

Ya, skill ini mencakup pemecahan masalah pada pemasangan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
12k
Peringkat
#11473
Lisensi
Apache-2.0
Diperbarui
1/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa