Study kubernetes the hard way with vagrant.
You can study kubernetes with vagrant. Credits go to the Kinvolk team because this repository is based on https://github.com/kinvolk/kubernetes-the-hard-way-vagrant .
10.200.${i}.0/24
)vagrant up
to bring up the vms (1 load balancer node, 3 controllers nodes , 3 worker nodes)workspace
directory to follow Kelsey Hightower's repository https://github.com/kelseyhightower/kubernetes-the-hard-way
gcloud
commands won't work (of course). Skip everything related to gcloud
or use an alternative command. Have a look at the scripts
directory if you get stuck. They correspond with the chapters.EXTERNAL_IP
, KUBERNETES_PUBLIC_ADDRESS
would be 10.240.0.40
(the load balancer's ip)scp
commandsINTERNAL_IP
s and POD_CIDR
because you cannot fetch them with gcloud
commands.[plugins.cri]
config and stream_server_address
setting to the containerd
's config.toml
. If you miss this, you won't be able to exec
in to the container. Have a look at the script .vagrant destroy -f
when you finish and clean up the workspace
.All the scripts inside the scripts
directory correspond to the commands and chapters mentioned in the tutorial. It uses alternative commands which correspond to gcloud
commands. This has been tested with this version of the tutorial.