Skip to content

laith-leo/Rancher-K3s-using-Vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

Rancher Kubernetes K3s Cluster with Vagrant

image

image

K3s cluster, one master and two workers based on Rancher K3s and Containerd, latest helm is installed, latest stable repo is installed.

Prerequisites:

Features:

  1. The cluster is based on Ubuntu 20.04.
  2. The cluster forms from 3 nodes; one master and two workers (worker1 and worker2). We can add as many as we want of nodes.
  3. The provisioning install latest version of HELM.
  4. The provisioning installs the latest STABLE helm repo.
  5. kubectl auto-compeltion is configured for user vagrant.
  6. No need to put k3s in-front of kubectl command.
  7. Master node IP Address (host-only) is 192.168.100.100
  8. Worker nodes IP Address (host-only) are 192.168.100.101 and 192.168.100.102.
  9. Metallb load balancer is preinstalled.
  10. local-path is the default storage class for Kubernetes.

Installation:

$ vagrant up