Surya.dev
Published on

Day 02: Installing and Configuring Kubernetes

Authors

Welcome to Day 2 of my 100 Days of Cloud Journey ✍️

Installong Kubernetes on VMs

Getting and Installing Kubernetes on Ubuntu 22.04 VMs

apt-get install -y containerd
sudo curl -fsSl https://pkgs.k8s.io/core:/stable:/v_$VERSION/deb/Release.key |
  sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'dev [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg]
https://pkgs.k8s.io/core:/stable:/v_$VERSION/deb/ /' |
  sudo tee /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install kubelet kubeadm kubectl
apt-mark hold kubelet kubeadm kubectl containerd