Skip to content

fix(windows): move add kubelet failure restart code#8142

Merged
timmy-wright merged 4 commits into
mainfrom
timmy/fix-ordering
Mar 20, 2026
Merged

fix(windows): move add kubelet failure restart code#8142
timmy-wright merged 4 commits into
mainfrom
timmy/fix-ordering

Conversation

@timmy-wright

Copy link
Copy Markdown
Contributor

This code has to run after the kubelet, kubeproxy, and containerd services have been configured. Which doesn't happen until nodeprep.

Discovered this while adding comprehensive error handling to the windows provisioning scripts.

What this PR does / why we need it:

So kubelet, kubeproxy, and containerd system services start as expected.

Which issue(s) this PR fixes:

Fixes #

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

Moves the Windows service failure-action configuration to run during the cluster-integration phase (NodePrep) instead of during base image preparation (BasePrep), aligning it with when kubelet/kubeproxy services are actually created/configured.

Changes:

  • Removed Update-ServiceFailureActions from BasePrep.
  • Added Update-ServiceFailureActions to NodePrep so it runs during provisioning after NodePrep work.

Comment thread parts/windows/kuberneteswindowssetup.ps1 Outdated
Copilot AI review requested due to automatic review settings March 20, 2026 03:42

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

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

Comment thread e2e/scenario_win_test.go
Comment thread e2e/validators.go
Comment thread e2e/validators.go
@timmy-wright timmy-wright enabled auto-merge (squash) March 20, 2026 03:49
@timmy-wright timmy-wright merged commit 89a8999 into main Mar 20, 2026
29 of 31 checks passed
@timmy-wright timmy-wright deleted the timmy/fix-ordering branch March 20, 2026 05:20
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