Skip to content

[2.3] fix: use rooted FQDN for xDS cluster address#14296

Merged
puertomontt merged 1 commit into
kgateway-dev:v2.3.xfrom
puertomontt:cherry-pick-73b6acdf-v2.3.x
Jun 25, 2026
Merged

[2.3] fix: use rooted FQDN for xDS cluster address#14296
puertomontt merged 1 commit into
kgateway-dev:v2.3.xfrom
puertomontt:cherry-pick-73b6acdf-v2.3.x

Conversation

@puertomontt

@puertomontt puertomontt commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Description

Backports 73b6acd / #14291 to v2.3.x.

This uses a rooted FQDN for the default xDS service address so Envoy strict_dns resolution does not expand Kubernetes search domains on each re-resolution cycle.

Change Type

/kind fix

Changelog

Use a rooted FQDN for the default xDS service address to avoid DNS search-domain expansion during Envoy DNS resolution.

Copilot AI review requested due to automatic review settings June 23, 2026 22:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports the upstream fix to render the default xDS service address as a rooted FQDN (trailing .) so Envoy strict_dns resolution avoids Kubernetes search-domain expansion on each DNS re-resolution cycle.

Changes:

  • Normalize the default XdsServiceHost to an absolute (rooted) DNS name by ensuring exactly one trailing dot.
  • Update the deployer e2e assertion to expect the rooted FQDN in the xds_cluster socket address.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pkg/kgateway/controller/start.go Ensures the default computed xDS service FQDN is rooted by appending a single trailing dot (idempotently).
test/e2e/features/deployer/suite.go Updates e2e validation to match the rooted FQDN rendered into Envoy’s xds_cluster address.

@puertomontt
puertomontt enabled auto-merge June 23, 2026 23:00

@JCigan JCigan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@puertomontt
puertomontt added this pull request to the merge queue Jun 25, 2026
Merged via the queue into kgateway-dev:v2.3.x with commit d7a4e97 Jun 25, 2026
33 of 39 checks passed
@puertomontt
puertomontt deleted the cherry-pick-73b6acdf-v2.3.x branch June 25, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/fix Categorizes issue or PR as related to a bug. release-note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants