kubernetes-the-hard-way/vagrant
Alistair Mackay 2dd8f64d31
Update to latest version (#325)
* Build now functional

* Use ssh option to reduce questions

* Use IPVS

* Further e2e observations

* Tidy up

* RAM and CPU adjustments
2023-11-23 19:52:14 +00:00
..
ubuntu Update to latest version (#325) 2023-11-23 19:52:14 +00:00
README.md Upgrade/1.24 (#291) 2022-09-20 07:17:00 +01:00
Vagrantfile Update to latest version (#325) 2023-11-23 19:52:14 +00:00

README.md

Vagrant

This directory contains the configuration for the virtual machines we will use for the installation.

A few prerequisites are handled by the VM provisioning steps.

Kernel Settings

  1. Disable cgroups v2. I found that Kubernetes currently doesn't play nice with cgroups v2, therefore we need to set a kernel boot parameter in grub to switch back to v1.
  2. Install the br_netfilter kernel module that permits kube-proxy to manipulate IP tables rules
  3. Add the two tunables net.bridge.bridge-nf-call-iptables=1 and net.ipv4.ip_forward=1 also required for successful pod networking.

DNS settings

  1. Set the default DNS server to be Google, as we know this always works.
  2. Set up /etc/hosts so that all the VMs can resolve each other

Other settings

  1. Install configs for vim and tmux on master-1