Skip to content

trifo13/kubernetes-cluster-virtualbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS: Don't hesitate give a star ⭐ ❤️ ⭐

k8s-cluster

spin up three node cluster

  • 192.168.10.13 master
  • 192.168.10.14 worker-1
  • 192.168.10.15 worker-2

see the corresponding post from here

  • requirements
vagrant
virtualbox

Fire up vms

vagrant up

To access each machine respectively via

vagrant ssh master

in master node

1. set root password
2. switch root account
3. kubeadm init --apiserver-advertise-address 192.168.10.13 --pod-network-cidr=10.244.0.0/16
4. remove --port 0 from /etc/kubernetes/manifests/kube-[controller-api| scheduler].yaml
5. join workers to master node

for workers

vagrant ssh [worker1|worker2]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages