diff --git a/cluster_config.sh.example b/cluster_config.sh.example index 5436837..b3d343b 100644 --- a/cluster_config.sh.example +++ b/cluster_config.sh.example @@ -10,6 +10,11 @@ export SSH_PUB_KEY="`cat $HOME/.ssh/id_rsa.pub`" export MASTER_COUNT=3 export WORKER_COUNT=3 +# Select the CNI plugin to use in your OCP deployment +# From OCP 4.15 <, use OpenShiftSDN +# From OCP 4.15 >=, use KubernetesOVN +export OPENSHIFT_NETWORKTYPE="OpenShiftSDN" + ############################################## # The following settings are platform specific ############################################## diff --git a/run_ocp.sh b/run_ocp.sh index 6cb82d6..a0686c7 100755 --- a/run_ocp.sh +++ b/run_ocp.sh @@ -101,7 +101,7 @@ networking: hostPrefix: 23 machineNetwork: - cidr: 10.0.128.0/17 - networkType: OpenShiftSDN + networkType: ${OPENSHIFT_NETWORKTYPE} serviceNetwork: - 172.30.0.0/16 platform: