Running Windows Server nodes in Kubernetes: when teams need them
Teams usually reach for Windows worker nodes in Kubernetes when they have legacy .NET Framework applications, Windows-only services or line-of-business tools that cannot be moved to Linux without a rewrite, and that still need to sit alongside Linux workloads on one platform. Kubernetes supports this model: the control plane components run on Linux, and Windows Server machines join the cluster as worker nodes that run the kubelet and a Windows-compatible container runtime. The practical question is not whether Kubernetes can schedule Windows containers, but whether your applications, your operating system lifecycle and your team's skills justify a mixed-OS cluster instead of keeping Windows workloads on separate virtual machines.
Before committing, confirm three things with your own environment and the vendor documentation. First, confirm which Windows Server versions and container runtimes your target Kubernetes release supports, using the Windows versions documentation in the Kubernetes docs, rather than assuming a version from an older blog post. Second, list every workload that must run on Windows and check whether it needs kernel features, drivers, Active Directory access or privileged host access, because those needs change both the node design and the security review. Third, decide who owns Windows node patching and image builds, since Windows nodes follow a different update and servicing cadence from your Linux nodes and need their own maintenance window.
Plan for mixed-OS scheduling from the start. Windows pods must target Windows nodes through node selectors or affinity rules, typically using the kubernetes.io/os label, and Linux-only DaemonSets such as CNI agents, log shippers and monitoring exporters must be restricted so they do not land on Windows nodes. Also plan for node-level privilege. Many Linux-style hardening patterns, including privileged containers and host namespace access, do not carry over to Windows, so the security model for Windows workloads depends on HostProcess containers and different Pod Security settings, which the sections below cover in detail.
What Windows nodes can and cannot do in a Linux-led cluster
A Windows node joins a Kubernetes cluster as a worker, while the control plane and most platform components stay on Linux. The cards below set the boundaries you need to confirm before planning workloads, images and networking around Windows.
Linux control plane is required
The control plane, including kube-apiserver, kube-controller-manager, kube-scheduler and etcd, runs on Linux nodes. Windows nodes never host these components, so you need a Linux node pool sized and hardened for the control plane before any Windows worker joins. Confirm the exact Linux requirements for the version you plan to run in the Kubernetes documentation for Windows nodes.
Kubernetes releasesWindows nodes are workers only
Windows nodes run application pods and nothing else in the control plane role. Cluster-wide add-ons such as the CNI node agent, storage and monitoring agents often have separate Windows builds or are unavailable, so each one must be checked before it is scheduled. Plan which system components run as DaemonSets on Windows and which stay on Linux, and label and taint nodes so Linux-only workloads never land on Windows.
Container runtime expectations
Windows nodes need a container runtime that supports Windows containers, and the runtime version must match the node's Windows build. Mismatched container and OS builds cause pods to fail to start, so the image base and host build need to line up. Ask the runtime vendor which Windows Server builds and containerd or Docker Engine versions they support before you commit to an image strategy.
Supported Windows Server versions
Kubernetes supports only specific Windows Server releases as worker nodes, and the supported list changes with each Kubernetes release. Pick the Windows Server version against the compatibility table in the documentation for your target Kubernetes minor version, not an older cluster's list. Confirm the support window for each Windows release, because a node OS that falls out of support blocks upgrades and forces a rebuild.
Version skew policyNetworking plugin compatibility
Not every CNI plugin supports Windows nodes, and those that do differ in overlay modes, network policy enforcement and load balancing behavior. Choose the CNI plugin first, then verify that its Windows data plane supports the pod networking, service routing and NetworkPolicy features your workloads depend on. Test pod-to-pod traffic across Linux and Windows nodes in a staging cluster before production rollout.
Linux-only features may not apply
Several pod fields, security settings and kernel features assume Linux and are ignored or rejected on Windows. Privileged pods do not carry over, and Windows uses HostProcess containers for node-level work. Audit manifests, Helm charts and admission policies for Linux-specific settings such as seccomp, AppArmor and user namespaces, and confirm which fields Windows ignores before you apply them to mixed clusters.
Which Windows node pattern fits which workload
A mixed cluster runs Linux and Windows worker nodes under one control plane, so teams keep a single API, one set of cluster add-ons and one delivery pipeline. The Linux control plane stays where it is, and Windows nodes join as workers. This fits when Windows workloads are a small part of the estate and the platform team already operates Kubernetes well. The cost is that every cluster add-on, network component and storage driver must be checked for Windows support, and each Windows workload must be placed on Windows nodes deliberately.
- Shared operations: one API server, one upgrade cycle and one set of monitoring and access rules cover both operating systems.
- Scheduling discipline: Windows and Linux pods need node selectors or affinity rules, or the scheduler may place them on the wrong operating system.
- Add-on compatibility: CNI plugins, CSI drivers, logging agents and ingress controllers each need a Windows build or a documented Windows mode.
- Shared blast radius: a Windows node problem affects the same cluster and its shared components, so plan change windows and monitoring with that in mind.
Check each add-on's Windows support statement and the Windows node versions your Kubernetes version supports before you design around a mixed cluster.
A dedicated pool keeps Windows nodes in their own group, labeled by operating system and tainted so general Linux workloads stay off them. Windows workloads opt in with tolerations and node selectors. This suits organizations that run line-of-business .NET or IIS applications, or that want Windows patching and drains on a schedule separate from Linux work. The trade-off is more node groups to size, patch and monitor, plus a rule set that every application team must follow.
- Taints and tolerations: a taint on Windows nodes keeps Linux pods away, and only Windows workloads carrying the matching toleration land there.
- Node selectors: the operating system label on each node lets manifests target Windows explicitly.
- Separate maintenance: the pool can have its own patch and drain schedule that follows Windows update cycles.
- Capacity planning: an undersized Windows pool leaves pods pending, so size it for peak load independently of the Linux pools.
- Admission rules: policies can reject Windows pods that lack the expected selector or toleration, so mistakes surface at deploy time.
Confirm the label and taint keys your distribution applies to Windows nodes, then test that a Linux pod stays off the pool.
Node-level agents such as monitoring collectors, security sensors and host configuration tools often need access to the node itself. The Linux habit of running these as privileged pods does not carry over to Windows, so the Windows pattern is HostProcess containers. These run processes directly on the host, using the node's network and a host-level identity, which fits agents that must read node state or manage host settings. They are not a sandbox, so treat them as trusted host software and control who can create them.
- Host access: HostProcess containers reach node resources that a normal container cannot, which is the reason agents use them.
- Trust boundary: anyone who can create a HostProcess workload can affect the node, so restrict creation through RBAC and admission rules.
- Image and rollout control: agent images need signing, scanning and a staged rollout, because a faulty agent reaches every node it runs on.
- Pod Security Standards: confirm how the Pod Security Standards levels treat HostProcess settings in your version, since stricter levels restrict host access fields.
Check that your agent vendor supports HostProcess, then confirm the exact pod fields and namespace labels your cluster version expects.
Why HostProcess containers replace privileged pods on Windows
On Linux, node agents such as monitoring collectors, CNI plugins and storage drivers often run as privileged containers that reach into the host kernel and filesystem. Windows has no equivalent of that model. A Windows container shares the host kernel only in a narrow sense and cannot simply be granted host privileges, so the pattern many Linux manifests assume does not carry over. For node-level agents on Windows, the supported replacement is a HostProcess container, which runs its process directly in the host network and process context with access to host resources. Plan for this difference before you port any DaemonSet, because a manifest that sets privileged: true will not produce a working Windows agent.
The security trade-off is the core decision. A HostProcess container is not isolated from the node the way a normal container is, so a compromised agent has host-level reach. That makes the choice of which agents may run this way a governance question, not just a technical one. Monitoring agents, CNI components, and storage drivers are the usual candidates because they need host networking, host interfaces or access to volumes that ordinary pods cannot see. Each should be reviewed individually, with its image source, the service account it uses, and the host paths or network access it requests written down before deployment.
Pod Security Standards describe how Kubernetes classifies host access. The Privileged level allows it, Baseline restricts host namespaces, host ports and most host path access, and Restricted goes further. Pod Security Admission enforces these levels per namespace, so the practical control is to keep application namespaces at Baseline or Restricted and place HostProcess agents in a dedicated, tightly controlled namespace. Confirm with your Windows agent vendors how their pods are classified under these levels, and check the current Pod Security Standards documentation before you write namespace labels, since the exact admission behavior for HostProcess pods is the detail to verify in your own cluster.
Pod fields Windows does not support and what to use instead
This table lists common Linux-only pod settings that Windows nodes ignore or reject, and the Windows-appropriate action for each. Read each row as a porting checklist: find the field in your manifests, then apply the alternative before scheduling Windows pods. Confirm the current list against the Windows pod compatibility documentation for your Kubernetes version before relying on it.
| Pod setting | Why it does not apply on Windows | What to use instead or do |
|---|---|---|
| securityContext.runAsUser and runAsGroup | Windows does not use Linux UIDs and GIDs for process identity, so numeric user settings are not enforced the same way. | Set the container user by name with windowsOptions.runAsUserName, or use the image's default Windows account and confirm it in testing. |
| securityContext.runAsNonRoot | The check depends on Linux UID 0 semantics and does not map to Windows accounts. | Choose a non-administrator Windows account in the image and verify the process cannot write to protected paths. |
| seccompProfile and seccomp annotations | Seccomp is a Linux kernel filter and has no Windows equivalent. | Remove the field. Use Windows access control lists, least-privilege service accounts and image hardening instead. |
| appArmorProfile and AppArmor annotations | AppArmor is a Linux Security Module and is not available on Windows nodes. | Remove the field. Rely on Windows ACLs, Windows Defender Application Control where your policy requires it, and Pod Security Admission rules that still apply to Windows pods. |
| sysctls | Kernel parameters under /proc/sys are Linux-specific, so most sysctl settings have no Windows counterpart. | Move tuning to node configuration or the application's own settings, and document each value that was previously set. |
| hostNetwork: true and host network assumptions | Host networking on Windows is limited and workloads that assume Linux host namespaces or host interfaces often fail. | Expose the service through a Service or Ingress. Confirm host networking support for your Windows version before any design depends on it. |
| privileged: true | Privileged Linux containers are not supported for Windows pods in the same way, and the common Linux privileged pattern does not carry over. | Use HostProcess containers for node-level tasks, which run on the host with a restricted scope, and keep them out of general application namespaces. |
| hostPID, hostIPC and Linux capabilities (capabilities.add) | Linux namespaces and capability sets have no direct Windows equivalent. | Remove the settings. Replace node-level access with HostProcess containers or a dedicated Linux node for those workloads. |
How to add Windows nodes to a self-managed cluster
This sequence takes a self-managed Linux cluster and adds Windows Server worker nodes that can schedule Windows containers, with each step closed by a check so problems surface before the next layer is built.
Confirm the Linux control plane and version skew
Start by checking the existing control plane: confirm that the kube-apiserver version is the one you intend to run, and that kube-controller-manager, kube-scheduler and the existing Linux kubelets fall within the version skew policy. The policy requires kube-apiserver to be upgraded one minor version at a time and allows kubelets to be up to three minor versions older than kube-apiserver. Confirm that the control plane is highly available if production workloads depend on it. Check: run kubectl version and kubectl get nodes, record every component version, and confirm all existing nodes report Ready before you touch the Windows side. If any Linux component is outside the skew policy, upgrade it first, because adding Windows nodes to a cluster that is already out of policy compounds the risk.
Choose the Windows Server version and container runtime
Decide which Windows Server release your workloads need and which container runtime the Windows nodes will use. Windows container images must match the host build, so the node OS version and the base images in your registry have to line up. Confirm with your distribution's documentation which Windows Server versions and runtimes it supports, and confirm which Windows-compatible CNI your networking choice supports. Also decide whether these nodes need HostProcess containers for privileged node tasks, since that choice affects which workloads run on them. Check: write down the Windows Server build, the runtime version, the CNI and the matching base image tags, and confirm that a test image pulls and runs on a staging Windows host of that exact build.
Prepare the Windows node features and runtime
On each Windows Server host, enable the Windows container features and install the chosen container runtime, then configure the host network and time sync to match the cluster. Install the kubelet and kube-proxy binaries at the version that matches the cluster's skew allowance, and prepare the directories and service definitions your distribution expects. Set up outbound access to your private registry, because a cluster without internet access needs the Windows images and binaries mirrored in advance. Check: confirm the container runtime reports healthy, run a plain Windows container locally to confirm the host can start one, and confirm the host can reach the API server endpoint on port 6443 through your load balancer.
Configure kubelet and kube-proxy on the Windows host
Set the kubelet and kube-proxy configuration for Windows, including the node's cluster DNS address, the API server endpoint, the container runtime endpoint and the network mode your CNI requires. Use the Windows-specific configuration values from your distribution or from the Kubernetes documentation for the version you run, and do not reuse Linux unit files. Store join credentials securely and avoid writing bootstrap tokens into shared automation logs. Check: start the kubelet and kube-proxy services, and confirm they stay running for several minutes without restart loops in the Windows event logs.
Join the Windows node to the cluster
Join the host using kubeadm or the join mechanism of your chosen distribution, pointing it at the API server load balancer and passing the cluster's discovery information. Where the distribution provides Windows join steps, follow them rather than improvising a kubeadm flow that the distribution does not support. Label the node with its operating system and build so scheduling rules can target it later. Check: run kubectl get nodes -o wide and confirm the Windows node appears, shows its OS image and container runtime, and reaches Ready. If it stays NotReady, the usual cause is the CNI, which the next step addresses.
Install the Windows-compatible CNI
Install the CNI plugin your networking design selected, using the version that supports Windows nodes. Linux and Windows nodes often need separate DaemonSets or configuration sections, and pod networking on Windows depends on the host network mode and the overlay or routed design you chose. Confirm the CNI assigns pod addresses on the Windows node and that pods on Linux and Windows can reach each other if your design requires it. Check: the CNI pods run on the Windows node, the node stays Ready, and a pod on the Windows host receives an address from the expected range and can resolve cluster DNS.
Apply taints, labels and node selectors
Taint the Windows nodes so Linux workloads do not schedule onto them by accident, and set node selectors or affinity rules on Windows workloads so they land only on Windows hosts. Also make sure system DaemonSets that have Linux-only images are restricted to Linux nodes. Document the taint key and value, because every application team needs it to target Windows. Check: deploy a test Linux pod and confirm it stays off the Windows node, then confirm the taint and label appear on the node in kubectl describe node output.
Verify scheduling with a Windows test workload
Deploy a small Windows test workload that uses an image matching the host build, with the Windows node selector and toleration, and confirm it reaches Running on the Windows node. Check that it resolves cluster DNS, can reach a Linux service over the cluster network if your design requires that, and that its logs are visible to your monitoring stack. Remove the test workload afterward, keep the manifest in version control, and record the final versions of the node, runtime, CNI and images as the baseline for future upgrades. Check: kubectl get pods -o wide shows the test pod Running on the Windows node, and the test logs return output as expected.
How Linux control plane and Windows workers fit together
The diagram starts with an operator's kubectl request entering a TCP load balancer in front of kube-apiserver on the Linux control plane. The API server stores cluster state in etcd and sends pod specifications to both the Linux and Windows kubelets. The Windows worker runs HostProcess agents for node-level tasks, so that work does not depend on a privileged container. Both worker types share a CNI plugin for pod networking and pull images from a private registry. Check that the CNI plugin supports Windows nodes, that Windows nodes can reach the load balancer, and that the registry holds the Windows images you need.
Trust zones for Linux control plane, Linux workers and Windows workers.
Security and operations to plan for mixed clusters
A mixed cluster gives Windows workloads the same API as Linux workloads, but the security and operations work underneath is different. The cards below cover the controls that need separate design: who can run privileged Windows code, where images come from, how patching is scheduled, and what telemetry you can see.
RBAC for node agents
Windows node agents such as the kubelet, log shippers and monitoring exporters need service accounts and RBAC bindings scoped to what they actually read and write. Review any ClusterRole that grants broad access to nodes, pods or secrets, because a compromised agent on a Windows node can reach the same API paths as on Linux. Check that each DaemonSet for Windows uses its own service account and that bindings are reviewed whenever a new agent is added.
Kubernetes authenticationImage sourcing for Windows base images
Windows containers must match the Windows Server build of the host node, so base images need to be pinned to a specific version and sourced from a registry you control. Confirm which base image tags your Windows Server versions require and mirror them into your private registry before nodes are added. Scan and sign these images on the same schedule as Linux images, and ask your registry team who owns the rebuild when a Windows base image is updated.
Patching separate from Linux
Windows nodes are patched on their own operating system cadence, which rarely lines up with Linux node maintenance or with Kubernetes minor version upgrades. Plan separate maintenance windows, drain Windows nodes with pod disruption budgets in place, and confirm with your Windows Server vendor which cumulative updates your Kubernetes version supports. Record the Windows build on every node so that patch state is visible from the cluster.
Pod Security Admission labels
Pod Security Admission applies the Privileged, Baseline or Restricted standard per namespace, and Windows workloads often need settings that a stricter level rejects. Decide which namespaces host Windows pods, set the enforce, audit and warn labels deliberately, and test each label change on a non-production cluster first. Avoid labelling Windows namespaces as Privileged by default, since that removes admission checks for every pod placed there.
Pod Security StandardsHostProcess privilege review
HostProcess containers run Windows workloads directly on the host with elevated access, so they are the Windows counterpart to privileged Linux pods. Keep an inventory of every HostProcess workload, its purpose and the identity it runs under, and approve each one through change control. Ask the vendor of any HostProcess component which host resources it touches and whether it can be replaced by an unprivileged pod.
Logging and monitoring coverage
Standard Linux dashboards and log collectors do not automatically cover Windows nodes, so events and metrics can disappear without an alert. Confirm that your metrics exporter and log agent publish Windows node and container data, and that audit events from Windows workloads reach the same store as Linux events. Test the coverage by stopping a Windows node agent and checking that an alert fires.
Questions teams ask before running Windows nodes
What drives the cost of running Windows nodes in Kubernetes?
Cost depends mostly on the design and testing labor, the Windows Server licensing you hold or must buy, and how many Windows nodes and workload types you need to support. You pay Microsoft or your agreement holder for licenses, your hypervisor or cloud provider for capacity, and a partner or your own staff for the build. Professional services are quoted from a written scope that usually covers the node image build, networking and identity integration, testing of each Windows workload and handover documentation. Recurring costs include Windows patching, image rebuilds each cycle, monitoring and on-call time. To compare quotes, ask which items are one-time and which recur, which Windows versions are covered and how many applications are tested. DeployOpen does not publish prices, and a quote follows from the written scope.
How long does a Windows node implementation usually take?
The timeline depends on how many Windows workload types you run, how much your network and identity setup must change, and how mature your image pipeline is. Each Windows application usually needs its own compatibility and behavior check, so the number of applications often matters more than the number of nodes. Delays commonly come from waiting on approvals for Windows images, licensing decisions, firewall changes and directory integration owned by other teams. A pilot in a lab should precede production. DeployOpen agrees timelines in writing before work starts for most engagements, so ask for milestones tied to deliverables: a working pilot node, a tested workload list, a documented upgrade procedure and an agreed production cutover window.
What does our team need to provide before a Windows node project starts?
Before work starts, your team provides the inputs that only you can supply, mainly licensing, approved images, network design and access to identity systems. Confirm each item with your Microsoft agreement holder, security team and network team early:
- Windows Server licensing and activation method, confirmed against your agreement
- Windows images or build inputs your security team has approved
- Network ranges, routing, CNI support for Windows and the firewall change process
- Identity settings for workload authentication and administrator access
- An inventory of Windows applications with test data and an owner for each one
Ask the implementation partner to list these inputs in the written scope so that gaps are found before the build, not during cutover.
Can our in-house platform team run Windows nodes without a partner?
Yes, an in-house team can run Windows nodes if it already operates Linux Kubernetes nodes and has Windows administration skills. The usual gaps are Windows-specific: building and patching node images, checking Windows container compatibility, confirming the networking plugin supports Windows, and troubleshooting on Windows nodes with Windows event logs. Before deciding, answer these questions: Who patches Windows images on a schedule? Who tests each application on new builds? Who owns the nodes after go-live? If the answers are partial, a partner can handle the first build and knowledge transfer while your team takes over day-to-day operations. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your infrastructure, so knowledge transfer can be written into the scope.
Do Windows workloads always need HostProcess containers?
No. HostProcess containers are the Windows mechanism for components that need host-level access, such as node agents, log collectors and some networking or storage components. Ordinary Windows application pods do not need host access and should not be granted it. Host access matters because a compromised pod with host rights can affect the whole node. Check which Windows components your distribution and CNI plugin install, since those vendors decide whether HostProcess is required for them. Confirm in the documentation for your Kubernetes version which pod fields Windows does not support. Enforce the boundary with Pod Security Admission, which applies the Pod Security Standards per namespace, and test that the policy blocks the access you intend to prevent.
How do Windows node upgrades differ from Linux node upgrades?
Windows node upgrades usually mean draining each node, replacing it with a rebuilt image and then verifying the applications, since the operating system and image lifecycle differ from the Linux nodes. The Kubernetes version rules still apply: the version skew policy requires kube-apiserver to be upgraded one minor version at a time, before kube-controller-manager, kube-scheduler and kubelets, and kubelets may be up to three minor versions older than kube-apiserver. Within that window, confirm the Windows Server and container runtime combination your distribution supports for each target version. Test every Windows application on the new image in a pilot node before cutover, and keep the previous image available for rollback.
Which problems appear most often when Windows nodes join a Linux cluster?
The most common problems are networking mismatches, pod fields that Windows does not support, and secrets handling. Pods may fail to schedule or reach services when the CNI plugin's Windows support differs from the Linux configuration. Manifests written for Linux can include fields that Windows rejects, so review them before deployment. Secrets are stored unencrypted in etcd by default, so configure encryption at rest and restrict list and watch access with least-privilege RBAC, which applies to Windows workloads too. In air-gapped environments, image pulls can fail when Windows images are missing from the private registry. Build a test suite that covers scheduling, service discovery, secrets access and image pulls before any production workload moves.
How DeployOpen scopes and delivers Windows node work
DeployOpen plans and implements self-hosted Kubernetes inside your own infrastructure, including the Windows worker nodes that run alongside a Linux control plane. Before any work starts, the scope is agreed in writing, so you know which Windows Server versions, container runtime, node pools and workloads are in the engagement, which Windows-specific pod fields are being avoided, and what is handed over at the end. Because most engagements are fixed-scope, the written scope also sets the deliverables and timeline. A quote follows from that scope, and DeployOpen does not publish a price list, so ask for the Windows node count, the number of distinct Windows images, and the number of workloads that need HostProcess containers to be itemized in the quote.
Delivery covers the work that is easy to leave undocumented: the node join procedure, the runtime and kubelet configuration on each Windows host, node labels and taints that keep Linux-only pods off Windows, and the HostProcess service accounts and RBAC bindings used by node-level agents. DeployOpen documents this configuration so your platform team can rebuild a Windows node or hand the cluster to another operator. The same record also helps your security and compliance reviewers, since DeployOpen prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work, and you should confirm early which evidence they will request.
Ongoing support, upgrades and continuous testing are available as retainers, which matters for Windows nodes because their Kubernetes version and Windows patch cadence can drift from the Linux side. Confirm in your written scope who owns Windows Server patching, which versions the retainer covers, and how a Kubernetes minor version upgrade will be tested on Windows node pools before the control plane moves. Clear ownership of those tasks is the difference between a Windows pool that stays supported and one that quietly falls behind.

