![]() * Adjust markdown formatting: * Remove extra capitalization. * Remove extra curly braces {} inside Bash code blocks. * Use in-line code block `` for IP-addresses, file names and commands. * Add a dot at the end of sentences. * Use list formatting in `differences-to-original.md`. Also add escaping for angle brackets <>. * No logic changes were made, only formatting improvements. * 01-prerequisites.md: remove extra capitalization, remove extra space in "Virtual Box" * 01-prerequisites.md: split text into different lines (before, it was rendered into one line) * Remove extra capitalization, use inline code blocks, add a dot at the end of sentences. * 02-compute-resources.md: add escaping for angle brackets <>. * 03-client-tools.md: remove extra capitalization, use inline code blocks * 04-certificate-authority.md: remove extra capitalization, use inline code blocks, remove extra curly braces {} inside Bash code blocks * 04-certificate-authority.md: remove extra curly braces {} inside Bash code blocks * Revert back: all "remove extra curly braces {} inside Bash code blocks" As per @fireflycons https://github.com/mmumshad/kubernetes-the-hard-way/pull/328#issuecomment-1926329908 : > They are there for a reason. If you paste a block of code within braces, then it is not executed immediately by the shell - you have to press ENTER. Quite often when making changes to this repo and I have multiple terminals open, it gives me a chance to check that I have pasted the block into the correct terminal before it executes in the wrong terminal and borks everything. * Revert back: all "remove extra curly braces {} inside Bash code blocks" * Revert back all "Remove extra capitalization", as per request @fireflycons https://github.com/mmumshad/kubernetes-the-hard-way/pull/328#issuecomment-1944388993 |
||
---|---|---|
.. | ||
ubuntu | ||
README.md | ||
Vagrantfile |
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
- 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_netfilter
kernel module that permits kube-proxy to manipulate IP tables rules. - Add the two tunables
net.bridge.bridge-nf-call-iptables=1
andnet.ipv4.ip_forward=1
also required for successful pod networking.
DNS settings
- Set the default DNS server to be Google, as we know this always works.
- Set up
/etc/hosts
so that all the VMs can resolve each other
Other settings
- Install configs for
vim
andtmux
on master-1