In this section, we would install Anthos clusters on Bare metal.
Installation Pre-requisite
Based on the topology described in earlier section, we need four machines with the following identical configuration.
OS – Ubuntu 20.0.4
CPU/vCPUs – 4 core
RAM – 32 GB
Storage – 128 GB
To demonstrate the setup, we would create four VMs in Google Cloud with the above configuration. One VM would be the workstation node, let’s refer to this as “bm-wkst”.
One VM would be used for Control plane, let’s refer to this as “bm-cp” and 2 VMs would be used for worker nodes, let’s refer to this as “bm-node1” and “bm-node2”.
If you have access to physical machines or access to VMs in any other cloud provider that meets the installation pre-requisite, you can execute the installation steps it in your own environment. The steps outlined is the same as long the installation pre-requisite is met.
If you are setting this up in a cloud environment (like we are using Google Cloud), we would need to setup a Virtual LAN (VLAN) between the 4 machines and create L2 subnet over L3.
As discussed earlier, L2 subnet is a requirement for bundled load balancers. You can skip this step if you already have L2 subnet.