Skip to content

(bug) dynamic Kubernetes cluster domain for MCP server URL#153

Merged
gianlucam76 merged 1 commit intoprojectsveltos:release-1.5from
gianlucam76:release-1.5
Feb 15, 2026
Merged

(bug) dynamic Kubernetes cluster domain for MCP server URL#153
gianlucam76 merged 1 commit intoprojectsveltos:release-1.5from
gianlucam76:release-1.5

Conversation

@gianlucam76
Copy link
Member

@gianlucam76 gianlucam76 commented Feb 15, 2026

Currently, the MCP server URL is hardcoded to use .cluster.local. This causes failures in environments where a custom kubernetesClusterDomain is defined.

This PR updates the logic to honor the KUBERNETES_CLUSTER_DOMAIN environment variable, ensuring the application correctly resolves the service FQDN regardless of cluster configuration.

Fixes #150

Currently, the MCP server URL is hardcoded to use `.cluster.local`.
This causes failures in environments where a custom kubernetesClusterDomain is defined.

This PR updates the logic to honor the KUBERNETES_CLUSTER_DOMAIN environment variable,
ensuring the application correctly resolves the service FQDN regardless of cluster configuration.
@gianlucam76 gianlucam76 merged commit 7672909 into projectsveltos:release-1.5 Feb 15, 2026
3 checks passed
@gianlucam76 gianlucam76 deleted the release-1.5 branch February 15, 2026 09:21
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.

1 participant