Skip to content

Basic Windows worker support#936

Merged
kke merged 9 commits intomainfrom
windows-worker-support
Feb 12, 2026
Merged

Basic Windows worker support#936
kke merged 9 commits intomainfrom
windows-worker-support

Conversation

@kke
Copy link
Copy Markdown
Contributor

@kke kke commented Sep 11, 2025

Fixes #60

Adds support for deploying Windows worker nodes

All direct linux command execs have been moved behind Configurers and a windows Configurer has been added that also implements the host.configurer interface.

There's a warning that the feature is experimental.

There's a version constraint that makes it error out if k0s is not 1.34+

@kke kke force-pushed the windows-worker-support branch 2 times, most recently from 050b40f to e36b2b8 Compare October 29, 2025 13:10
@kke kke changed the title [WIP] Windows worker support Experimental windows worker support Oct 29, 2025
@kke kke force-pushed the windows-worker-support branch from 66e6a23 to 76105aa Compare October 29, 2025 14:04
@kke kke marked this pull request as ready for review October 29, 2025 14:09
@kke kke changed the title Experimental windows worker support Experimental Windows worker support Oct 29, 2025
@kke kke force-pushed the windows-worker-support branch 2 times, most recently from f818c15 to eb18e2a Compare November 20, 2025 08:11
@kke
Copy link
Copy Markdown
Contributor Author

kke commented Nov 27, 2025

perhaps needs Install-WindowsFeature -Name Containers -IncludeAllSubFeature -Restart
(or something that validates Containers is installed)

@kke
Copy link
Copy Markdown
Contributor Author

kke commented Dec 5, 2025

Some features (status, reset) are still missing from k0s on windows so those need to be implemented first.

@kke kke force-pushed the windows-worker-support branch from eb18e2a to cfc1d41 Compare January 14, 2026 15:07
@kke
Copy link
Copy Markdown
Contributor Author

kke commented Jan 14, 2026

With this and bin built in k0sproject/k0s#6768 I get the two node cluster up (c+w + w).

@kke
Copy link
Copy Markdown
Contributor Author

kke commented Jan 14, 2026

Once. Not again since ServiceScriptPath is not implemented on windows so it thinks k0s is already running but not as a service.

@kke
Copy link
Copy Markdown
Contributor Author

kke commented Jan 14, 2026

That is fixed now.

k0sctl reset works too.

@kke kke force-pushed the windows-worker-support branch from a776015 to 015473f Compare January 26, 2026 11:34
kke added 2 commits January 26, 2026 14:17
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke force-pushed the windows-worker-support branch from 28e13fa to b5f8563 Compare January 26, 2026 12:17
kke added 3 commits January 27, 2026 15:05
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@twz123 twz123 force-pushed the windows-worker-support branch 2 times, most recently from f965dbb to 513291b Compare February 9, 2026 14:45
Create the install directory before uploading the temp k0s binary so
uploads don't fail when the target path doesn't exist. Add a unit test
for UploadK0s that verifies the parent directory is created and a temp
binary is written.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
@twz123 twz123 force-pushed the windows-worker-support branch from 513291b to 4b02635 Compare February 9, 2026 14:48
twz123 and others added 3 commits February 9, 2026 21:22
This is more portable and independent of the target system's default
shell. For example, PowerShell itself requires the ampersand when
invoking a quoted path as a command.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke changed the title Experimental Windows worker support Initial Windows worker support Feb 12, 2026
@kke kke changed the title Initial Windows worker support Basic Windows worker support Feb 12, 2026
@kke kke merged commit 26c8886 into main Feb 12, 2026
46 checks passed
@kke kke deleted the windows-worker-support branch February 12, 2026 11:19
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 windows target hosts

2 participants