Setup

Instructions for setting up a Kubernetes cluster.

Documentation for Kubernetes v1.6 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.

Edit This Page

Installing kubeadm

This page shows how to use install kubeadm.

Before you begin

Installing Docker

On each of your machines, install Docker. Version 1.12 is recommended, but v1.10 and v1.11 are known to work as well. Versions 1.13 and 17.03+ have not yet been tested and verified by the Kubernetes node team. For installation instructions, see Install Docker.

Installing kubectl

On each of your machines, install kubectl. You only need kubectl on the master, but it can be useful to have on the other nodes as well.

Installing kubelet and kubeadm

You will install these packages on all of your machines:

Note: If you already have kubeadm installed, you should do a apt-get update && apt-get upgrade or yum update to get the latest version of kubeadm. See the kubeadm release notes if you want to read about the different kubeadm releases

For each machine:

While this guide is correct for kubeadm 1.6, the previous version is still available but can be a bit tricky to install. See below for details.

What’s next

Analytics

Create an Issue Edit this Page