Skip to content

fix(localdns): backport exporter socket reboot fix to main (#10094) - #10201

Merged
Sylvain Boily (djsly) merged 1 commit into
mainfrom
abigailliang/backport-10094-to-main
Nov 26, 2026
Merged

Sylvain Boily (djsly) merged 1 commit into
mainfrom
abigailliang/backport-10094-to-main

Conversation

@abigailliang-aks-sig-node

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Cherry-pick #10094 from dev to main (source commit af09cdd0318766899bbcf5221b738143f103c2b8). No additional changes.

Adds FreeBind=yes to the LocalDNS exporter socket drop-in so systemd can bind before DHCP assigns the node IP after a reboot. The exporter still binds only to the node IP. Includes the original drop-in directory override and six ShellSpec regression examples.

Testing:

  • Focused ShellSpec: 6 examples, 0 failures.
  • bash -n on the changed script and spec.
  • shellcheck -S warning on the changed script; POSIX checks SC3010/SC3014 pass.
  • git diff --check passes. Both changed files are identical to the merged source commit.

Which issue(s) this PR fixes:

Backport of #10094; no separate issue.

…10094)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1b5a8171-5163-48fa-810e-1054bb3eada0
(cherry picked from commit af09cdd)
@github-actions

Copy link
Copy Markdown
Contributor

Windows Unit Test Results

  3 files   21 suites   1m 15s ⏱️
811 tests 811 ✅ 0 💤 0 ❌
838 runs  838 ✅ 0 💤 0 ❌

Results for commit a37cd17.

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
test 0% ❌
windows 27% ❌
parts_windows Package 1 74% ➖
staging_cse_windows Package 1 72% ➖
debug 0% ❌
provisioningscripts 2% ❌
Summary 40% (2073 / 7315) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
shellspec spec 30% ❌
Summary 30% (5086 / 16817) ❌

@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Health
github.com/Azure/agentbaker/aks-live-patching/pkg/status 100% ✔
github.com/Azure/agentbaker/apiserver 24% ❌
github.com/Azure/agentbaker/cmd 0% ❌
github.com/Azure/agentbaker/cmd/starter 0% ❌
github.com/Azure/agentbaker/fuzz/api 0% ❌
github.com/Azure/agentbaker/hotfix/render-nodecustomdata 35% ❌
github.com/Azure/agentbaker/pkg/agent 79% ➖
github.com/Azure/agentbaker/pkg/agent/datamodel 77% ➖
github.com/Azure/agentbaker/pkg/agent/toggles 0% ❌
github.com/Azure/agentbaker/pkg/vhdbuilder/datamodel 87% ✔
github.com/Azure/agentbaker/aks-node-controller 73% ➖
github.com/Azure/agentbaker/aks-node-controller/common 100% ✔
github.com/Azure/agentbaker/aks-node-controller/helpers 68% ➖
github.com/Azure/agentbaker/aks-node-controller/parser 88% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/gpu 100% ✔
github.com/Azure/agentbaker/aks-node-controller/pkg/nodeconfigutils 92% ✔
github.com/Azure/agentbaker/aks-node-controller/utils 0% ❌
Summary 84% (6152 / 8108) ✔

@djsly
Sylvain Boily (djsly) merged commit 6df77b9 into main Nov 26, 2026
38 checks passed
@djsly
Sylvain Boily (djsly) deleted the abigailliang/backport-10094-to-main branch November 26, 2026 19:28
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.

3 participants