[Feature]: Support Brewlet installation and operation on Windows nodes

Aperta
#437 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
24/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go, kubernetes

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

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.

Lingua principale
Go
Stelle
60
Fork
2
Merge medio
6h 41m
PR unite (30g)
67

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/brewlet

Tutte le issue di microsoft/brewlet

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.