NE-2488: Add OpenShift router tools to NetworkEdge toolset#98
NE-2488: Add OpenShift router tools to NetworkEdge toolset#98alebedev87 wants to merge 2 commits intoopenshift:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
Should we consider having this as a part of the "openshift" toolgroup? |
899262a to
66029cc
Compare
@swghosh : That crossed my mind too. In my case "router" doesn't make much sense in Kubernetes context. However I didn't want to complicate things at this stage either. |
66029cc to
ca4989f
Compare
|
Wherever this ends up we'll likely end up using it as part of our NIDS MCP tooling. https://issues.redhat.com/browse/NE-2278 |
@bentito @alebedev87 any updates on this? or still on discussion. |
|
ca4989f to
b9d7ed9
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alebedev87 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@alebedev87: This pull request references NE-2488 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
This commit introduces new tools for inspecting OpenShift router pods through the Kubernetes MCP Server. Added tools: - get_router_config: View the router's configuration - get_router_info: Get router runtime information and statistics - get_router_sessions: View all active sessions in the router Documentation: Added NETEDGE.md covering the NetworkEdge toolset, including both router and CoreDNS tools.
Add eval tasks for the three router tools in the netedge toolset: - get-router-config: verifies HAProxy configuration retrieval - get-router-info: verifies HAProxy runtime information retrieval - get-router-sessions: verifies active sessions retrieval
b9d7ed9 to
7871a5b
Compare
|
@alebedev87: This pull request references NE-2488 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@alebedev87: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| Title: "Get Router Config", | ||
| ReadOnlyHint: ptr.To(true), | ||
| DestructiveHint: ptr.To(false), | ||
| OpenWorldHint: ptr.To(true), |
There was a problem hiding this comment.
@bentito : I used false here before but then I copied true as in get_coredns_config tool. I'm not quite sure whether it's a good decision for router configs/sessions/info. Can you please advice?
|
I've reviewed this PR in the context of the NIDS MCP strategy and found a few critical areas for improvement, particularly regarding offline analysis. Review Summary: Router Tools vs Offline StrategyContext:
1. Critical Refactoring Required: Offline CompatibilityThe current implementation of
2. Scope Clarification: "Live Only" ToolsThe tools
3. Consistency: Client UsagePR #98 uses |
This PR introduces new tools for inspecting OpenShift router pods through the Kubernetes MCP Server.
Added tools:
get_router_config: View the router's configurationget_router_info: Get router runtime information and statisticsget_router_sessions: View all active sessions in the routerDocumentation: Added
NETEDGE.mdcovering the NetworkEdge toolset, including both router and CoreDNS tools.Tests: Added evaluation tasks for the added tools.