Skip to content

Instantly share code, notes, and snippets.

@KrustyHack
Created October 20, 2016 15:03
Show Gist options
  • Save KrustyHack/b61b9197404e34d5029e83b71fb229b4 to your computer and use it in GitHub Desktop.
Save KrustyHack/b61b9197404e34d5029e83b71fb229b4 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update && apt-get upgrade -y && apt-get install -y apt-transport-https docker.io kubelet kubeadm kubectl kubernetes-cni
@KrustyHack
Copy link
Author

curl -O https://storage.googleapis.com/kubernetes-release/release/v1.4.4/bin/linux/amd64/kubectl
chmod +x kubectl
mv kubectl /usr/local/bin/kubectl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment