mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
60 lines
2.8 KiB
Plaintext
60 lines
2.8 KiB
Plaintext
:_content-type: ASSEMBLY
|
|
[id="enabling-windows-container-workloads"]
|
|
= Enabling Windows container workloads
|
|
include::_attributes/common-attributes.adoc[]
|
|
:context: enabling-windows-container-workloads
|
|
|
|
toc::[]
|
|
|
|
Before adding Windows workloads to your cluster, you must install the Windows Machine Config Operator (WMCO), which is available in the {product-title} OperatorHub. The WMCO orchestrates the process of deploying and managing Windows workloads on a cluster.
|
|
|
|
[NOTE]
|
|
====
|
|
Dual NIC is not supported on WMCO-managed Windows instances.
|
|
====
|
|
|
|
[discrete]
|
|
== Prerequisites
|
|
|
|
* You have access to an {product-title} cluster using an account with `cluster-admin` permissions.
|
|
|
|
* You have installed the OpenShift CLI (`oc`).
|
|
|
|
* You have installed your cluster using installer-provisioned infrastructure, or using user-provisioned infrastructure with the `platform: none` field set in your `install-config.yaml` file.
|
|
|
|
* You have configured hybrid networking with OVN-Kubernetes for your cluster. This must be completed during the installation of your cluster. For more information, see xref:../networking/ovn_kubernetes_network_provider/configuring-hybrid-networking.adoc#configuring-hybrid-ovnkubernetes[Configuring hybrid networking].
|
|
|
|
* You are running an {product-title} cluster version 4.6.8 or later.
|
|
|
|
[NOTE]
|
|
====
|
|
Windows instances deployed by the WMCO are configured with the containerd container runtime. Because WMCO installs and manages the runtime, it is recommanded that you do not manually install containerd on nodes.
|
|
====
|
|
|
|
[role="_additional-resources"]
|
|
.Additional resources
|
|
* For the comprehensive prerequisites for the Windows Machine Config Operator, see xref:../windows_containers/understanding-windows-container-workloads.adoc#wmco-prerequisites_understanding-windows-container-workloads[Understanding Windows container workloads].
|
|
|
|
[id="installing-the-wmco"]
|
|
== Installing the Windows Machine Config Operator
|
|
|
|
You can install the Windows Machine Config Operator using either the web console or OpenShift CLI (`oc`).
|
|
|
|
[NOTE]
|
|
====
|
|
The WMCO is not supported in clusters that use a xref:../networking/enable-cluster-wide-proxy.adoc#enable-cluster-wide-proxy[cluster-wide proxy] because the WMCO is not able to route traffic through the proxy connection for the workloads.
|
|
====
|
|
|
|
include::modules/installing-wmco-using-web-console.adoc[leveloffset=+2]
|
|
|
|
include::modules/installing-wmco-using-cli.adoc[leveloffset=+2]
|
|
|
|
include::modules/configuring-secret-for-wmco.adoc[leveloffset=+1]
|
|
|
|
|
|
[role="_additional-resources"]
|
|
== Additional resources
|
|
|
|
* xref:../installing/installing_azure/installing-azure-default.adoc#ssh-agent-using_installing-azure-default[Generating a key pair for cluster node SSH access]
|
|
* xref:../operators/admin/olm-adding-operators-to-cluster.adoc#olm-adding-operators-to-a-cluster[Adding Operators to a cluster].
|