Scripts I've made to make my life easier and hopefully yours too.
Use this to setup a brand new VM with everything necessary to create or join a k8s cluster! Follows the exact process already laid out by the K8s and containerd docs.
- Installs the latest versions of containerd, runc, and CNI plugins
- Configures
containerd
to use thesystemd
cgroup - Configures the required
sysctl
settings on the OS - Installs the
kubeadm
,kubectl
, andkubelet
tools from the Google Cloudapt
repo
Note: Currently, this script has only been tested on Debian 11.
./setup-kubeadm.sh [-u]
-u: undo all script operations, revert back to clean slate