CloudLab - For Researchers and Educators
If you have access to CloudLab or a similar infrastructure where you can create virtual machines, you can use it to set up a Kubernetes cluster.
Prerequisites
- Access to CloudLab or a similar infrastructure where you can create virtual machines.
kubectl
installed on your local machine. Refer the docs here.
Creating CloudLab Experiment
-
Head on here and instantiate this profile on CloudLab. This profile will create three nodes for you: one master node and two worker nodes.
-
Clone the cloudlab-kubernetes repository locally. Follow the instructions in the README to set up the Kubernetes cluster and configure the nodes. This step will also configure the
kubectl
on your local machine to connect to the Kubernetes cluster. -
Verify the installation by running
kubectl get nodes
If everything is set up correctly, you should see the master and worker nodes listed as shown below:
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
master Ready control-plane 4h3m v1.30.2
worker1 Ready <none> 3h53m v1.30.2
worker2 Ready <none> 3h52m v1.30.2