Configuring hybrid networking
You can configure your cluster to use hybrid networking with OVN-Kubernetes. This allows a hybrid cluster that supports different node networking configurations. For example, this is necessary to run both Linux and Windows nodes in a cluster.
Prerequisites
- You defined for the
networking.networkType
parameter in theinstall-config.yaml
file. See the installation documentation for configuring OKD network customizations on your chosen cloud provider for more information.
Procedure
Create a stub manifest file for the advanced network configuration that is named in the
<installation_directory>/manifests/
directory:where:
<installation_directory>
Specifies the directory name that contains the
manifests/
directory for your cluster.Open the
cluster-network-03-config.yml
file in an editor and configure OVN-Kubernetes with hybrid networking, such as in the following example:Save the
cluster-network-03-config.yml
file and quit the text editor.
Complete any further installation configurations, and then create your cluster. Hybrid networking is enabled when the installation process is finished.