Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

SRodi
Copy link
Member

@SRodi SRodi commented Sep 4, 2025

This pull request adds support for the "hubble" Kubernetes tool as an optional component alongside existing tools like "helm" and "cilium". The changes update configuration, server registration logic, and tests to recognize and properly handle "hubble" as an optional tool.

Kubernetes tool support:

  • Updated the ParseFlags method in config.go to include "hubble" as an available value for the --additional-tools flag.
  • Added the hubble package import and implemented the registerHubbleComponent method in server.go to register the Hubble tool if enabled, and updated the logic that checks for enabled optional components. [1] [2] [3]

Testing and tool categorization:

  • Updated the tool categorization logic in server_test.go to recognize "hubble" as a Kubernetes tool, and adjusted test cases to include "hubble" in expected tool counts and logging. [1] [2] [3] [4] [5]

Related issue

Fixes #199

@codecov-commenter
Copy link

codecov-commenter commented Sep 4, 2025

Codecov Report

❌ Patch coverage is 68.75000% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@f22002b). Learn more about missing BASE report.
⚠️ Report is 124 commits behind head on main.

Files with missing lines Patch % Lines
internal/config/validator.go 0.00% 4 Missing ⚠️
internal/config/config.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #200   +/-   ##
=======================================
  Coverage        ?   35.57%           
=======================================
  Files           ?       61           
  Lines           ?     6291           
  Branches        ?        0           
=======================================
  Hits            ?     2238           
  Misses          ?     3958           
  Partials        ?       95           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmerr
Copy link
Member

matmerr commented Sep 4, 2025

@feiskyer exposing this up from Azure/mcp-kubernetes#52

Copy link
Member

@gossion gossion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. thank you!

@gossion gossion added this pull request to the merge queue Sep 5, 2025
Merged via the queue into Azure:main with commit 12c6f63 Sep 5, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Hubble Support to AKS MCP Additional Tools

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.