mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-14 16:58:58 +03:00
* Build now functional * Use ssh option to reduce questions * Use IPVS * Further e2e observations * Tidy up * RAM and CPU adjustments
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
- 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.
- Install the
br_netfilterkernel module that permits kube-proxy to manipulate IP tables rules - Add the two tunables
net.bridge.bridge-nf-call-iptables=1andnet.ipv4.ip_forward=1also required for successful pod networking.
DNS settings
- Set the default DNS server to be Google, as we know this always works.
- Set up
/etc/hostsso that all the VMs can resolve each other
Other settings
- Install configs for
vimandtmuxon master-1