Skip to content

This requires a bit of a jump #1

@davehodg

Description

@davehodg

"Create 3 hosts and call them node-master, node-1 and node-2."

Needs a bit of explanation!

If I do:

$ docker run --name node-master -i -t ubuntu /bin/bash

And then do your suggested apt stuff, the kubeadm apt isn't found.

$ docker run -i -t ubuntu:16.04 /bin/bash

It was a hell of a job getting kubadm installed. Your stanza didn't work needed to add "deb http://apt.kubernetes.io/ kubernetes-xenial main" manually.

kubeadm init needed --ignore-preflight-errors=all and even then, ended with a load of:

[WARNING ImagePull]: failed to pull image k8s.gcr.io/kube-apiserver:v1.12.2: output: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

, error: exit status 1

The docker daemon isn't running despite installing docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions