O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying Kubernetes using kubeadm

First of all, we need to log in to one of our three Droplets; the first machine we log into will be our Kubernetes master: 

$ ssh root@139.59.180.255

Once logged in, the following two commands check for any updates to the packages and apply them:

$ apt-get update$ apt-get upgrade

Now that we are up-to-date we can install the prerequisite packages. To do this run the following:

$ apt-get install docker.io curl apt-transport-https

You may notice that we are using the version of Docker that is distributed as part of the core Ubuntu 16.04 package repositories rather than the official Docker release. This is because kubeadm doesn't have official support for newer versions of Docker and the recommended version ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required