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

Đang mở
#437 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
24/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
60
Fork
2
Merge trung bình
6 giờ 41 phút
Pull request đã merge (30 ngày)
67

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/brewlet

Tất cả issue của microsoft/brewlet

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.