Running Windows workloads on Red Hat OpenShift has been a regular request from numerous customers over the years. Given Windows Server enjoys a significant presence in the server operating system market and C# is in the top 6 programming languages, we see there is an enormous opportunity to accelerate customer adoption of Windows Server applications to public cloud via containers. To make this happen, Red Hat partnered with Microsoft to announce a Developer Preview for running Windows Server Containers in OpenShift 4.4. The architecture involves letting Windows run Windows Server containers and Red Hat Enterprise Linux run Red Hat Enterprise Linux containers, with OpenShift orchestrating them both as building blocks to compose your next generation applications.
Today, we are pleased to announce the first community release of Windows Machine Config Operator (WMCO) that allows you to enable Windows Server workloads on OpenShift 4.6+ clusters on AWS and Azure. The Windows Machine Config Operator is the entry point for OpenShift customers who want to run Windows workloads on their clusters. The intent of this feature is to allow a cluster administrator to add a Windows worker node as a day 2 operation with a prescribed configuration to an installer provisioned OpenShift 4.6 cluster and enable scheduling of Windows workloads. The Prerequisite is an OpenShift 4.6+ cluster configured with hybrid OVN Kubernetes networking. The Windows community operator is now available on AWS and Azure, with support for other platforms such as vSphere and bare metal coming soon.
The Windows Machine Config Operator configures Windows Machines into nodes, enabling Windows container workloads to be run on OKD/OCP clusters. The operator is configured to watch for Machines with a machine.openshift.io/os-id: Windows label. The way a user will initiate the process is by creating a MachineSet which uses a Windows image with the Docker container runtime installed. The operator will do all the necessary steps to configure the underlying VM so that it can join the cluster as a worker node.
Using the Community Windows Machine Config Operator
Navigate to the in-cluster OperatorHub and search for the Windows Operator and Click Install
Create a MachineSet. Once the MachineSet and the corresponding Machine are created, you should be able to view them in the console.
You can also retrieve the MachineSet status using the following command
oc get machineset -n openshift-machine-api
It usually takes about 15 minutes for the Windows Machine to be configured as a worker node. Ensure the Windows Node is in a Ready state before deploying a workload
Deploy a sample Windows workload and ensure the deployment is successful.
Access the sample application from a browser
Please take the Windows Community Operator for a spin from the on-cluster #OperatorHub and provide feedback by opening GitHub issues.
{{cta('1ba92822-e866-48f0-8a92-ade9f0c3b6ca')}}
About the authors
Browse by channel
Automation
The latest on IT automation that spans tech, teams, and environments
Artificial intelligence
Explore the platforms and partners building a faster path for AI
Open hybrid cloud
Explore how we build a more flexible future with hybrid cloud
Security
Explore how we reduce risks across environments and technologies
Edge computing
Updates on the solutions that simplify infrastructure at the edge
Infrastructure
Stay up to date on the world’s leading enterprise Linux platform
Applications
The latest on our solutions to the toughest application challenges
Original shows
Entertaining stories from the makers and leaders in enterprise tech
Products
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Cloud services
- See all products
Tools
- Training and certification
- My account
- Developer resources
- Customer support
- Red Hat value calculator
- Red Hat Ecosystem Catalog
- Find a partner
Try, buy, & sell
Communicate
About Red Hat
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
Select a language
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit