Skip to content

Conversation

miladosos
Copy link

This enables easier ingress deployment by allowing all endpoints to be prefixed with a configurable path. Addresses path-based routing challenges in Kubernetes deployments.

  • Add MCP_PATH_PREFIX environment variable to config
  • Update all HTTP endpoints to use configurable prefix
  • Configure SSE server with static base path when prefix is set
  • Maintain backward compatibility when prefix is not set

Fixes #14

@miladosos miladosos requested a review from Amper as a code owner August 9, 2025 14:08
This enables easier ingress deployment by allowing all endpoints
to be prefixed with a configurable path. Addresses path-based
routing challenges in Kubernetes deployments.

- Add MCP_PATH_PREFIX environment variable to config
- Update all HTTP endpoints to use configurable prefix
- Configure SSE server with static base path when prefix is set
- Maintain backward compatibility when prefix is not set

Fixes VictoriaMetrics-Community#14
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 support for configurable path prefix to enable ingress deployment
1 participant