Skip to content

Instantly share code, notes, and snippets.

@xuyuji9000
Last active October 21, 2017 18:45
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 xuyuji9000/9cbd616cf5e321f5f57a4573f4aee0fa to your computer and use it in GitHub Desktop.
Save xuyuji9000/9cbd616cf5e321f5f57a4573f4aee0fa to your computer and use it in GitHub Desktop.
#!/bin/bash
apt update && apt install ebtables ethtool -y
apt 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 update && apt install -y kubelet kubeadm kubectl
@xuyuji9000
Copy link
Author

xuyuji9000 commented Oct 14, 2017

curl -s https://gist.githubusercontent.com/xuyuji9000/9cbd616cf5e321f5f57a4573f4aee0fa/raw/8ee52a5d90376096ad38c8d3a9ad9cfa6cdd6640/ubuntu-1604-install-kubeadm.sh | bash

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