Skip to content

Instantly share code, notes, and snippets.

@Arhimondus
Created July 28, 2023 19:27
Show Gist options
  • Save Arhimondus/32fffc417f94e61506e53af029844cc7 to your computer and use it in GitHub Desktop.
Save Arhimondus/32fffc417f94e61506e53af029844cc7 to your computer and use it in GitHub Desktop.
apt-get update
apt-get install -y apt-transport-https ca-certificates curl
curl -fsSL https://dl.k8s.io/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
apt-get update
apt-get install -y kubelet kubeadm kubectl
apt-mark hold kubelet kubeadm kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment