Last active
October 21, 2017 18:45
-
-
Save xuyuji9000/9cbd616cf5e321f5f57a4573f4aee0fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -s https://gist.githubusercontent.com/xuyuji9000/9cbd616cf5e321f5f57a4573f4aee0fa/raw/8ee52a5d90376096ad38c8d3a9ad9cfa6cdd6640/ubuntu-1604-install-kubeadm.sh | bash