Skip to content

Instantly share code, notes, and snippets.

@icqparty
Forked from anonymous/install.sh
Last active January 13, 2018 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icqparty/788fd4968ee444cd5c7be0e57c0a8edc to your computer and use it in GitHub Desktop.
Save icqparty/788fd4968ee444cd5c7be0e57c0a8edc to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get update && apt-get install -y apt-transport-https
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 install -y kubeadm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment