Difficulty: intermediate
Estimated Time: 10-15 minutes

Let everyone know about your success:

Don’t stop now! The next scenario will take about 20 minutes to complete. You can pause and come back at any time.

Getting Started With Kubeadm

Step 1 of 6

Step 1 - Initialise Master

On Ubuntu machines

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
apt-get update

apt-get install -y docker.io
apt-get install -y kubelet kubeadm kubectl kubernetes-cni

kubeadm init --token=102952.1a7dd4cc8d1f4cc5

Terminal Host 2