The Simplest Way to Make Rook and Windows Server Core Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair rook and windows server core to run shared storage for Windows containers. Rook manages Ceph storage on Linux nodes while Windows nodes mount those volumes. This setup lets legacy Windows apps share files inside a single Kubernetes cluster. You do not need external storage boxes to persist your app data. Linux nodes run the storage daemons and handle disk replication across the cluster. Windows worker nodes attach to that storage pool over the local cluster network. How rook and wi

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair rook and windows server core to run shared storage for Windows containers. Rook manages Ceph storage on Linux nodes while Windows nodes mount those volumes.

This setup lets legacy Windows apps share files inside a single Kubernetes cluster. You do not need external storage boxes to persist your app data. Linux nodes run the storage daemons and handle disk replication across the cluster. Windows worker nodes attach to that storage pool over the local cluster network.

How rook and windows server core move data and keys

Rook runs only on Linux hosts because Ceph daemons need a Linux kernel. Windows Server Core nodes cannot run the core Rook operator pods at all. Instead, Windows nodes use a specialized storage driver to mount remote network shares. The cluster control plane issues storage keys when a Windows pod starts up.

The Windows node reads that key from the cluster secret store during startup. Then the node mounts the network volume and maps it into the container. Data flows over the internal network between the Windows pod and Linux storage. Permissions depend on both Kubernetes role rules and Windows file system access controls. You must match the container user identity with the shared volume security group. If these two identities do not match, the Windows app cannot write files.

Common failure modes and how to scope roles

Mixed clusters often fail when teams use one broad key for all nodes. If a single admin key mounts every volume, any pod can read everything. Shared service accounts also hide which person or app changed a vital file. Unlogged storage commands make it hard to track down broken volume mounts later. Network paths also break when firewall rules block traffic between Linux and Windows.

You can fix this by giving each Windows app its own storage key. Scope each role so the pod only sees its own assigned folder path. Set up strict network rules between the Windows nodes and the storage cluster. Only allow storage traffic from approved worker nodes on the required network ports. Keep Linux storage nodes in their own group away from general app pods. Check your cluster logs often to spot failed mount attempts or bad keys. Masking rules can also rewrite emails or card numbers in your query results.

Kubernetes API Server Access + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Managing node updates in mixed clusters

Keeping both operating systems updated takes careful planning across your whole platform team. When you reboot a Windows node for patches, active file locks can hang. You must drain the Windows node before you start any system update task. This moves the Windows pods to healthy nodes and closes open files cleanly.

On the Linux side, Rook handles storage updates one disk node at a time. Never reboot Linux storage nodes and Windows worker nodes at the same time. Wait for the storage pool to show a healthy state before moving on. Test your volume failover speed in a staging cluster before going live.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Can Rook storage pods run directly on Windows nodes?

No, Rook and Ceph daemons require a Linux kernel to manage raw disks. You must run the storage pods on Linux nodes in the same cluster.

How do Windows pods mount storage from the Linux nodes?

Windows Server Core nodes use a container storage driver to mount network shares. The driver reads a cluster secret and maps the share to the pod.

How should teams limit storage permissions for Windows apps?

Create a unique storage key and role for each Windows app namespace. Restrict network traffic so Windows nodes only talk to assigned storage endpoints.

The query runs. The emails stay hidden.