Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.04 KB

README.md

File metadata and controls

17 lines (14 loc) · 1.04 KB

public-scripts

Scripts I've made to make my life easier and hopefully yours too.

k8s/setup-kubeadm.sh

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 the systemd cgroup
  • Configures the required sysctl settings on the OS
  • Installs the kubeadm, kubectl, and kubelet tools from the Google Cloud apt repo

Note: Currently, this script has only been tested on Debian 11.

Usage:

./setup-kubeadm.sh [-u]
  -u: undo all script operations, revert back to clean slate