Advanced networking configuration¶
By default, Mirantis Container Cloud configures a single interface on the cluster nodes, leaving all other physical interfaces intact.
With L2 networking templates, you can create advanced host networking configurations for your clusters. For example, you can create bond interfaces on top of physical interfaces on the host or use multiple subnets to separate different types of network traffic.
You can use several host-specific L2 templates per one cluster to support different hardware configurations. For example, you can create L2 templates with different number and layout of NICs to be applied to the specific machines of one cluster.
When you create a baremetal-based project, the exemplary templates
ipam/PreInstalledL2Template label are copied to this project.
These templates are preinstalled during the management cluster bootstrap.
Using the L2 Templates section of the Clusters tab in the Container Cloud web UI, you can view a list of preinstalled templates and the ones that you manually create before a cluster deployment.
Follow the procedures below to create L2 templates for your managed clusters.
- Workflow of network interface naming
- Create subnets
- Automate multiple subnet creation using SubnetPool
- Create L2 templates
- L2 template example with bonds and bridges
- L2 template example for automatic multiple subnet creation
- Assign L2 templates to machines
- Example of a complete L2 templates configuration for cluster creation