The API traffic analyzer for Kubernetes providing real-time K8s protocol-level visibility, capturing and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. Inspired by Wireshark, purposely built for Kubernetes
Go to file
Luiz Oliveira 1ccaa03fb2
🏗️ Give the user ability to set ingress as needed (#1417)
* Give the user hability to set ingress as needed

- Removed unecessary IngressClass.
- If no IngressClassName passed, use cluster's default class
- Renamed `ingressclass` with `IngressClassName`. Is the standard name
    used for it.
- Included custom annotations for Ingress. This way user can set any
    custom annotation for the ingress only.

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>

* Update helm-chart/templates/11-ingress.yaml

Co-authored-by: M. Mert Yildiran <me@mertyildiran.com>

* Update config/configStructs/tapConfig.go

Co-authored-by: M. Mert Yildiran <me@mertyildiran.com>

* Update helm-chart/templates/11-ingress.yaml

Co-authored-by: M. Mert Yildiran <me@mertyildiran.com>

* update default ingressClassName value

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>

---------

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
Co-authored-by: M. Mert Yildiran <me@mertyildiran.com>
2023-09-04 02:18:43 +03:00
.github Add a workflow for publishing Helm chart 2023-04-20 21:20:07 +03:00
cmd 🔧 Add TelemetryConfig struct and --telemetry-enabled flag to tap command 2023-08-31 03:50:14 +03:00
config 🏗️ Give the user ability to set ingress as needed (#1417) 2023-09-04 02:18:43 +03:00
debounce 🔨 Move cli folder contents into project root (#1253) 2022-11-26 01:17:50 +03:00
docker Revert " Pull the images from public ECR repositories in case of the edition is not community" 2023-01-31 00:01:43 +03:00
errormessage Revert " Rename releasenamespace field to selfnamespace" 2023-07-03 15:11:21 +03:00
helm-chart 🏗️ Give the user ability to set ingress as needed (#1417) 2023-09-04 02:18:43 +03:00
internal/connect Add export command to download PCAP export 2023-08-28 22:00:36 +03:00
kubernetes 🚀 Change Hub's and Front's resource type from Pod to Deployment (#1412) 2023-08-16 02:35:31 +03:00
manifests 🔧 Update complete.yaml 2023-09-01 04:09:57 +03:00
misc Add KUBESHARK_HELM_CHART_PATH environment variable to set a local path for the Helm chart 2023-07-03 17:15:47 +03:00
semver 🔨 Move cli folder contents into project root (#1253) 2022-11-26 01:17:50 +03:00
utils 👕 Fix the linter error 2023-08-12 03:36:01 +03:00
.gitignore Try to load the config YAML from CWD first 2023-02-05 22:36:40 +03:00
.goreleaser.yml 👷 Add GoReleaser job for automatically generating the Homebrew formulae (#1258) 2022-12-09 19:19:06 +03:00
CODE_OF_CONDUCT.md 📚 Move CODE_OF_CONDUCT.md and CONTRIBUTING.md to project root (#1251) 2022-11-25 04:37:58 +03:00
codecov.yml codecov yml for tests threshold (#214) 2021-08-15 12:19:00 +03:00
CONTRIBUTING.md 🔨 Viewer to Analyzer 2023-03-17 20:09:09 +03:00
go.mod ⬆️ Bump github.com/docker/distribution (#1399) 2023-07-30 02:57:43 +03:00
go.sum ⬆️ Bump github.com/docker/distribution (#1399) 2023-07-30 02:57:43 +03:00
kubectl.sh 🔧 Add some useful kubectl commands to Makefile 2023-04-10 01:09:34 +03:00
kubeshark.go 🐛 Have a short caller (file:line) log 2022-12-30 08:30:48 +03:00
LICENSE 📜 Update LICENSE 2022-11-30 04:50:12 +03:00
Makefile 🔧 Add port-forward-worker Makefile rule 2023-08-23 23:55:33 +03:00
README.md Update README.md (#1387) 2023-07-16 08:12:40 +03:00
RELEASE.md.TEMPLATE 📦 Rename README.md.TEMPLATE to RELEASE.md.TEMPLATE 2022-11-26 22:41:43 +03:00

Kubeshark: Traffic analyzer for Kubernetes.

GitHub Latest Release Docker pulls Image size Discord Slack

NEW: Traffic Recording and Offline Investigation, and Self-hosting with Ingress and Authentication.

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.

Simple UI

Think TCPDump and Wireshark re-invented for Kubernetes

Getting Started

Download Kubeshark's binary distribution latest release and run following one of these examples:

kubeshark tap
kubeshark tap -n sock-shop "(catalo*|front-end*)"

Running any of the ☝️ above commands will open the Web UI in your browser which streams the traffic in your Kubernetes cluster in real-time.

Homebrew

Homebrew 🍺 users can add Kubeshark formulae with:

brew tap kubeshark/kubeshark

and install Kubeshark CLI with:

brew install kubeshark

Building From Source

Clone this repository and run make command to build it. After the build is complete, the executable can be found at ./bin/kubeshark__.

Documentation

To learn more, read the documentation.

Contributing

We ❤️ pull requests! See CONTRIBUTING.md for the contribution guide.

Code of Conduct

This project is for everyone. We ask that our users and contributors take a few minutes to review our Code of Conduct.