Utah Tech Logo

IT3300

DevOps virtualization

Kubernetes nodes

Description

You should create 3 linux vms in proxmox. I utilized my ubuntu Jammy clone. I have not tested with any other ubuntu version. Make sure that they can all connect to the internet. Make sure they each have lots of RAM, maybe 16G each.

Edit the /etc/hosts file of each so that they can resolve the DNS address of each other. Mine is like this:

    127.0.0.1 localhost
    144.38.193.220 microk8s-node1
    144.38.193.221 microk8s-node2
    144.38.193.222 microk8s-node3

Make sure it exists on each node.

Install microk8s on each node. Then join them together in the cluster. I did something like this on node1: microk8s add-node --token-ttl 3600. Then I pasted the command it gave me on node 2. Then I did it again for node 3.

To Pass off

Show me that you have 3 nodes in your K8s cluster