To use the former approach, you’ll need to create virtual machine instances using the Azure Virtual Machines service. Again, in most cases your instances should be Linux-based. You can create instances in the Azure portal at https://portal.azure.com.
Then, log into the instance that you want to use as your master node and install Kubernetes on it. As with Kubernetes on EC2, you can use whichever distribution you wish. To use MicroK8s as an example, you’d simply run:
sudo snap install microk8s --classic
to start the cluster.
Then, log into the instance that you want to use as your master node and install Kubernetes on it. As with Kubernetes on EC2, you can use whichever distribution you wish. To use MicroK8s as an example, you’d simply run:
sudo snap install microk8s --classic
to start the cluster.
(You’d likely want to run additional commands to turn on important cluster features; see the MicroK8s documentation for details.) Repeat the process to set up worker nodes.