Skip to content

Instantly share code, notes, and snippets.

@prabhakhar
Created December 4, 2018 22:55
Show Gist options
  • Save prabhakhar/74c896e2ff7a3708a959fe8950965953 to your computer and use it in GitHub Desktop.
Save prabhakhar/74c896e2ff7a3708a959fe8950965953 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get update && apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
add-apt-repository "deb https://apt.kubernetes.io/ kubernetes-xenial main
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