Created
August 15, 2019 13:29
-
-
Save mowings/b0509328a3a9f8434e42ed2a2cc70d4f to your computer and use it in GitHub Desktop.
Kubernetes install on ubuntu. Assumes docker is already installed
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/sh | |
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 - | |
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list | |
apt-get update \ | |
&& apt-get install -y kubelet kubeadm kubernetes-cni |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment