-
Notifications
You must be signed in to change notification settings - Fork 5
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
Healthcheck path for K8s #2
Comments
Hey @woojuini, if I understand this right, you could just use something like https://github.com/Flux159/mcp-server-kubernetes and run it via SSE by using Supergateway like Saw there’s also another k8s mcp available but not sure how relevant: https://github.com/TaichiHo/k8s-interactive-mcp Let me know if I answered your question. |
Thanks for Answer!! I'm not referring to the MCP that connects to the K8S. I'm talking about deploying SSE services to K8S. In addition, you need to provide a metrics endpoint to monitor the performance of the deployed app using prometheus. I made the following changes to it and used it as a local module and successfully deployed it.
then https://testdomain/metrics |
hey @woojuini , thanks for the explanation! I’d be interested in supporting k8s deployments, just wondering if you’ve seen any patterns how cli-based servers could add k8s healthchecks without adding additional bloat for people who don’t use k8s (esp since this involves installing additional package, exposing endpoints etc). I’d guess for some people these kinds of additonal exposed metadata endpoints that they don’t use might increase the security risk profile etc. Wondering if it’s possible to create an adapter or maybe even a "wrapper" for this wrapper, which adds these additional endpoints. Have you seen anything like this in the wild? |
I'm not sure if I'm understanding this correctly, but I don't think I've ever seen it. As you can see, adding modules like the one below is pretty much basic when deploying a web service in a cloud environment. If you're concerned about security with an exposed metrics endpoint '''
''' With the above setup, testdomain.com is accessible from the outside, |
Thank you for creating such a great tool.
I want to deploy SSE services to K8S using Supergateway.
Can you please provide a simple path to pass healthcheck
It would be great to add a module like the one below to expose prometheus metrics as well.
https://github.com/siimon/prom-client
The text was updated successfully, but these errors were encountered: