Create L2 templates for a multi-rack MOSK cluster¶
For a multi-rack MOSK cluster, you need to create one L2 template for each type of server in each rack. This may result in a large number of L2 templates in your configuration.
For example, if you have a three-rack deployment of MOSK with 4 types of nodes evenly distributed across three racks, you have to create at least the following L2 templates:
rack-1-k8s-manager
,rack-2-k8s-manager
,rack-3-k8s-manager
for Kubernetes control plane nodes, unless you use the compact control plane option.rack-1-mosk-control
,rack-2-mosk-control
,rack-3-mosk-control
for OpenStack controller nodes in each rack.rack-1-mosk-compute
,rack-2-mosk-compute
,rack-3-mosk-compute
for OpenStack compute nodes in each rack.rack-1-mosk-storage
,rack-2-mosk-storage
,rack-3-mosk-storage
for OpenStack storage nodes in each rack.
In total, twelve L2 templates are required for this relatively simple cluster. In the following sections, the examples cover only one rack, but can be easily expanded to more racks.
Note
Three servers are required for Kubernetes control plane and for the OpenStack control plane. So, you might not need more L2 templates for these roles when expanding beyond three racks.
Now, proceed to creating L2 templates for your cluster, starting from Create an L2 template for a Kubernetes manager node.