Alon Girmonsky
b774d333e9
Add MCP server unit tests
...
Comprehensive unit tests for the MCP server implementation:
- Protocol tests (initialize, tools/list, tools/call, prompts/list, prompts/get)
- Tool tests (check_kubeshark_status, start_kubeshark, stop_kubeshark)
- Hub integration tests (tool fetching, caching, prompt handling)
- Error handling tests
- Edge case tests
2026-02-05 21:08:39 -08:00
Alon Girmonsky
1471cb2365
Fix lint errors in mcpRunner.go
...
- Use type conversion instead of struct literals for hubMCPTool -> mcpTool
and hubMCPPromptArg -> mcpPromptArg (S1016 gosimple)
- Lowercase error string to follow Go conventions (ST1005 staticcheck)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-05 21:04:32 -08:00
Alon Girmonsky
9a6c81620a
Address code review comments for MCP implementation
...
- Add 30s timeout to HTTP client to prevent hanging requests
- Add scanner.Err() check after stdin processing loop
- Close HTTP response bodies to prevent resource leaks
- Add goroutine to wait on started process to prevent zombies
- Simplify polling loop by removing ineffective context check
- Advertise check_kubeshark_status in URL mode (was callable but hidden)
- Update documentation to clarify URL mode only disables start/stop
2026-02-05 17:41:01 -08:00
Alon Girmonsky
6d46d38701
Add MCP (Model Context Protocol) server command
...
Implement `kubeshark mcp` command that runs an MCP server over stdio,
enabling AI assistants to query Kubeshark's network visibility data.
Features:
- MCP protocol implementation (JSON-RPC 2.0 over stdio)
- Dynamic tool discovery from Hub's /api/mcp endpoint
- Local cluster management tools (check_kubeshark_status, start_kubeshark, stop_kubeshark)
- --url flag for direct connection to existing Kubeshark deployment
- --kubeconfig flag for proxy mode with kubectl
- --allow-destructive flag to enable start/stop operations (safe by default)
- --list-tools flag to display available tools
- --mcp-config flag to generate MCP client configuration
- 5-minute cache TTL for Hub tools/prompts
- Prompts for common analysis tasks
2026-02-05 16:34:58 -08:00
Serhii Ponomarenko
d012ea89b6
🔨 Enable L4 flow-full dissectors ( #1831 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2026-02-05 12:14:51 -08:00
Volodymyr Stoiko
0f1c9c52ea
Add captureSelf flag to enable/disable kubeshark traffic capture ( #1829 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2026-02-04 08:49:01 -08:00
Volodymyr Stoiko
f3a0d35485
Make cloud-api-url configurable ( #1827 )
2026-02-03 10:11:43 -08:00
Volodymyr Stoiko
d6631e8565
Remove automated release to brew-core ( #1825 )
2026-01-26 17:31:47 -08:00
Alon Girmonsky
1669680d10
🔖 Bump the Helm chart version to 52.12.0
v52.12.0
2026-01-25 17:54:24 -08:00
Alon Girmonsky
19389fcba7
Bring back community license. ( #1822 )
2026-01-23 14:49:38 -08:00
Volodymyr Stoiko
1b027153e3
Increase dissector image limit ( #1823 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2026-01-21 19:52:45 -08:00
Volodymyr Stoiko
77d16e73e8
Migrate kubehq.com to kubeshark.com domain ( #1824 )
...
* Update labels
* Update kubeshark API url
* Update other domains
* comments
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2026-01-21 19:23:50 -08:00
Volodymyr Stoiko
a73c904a9b
Use console.kubeshark.com instead of kubehq ( #1821 )
2026-01-21 09:18:47 -08:00
Alon Girmonsky
8f3f136be6
Update README.md ( #1820 )
2026-01-20 17:16:02 -08:00
Alon Girmonsky
897aa44965
🔖 Bump the Helm chart version to 52.11.7
v52.11.7
2026-01-15 13:23:40 -08:00
Alon Girmonsky
57093e8a25
Updated complementary license ( #1819 )
...
* Updated complementary license
To Feb 14th.
* Update README.md
shout out
2026-01-15 13:17:15 -08:00
Volodymyr Stoiko
1fd9dffc60
Add delayed dissection controller configuration ( #1818 )
...
* Allow managing jobs in kubeshark namespaces
* Extend with dissector image
* make dissection job resources configurable
2026-01-06 11:56:53 -08:00
Alon Girmonsky
3b315eb89f
Update CONTRIBUTING.md ( #1817 )
2025-12-28 13:38:08 +02:00
Alon Girmonsky
6645e23704
🔖 Bump the Helm chart version to 52.11.0
v52.11.0
2025-12-16 11:49:37 -08:00
Alon Girmonsky
b7190162ec
In preparation for v200 ( #1815 )
...
* In preparation for v200
* updated README
* Enable raw capture
* changed 0.0.0.0 to 127.0.0.1
as 0.0.0.0 is insecure address
* added tip: kubeshark proxy
* added new TCP/UDP connection dissectors
Set API2 as the default
* increased storageLimit per worker.
* Updated makefile
* updated the complementary license
to the end of Jan 2026.
* readme touch ups
* Updated snapshot image
* updated license
removed dashboard subproject
2025-12-16 11:44:02 -08:00
Alon Girmonsky
9570b2e317
Update README.md ( #1814 )
2025-12-05 08:27:25 -08:00
Serhii Ponomarenko
b98113a2b5
🔨 Create raw-capture-enabled front env ( #1813 )
2025-12-01 16:02:19 -08:00
Alon Girmonsky
9724a0c279
🔖 Bump the Helm chart version to 52.10.3
v52.10.3
2025-11-28 17:12:22 -08:00
Alon Girmonsky
47ac96a71b
Adding a default license ( #1812 )
2025-11-28 17:06:48 -08:00
Serhii Ponomarenko
4dea643781
🚑 Use www.kubehq.com for links ( #1809 )
2025-11-26 08:14:40 -08:00
Alon Girmonsky
03a53ad6d5
🔖 Bump the Helm chart version to 52.10.0
v52.10.0
2025-11-25 11:49:50 -08:00
Alon Girmonsky
a12a5aec19
🔖 Bump the Helm chart version to 52.10.0
2025-11-25 11:40:17 -08:00
Volodymyr Stoiko
4931116881
Update kubeshark.co references ( #1807 )
2025-11-25 10:44:21 -08:00
Serhii Ponomarenko
eb9a82962f
🚑 Migrate from kubeshark.co to kubehq.com ( #1805 )
...
* 🚑 Migrate to `kubehq.com` in helm values
* 🚑 Migrate to `kubehq.com` in cloud-api-url envs
* 🚑 Migrate to `kubehq.com` in manifest label keys
* 🚑 Migrate to `kubehq.com` in `Chart.yaml`
* 🚑 Migrate to `kubehq.com` in helm-chart notes/readme
2025-11-25 10:22:51 -08:00
Alon Girmonsky
bd10e035ff
Adding Slack Support ( #1804 )
...
Adding Slack Support Channel
2025-11-25 07:50:53 -08:00
Volodymyr Stoiko
25832ce596
Make host-network in worker daemonset configurable ( #1803 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-11-24 16:43:48 -08:00
Serhii Ponomarenko
38a13d19e1
Revert " 🔨 Add -save-objects-pcaps worker command flag ( #1794 )" ( #1802 )
...
This reverts commit dcb84e0520 .
2025-11-20 08:41:32 -08:00
Volodymyr Stoiko
a7b9e09f2b
Add volume for snapshots in hub ( #1801 )
...
* Add hub snapshots volume
* Add snapshot limit into env
* fix
2025-11-17 10:45:41 -08:00
Serhii Ponomarenko
dcb84e0520
🔨 Add -save-objects-pcaps worker command flag ( #1794 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-11-07 08:14:54 -08:00
Ilya Gavrilov
773fefae21
Set default dbMaxSize to 500Mi ( #1796 )
2025-11-06 11:41:35 -08:00
Alon Girmonsky
d640128e85
🔖 Bump the Helm chart version to 52.9.0
v52.9.0
2025-10-03 16:30:55 +02:00
Alon Girmonsky
7dcacf14f2
Removed the !error && !dns and disabled support chat option by default ( #1792 )
...
* removed the !error && !dns
* removed the default "!dns && !error"
* changed support option to false
2025-10-03 16:26:50 +02:00
Volodymyr Stoiko
fabf30c039
Add note about setting license in helm notes ( #1791 )
2025-09-30 16:09:05 -07:00
Volodymyr Stoiko
e55b62491a
Add raw capture config parameters ( #1789 )
...
* Add raw capture config parameters
* upd
* upd
2025-09-30 08:26:42 -07:00
Volodymyr Stoiko
f5167cbb2a
Pass db storage size and ration to calculate for badger db ( #1788 )
...
* Pass db storage size and ration to calculate for badger db
* Use badger max db size option
2025-09-25 08:17:21 -07:00
Serhii Ponomarenko
349d8b07df
🔨 Add tap.dashboard.streamingType helm value ( #1783 )
...
* 🔨 Add `tap.dashboard.streamingType` helm value
* 🔨 Add `streamingType` to tap config
* 🔨 Adjust `REACT_APP_STREAMING_TYPE` front env value
* 🔨 Use default empty string for `streamingType` value
2025-09-02 10:43:38 -07:00
Serhii Ponomarenko
88f43b94d9
🔨 Add tap.ingress.path helm value ( #1782 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-08-26 13:01:55 -07:00
Volodymyr Stoiko
cf867fe701
Do not create hostroot volume if no tracer deployed ( #1780 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-08-26 13:01:13 -07:00
Volodymyr Stoiko
635fcabecd
Treat 0 value as 0s for dorman timeout ( #1781 )
2025-08-26 13:00:01 -07:00
Alon Girmonsky
099b79f3ce
🔖 Bump the Helm chart version to 52.8.1
v52.8.1
2025-08-12 12:57:39 -07:00
Volodymyr Stoiko
56b936b8b8
Add stopAfter option to disable capture when inactive ( #1778 )
...
* Add stopAfter option to disable capture when inactive
* Use 5m dorman
* Add capture stop after flag in hub
2025-08-12 11:23:16 -07:00
Alon Girmonsky
352484b5f6
🔖 Bump the Helm chart version to 52.8.0
v52.8.0
2025-07-28 12:45:45 -07:00
Volodymyr Stoiko
eee3030410
Add priority class configuration for Kubeshark components ( #1775 )
...
* Add priority class into templates
* upd readme
* upd
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-07-28 12:18:45 -07:00
Volodymyr Stoiko
5231546210
CVE-2025-53547: Update helm to latest ( #1774 )
...
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-07-28 12:17:53 -07:00
Serhii Ponomarenko
d845bb18a3
🔨 Add api2BetaEnabled helm value ( #1770 )
...
* 🔨 Add `api2BetaEnabled` helm value
* 🔨 Change `api2BetaEnabled` to `betaEnabled`
---------
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com >
2025-07-28 12:17:08 -07:00