Skip to content

nfisher/k8smulti

Repository files navigation

k8smulti

Provides a multinode cluster on your local machine.

Provides

  • 1 x cache (1vcpu & 512MB ram)
  • 1 x master (2vcpu & 2GB ram)
  • 2 x worker nodes (2vcpu & 4GB ram)
  • 1 x cache (1vcpu & 512MB ram)
  • k8s v1.20.5.
  • helm 3.x.
  • API - 192.168.56.100:6443.
  • kube config - k8smulti/config

Required Software

Getting Started

  1. Install the required software.
  2. Run vagrant up to provision the nodes.
  3. Run vagrant ssh master and check the master is ready with kubectl get nodes -o wide.
  4. Run vagrant ssh master, check the nodes are ready with kubectl get nodes -o wide.

Note: Kubernetes config is available on the host in /home/vagrant/.kube/config on master or config in the projects root.

Networking Overview

Calico - CIDR Ranges

Name Network
Host 192.168.56.0/24
Pods (default) 10.217.0.0/16
Pods (pool1) 10.218.1.0/24
Pods (pool2) 10.218.2.0/24

References