Running the cluster without EdgeVPN

The Kubernetes cluster is running on crossbill (129.79.186.147) on port 6443.

Steps to access the edge Kubernetes cluster

  1. Install a local command line version of kubectl. Skip this step if you have already installed it previously. This can be verified by running kubectl --version.

  2. Make sure you are connected to the IU Network/VPN.

  3. Export the config (provided by D2I) file for your local kubectl to use by running:

export KUBECONFIG=~/exampleConfig.yaml
  1. Now the cluster can be accessed remotely from your local computer.
$ kubectl get nodes
NAME         STATUS   ROLES                  AGE     VERSION
crossbill    Ready    control-plane,master   2d22h   v1.21.7+k3s1
d2iedgeai    Ready    worker                 2d22h   v1.21.7+k3s1
d2iedgeai3   Ready    worker                 2d22h   v1.21.7+k3s1
d2iedgeai2   Ready    worker                 2d22h   v1.21.7+k3s1

Configuring the cluster to use EdgeVPN

  1. Install the required pre-requistes mentioned in the previous webpages.

  2. Start the EdgeVPN docker container on the head node.

  3. Enable/start the Evio service on the nodes by running:

sudo systemctl start evio
  1. Once the edgeVPN is running on the nodes, instaniate the kubernetes cluster on the head node.

  2. Once the kubernetes cluster is up and running on the head node, copy the cluster key and run the Kuberenets bash start script to join the head node from each of the edge devices.

  3. The cluster should be up and running. You can copy the kubeconfig file to use it for remote access.