From 075e91a002baefe415c0f3acfa21e795a182f120 Mon Sep 17 00:00:00 2001 From: Oaker Min <7734956+Brucius@users.noreply.github.com> Date: Wed, 7 Oct 2020 15:39:17 +0800 Subject: [PATCH] Update part1.md This is currently a bug for mac users. The workaround to bypass that error message is to put the flag --no-hostip as per proposed change. --- pages/part1/part1.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/part1/part1.md b/pages/part1/part1.md index 3275b5622..dc2e1cec6 100644 --- a/pages/part1/part1.md +++ b/pages/part1/part1.md @@ -72,6 +72,16 @@ We'll use K3d to create a group of docker containers that run k3s. Thus creating $ k3d cluster create -a 2 ``` +If you are getting an error message saying as below, +```console +ERRO[0006] Failed to get HostIP +``` + +Run the command with the below flag +```console +k3d cluster create -a 2 --no-hostip +``` + This created a Kubernetes cluster with 2 agent nodes. As they're in docker you can confirm that they exist with `docker ps`. ```console