kubeshark: API traffic analyzer for Kubernetes


Kubeshark is an API Traffic Analyzer for Kubernetes providing real-time, protocol-level visibility into Kubernetes’ internal network, capturing and monitoring all traffic and payloads going in, out, and across containers, pods, nodes, and clusters.


Think TCPDump and Wireshark re-invented for Kubernetes

Network Analysis

Kubeshark can sniff parts or all OSI L4 (TCP and UDP) traffic in your cluster, record it into PCAP files, and dissect the following application layer protocols:

Kubeshark recognizes gRPC over HTTP/2GraphQL over HTTP/1.1, and GraphQL over HTTP/2.

Kubeshark uses extended BPF (eBPF) to trace function calls in both the kernel space and the user space.

Kubeshark can sniff the encrypted traffic (TLS) in your cluster using eBPF without actually doing decryption. In fact, it hooks into entry and exit points in certain functions inside the OpenSSL library and Go’s crypto/tls package.

Kubeshark can recognize service mesh solutions like IstioLinkerd, and other service mesh solutions that use Envoy Proxy under the hood.

Actionable Automation, Scripts & L4/L7 Hooks

With a combination of a scripting languagehookshelpers, and jobsKubeshark can detect suspicious network behaviors and trigger actions supported by the available integrations (e.g. SlackAWS S3InfluxDBElasticsearch, and more).

Install & Use

Copyright 2022 Kubeshark