-
Notifications
You must be signed in to change notification settings - Fork 201
prompt(core): add cluster health check #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Output format: ===============================================
|
2e02dc9 to
767c1db
Compare
|
I'm not really sure about this one, it seems to be quite opinionated. In https://github.com/Flux159/mcp-server-kubernetes they're implementing similar functionality via a prompt. Which doesn't seem like a bad idea. Similarly, in https://github.com/GoogleCloudPlatform/kubectl-ai (AFAIU) they're leveraging the system prompt for this purpose: https://github.com/GoogleCloudPlatform/kubectl-ai/blob/main/pkg/agent/systemprompt_template_default.txt IMO if we want to proceed with this feature we should either:
This is also a good case to test evals and see if they can be used to make a better decision on how to implement this feature. |
5fd5987 to
afb7d63
Compare
|
Hi @manusa/@matzew Updated as per suggestions. |
b7fde2e to
8b8c9e9
Compare
manusa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@ropatil010 would be you be able to rebase this PR? thanks |
6a8f524 to
17bda66
Compare
17bda66 to
7a56109
Compare
|
Hi @nader-ziada , i have rebase the PR and updated the files accordingly by using the existing function definitions. |
sorry, you will have to rebase again, but should be a small conflict this time, please see comment, thanks |
7a56109 to
8302c9f
Compare
|
thanks @ropatil010 |
|
@ropatil010 The |
|
@manusa any comments about this PR? |
|
Hi @manusa/@nader-ziada Fixed as per suggestions. Can you PTAL when ever get a chance? |
|
hi @ropatil010 everything looks good, but looks like all the refactoring going on currently makes this PR need another rebase, check Marc comment here as well: #591 (comment) I can do the rebase for you if you don't get a chance to do it. |
Signed-off-by: Rohit Patil <ropatil@redhat.com>
Signed-off-by: Rohit Patil <ropatil@redhat.com>
Signed-off-by: Rohit Patil <ropatil@redhat.com>
…ontainers#589 Signed-off-by: Rohit Patil <ropatil@redhat.com>
5dc66c5 to
c3f3217
Compare
|
Hi @nader-ziada , Thanks for reviewing. Updated the files/rebased as per the new design. Can you PTAL when ever get a chance? |
manusa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ropatil010, thanks for working on this.
In general, you can now use the standard client-sets which will make the code more resilient and readable.
Otherwise, this seems OK to go.
I'm not sure if you've attempted to provide other kinds of output besides Markdown or mixing some sturctured output within the markdown itself (e.g. resources enclosed within blocks, etc.)
I guess that at some point we can add some evals to benchmark results based on different output formats
- Remove verbose argument, add klog progress logging - Use CoreV1 clientset directly for cleaner code - Extract prompt initialization to initHealthChecks() Signed-off-by: Rohit Patil <ropatil@redhat.com>
Replace unstructured resource access with typed CoreV1 and AppsV1 clientsets for improved type safety and code clarity. Signed-off-by: Rohit Patil <ropatil@redhat.com>
0304e3f to
cea59e4
Compare
Signed-off-by: Rohit Patil <ropatil@redhat.com>
manusa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
Hi Team,
Can you PTAL on this.
PR about:
Implements comprehensive cluster health check tool that examines:
Features: