[Feature]: Support Brewlet installation and operation on Windows nodes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 24/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go, kubernetes
- Domain
- backend-api-design, devops, infrastructure
Research direction
Start with docs/installation.md and provisioner/installer_linux.go to map the Linux assumptions, then trace the operator, admission, RuntimeClass, and NodeProfile paths that determine node placement and runtime readiness. Define a Windows support matrix and execution architecture before implementation; validate the design against a real Windows Kubernetes worker node. Done means the listed acceptance criteria, including .NET OCI execution, mixed-OS placement, lifecycle, security, and operational documentation, are verified.
Written by the indexing model from the issue text.
Description
Feature request
Support installing and operating Brewlet on Kubernetes Windows worker nodes, including provisioning approved node-resident runtimes and running Windows application workloads from OCI artifacts.
A concrete initial scenario is a Windows .NET application on AKS. The goal is the same separation of application delivery from platform-managed runtime maintenance that Brewlet provides on Linux.
Current limitation
The documented node requirements are Linux, containerd 2.x, runc, cgroup v2, systemd/systemctl, and the overlayfs snapshotter (docs/installation.md). The node installer in provisioner/installer_linux.go is Linux build-tagged. Windows support therefore needs platform-specific installation and execution work, not just a Helm selector change or a cross-compiled binary.
This is distinct from #436: selecting Linux nodes for today's Linux-only Helm components prevents incorrect placement, but does not enable Windows nodes to run Brewlet workloads.
Scope and design questions
- Supported platform contract: Define the initial Windows Server, Kubernetes/AKS, containerd, CPU architecture, and Windows container isolation/version compatibility matrix. State which Brewlet components run on Windows and which may remain on Linux; document any Linux-node dependency for the control-plane Deployments.
- Installation and packaging: Provide Windows node binaries/images and a supported installation, configuration, upgrade, and removal path. Evaluate the appropriate Windows node integration, including host services or HostProcess containers where applicable, required permissions, containerd configuration, and safe restart/recovery behavior. Do not assume Linux privileged-Pod or systemd mechanisms apply.
- Runtime execution: Design and implement Windows-compatible containerd integration, evaluating the Windows runtime stack such as runhcs/hcsshim as appropriate. Define runtime/application filesystem assembly, executable and path handling, environment, process lifecycle, signals/termination, exit status, resource accounting, and logs.
- Runtime and artifact compatibility: Resolve compatible Windows runtime/application artifacts using OS, architecture, and Windows-version metadata where required. Preserve digest verification and approved-runtime selection, and reject incompatible Linux/Windows combinations with actionable errors. Demonstrate a Windows .NET runtime and application first.
- Mixed-OS placement: Make operator, admission, RuntimeClass, and NodeProfile behavior OS-aware as needed. Advertise Windows runtime readiness and ensure Pods are placed only on compatible, provisioned nodes. Preserve Linux behavior and prevent either OS from advertising incompatible capabilities.
- Security: Define Windows equivalents for workload least privilege, read-only/protected runtime access, filesystem ACLs and path confinement, and isolation between tenants and host installation state. Explicitly document any differences from Linux guarantees and require review before claiming parity.
- Lifecycle and operations: Support runtime generation pinning, rotation, rollback by publishing a new generation of a previously approved digest, safe cleanup, reboot/recovery, and replacement/autoscaled nodes. Retain meaningful readiness, status, events, metrics, and troubleshooting information.
Acceptance criteria
- A documented support matrix and architecture identify the Windows execution path, installation permissions, component placement, and any remaining Linux-node requirements.
- Released Windows node artifacts can be installed and safely removed using a supported, repeatable procedure.
- A real Windows Kubernetes worker node can provision an approved, digest-pinned .NET runtime and run a Windows .NET application OCI artifact through Brewlet without bundling the language runtime into the application artifact.
- Mixed Linux/Windows cluster coverage proves correct OS/runtime placement and clear rejection of incompatible combinations.
- Real-node tests cover workload start/stop, logs and exit status, readiness, runtime rotation and rollback, running-workload generation retention, and node reboot/replacement.
- Windows-specific security guarantees and limitations are documented and validated; the Windows path does not weaken existing Linux protections.
- Installation, operation, troubleshooting, and example workload documentation cover the supported Windows configuration, with repeatable CI/integration evidence.
Delivering the Windows node execution path is the requested capability; any implementation phases should distinguish design/cross-compilation milestones from verified Windows-node operation.
Created from a Teams conversation.
- Dominant language
- Go
- Stars
- 60
- Forks
- 2
- Avg merge
- 6h 41m
- Merged PRs (30d)
- 67
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/brewlet
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 54/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
Fix filesystem live E2E Pod arguments for Python launch compositionPossibly taken @brunoborges claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
Maintainers usually reply within 1 day
All issues in microsoft/brewlet
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
stefanpejcic/OpenPanel#1415 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
redhat-developer/mapt#997 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
status:needs-review type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Gentleman-Programming/engram#2512 ·
Maintainers usually reply within 1 day