I am planning to install OpenShift Container Platform (OCP) version 4.16 with the following topology:
3 master nodes (control plane)
3 worker nodes (data plane)
Question:
Can the master node IP addresses and the worker node IP addresses be in different network subnets? If yes, what are the technical considerations or requirements for such a setup?
The compliance team has advised that:
Master nodes (control plane) must be in the control-plane subnet.
Worker nodes (data plane) must be in the data-plane subnet.
Proposed configuration:
@yamope Refer this documentation : https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/nodes/remote-worker-...
some obvious things that one need inorder is that routing works seamlessly between all your subnets. You want to be sure the installer understands how these subnets are set up.
Also, be sure to put your Ingress VIP in the right spot.
Thanks Chetan, It's value for me.
I also found some other redhat topic metion about this too. The next question is do we know what is best practise : All workers and master the same subnet or separate ? or depend on use cases? if yes, what are use cases? ( I'm going to looking for this information and update , looking forward for your rep too)
example:
https://issues.redhat.com/browse/OCPSTRAT-462
or
https://access.redhat.com/solutions/7018925
Issue
Resolution
The decision between a single, unified network and a split, segmented one comes down to your cluster's goals.
For simplicity, a single subnet for both the control plane and workers works well. It is a great choice for smaller, contained environments.
If you need to scale, spread your cluster across different locations, or meet specific security rules, separating your subnets is a much better choice. For remote deployments, strict security needs, or certain cloud offerings, using segmented subnets is the best practice. Refer the same here in OCP doc :
Also from the same OCP dcouments ,I can see that you must place the ingress VIP on the control plane :
Check the same in Azure Red Hat Openshift ( ARO ) :
Red Hat Openshift on AWS ( ROSA ) :
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.