Skip to content

Instantly share code, notes, and snippets.

View semisft's full-sized avatar

Ahmet Semiz semisft

  • Turkiye
View GitHub Profile
# From https://gist.github.com/saiyam1814/760b5c856f5b6ec5c7b8825545062f11 (saiyam1814/k8s23containerd.sh)
# Use with short link bit.ly/k8slocal
# Hostname parameter obtained from machine
# Ahmet Semiz
########## Single Node Kubernetes 1.23 with Containerd ########
export HOSTNAME=$(hostname)
echo $HOSTNAME
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "step1"
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list