As an alternative to the default SDN, OpenShift Container Platform also provides Ansible
playbooks for installing flannel-based networking. This is useful if running
OpenShift Container Platform within a cloud provider platform that also relies on SDN,
such as OpenStack, and you want to avoid encapsulating packets twice through
To enable flannel within your OpenShift Container Platform cluster, set the following
variables in your Ansible inventory file before running the installation.
openshift_use_openshift_sdn variable to false disables the
default SDN and setting the
openshift_use_flannel variable to true enables
flannel in place.
You can optionally specify the interface to use for inter-host communication
flannel_interface variable. Without this variable, the
OpenShift Container Platform installation uses the default interface.