kubernetes-the-hard-way/vagrant
Alexey Vazhnov 645b296cb6
Adjust markdown formatting (#328)
* 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
2024-02-21 20:50:31 +00:00
..
ubuntu Update to latest version (#325) 2023-11-23 19:52:14 +00:00
README.md Adjust markdown formatting (#328) 2024-02-21 20:50:31 +00: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