Skip to content

Book Errata Updates

Scott Surovich edited this page May 29, 2021 · 8 revisions

Book Errata:

Chapter 3

Page 81 - Deleting a cluster
The KinD delete cluster command is missing a dash on the name option, the correct command is:

 > kind delete cluster --name <cluster name> 

Chapter 4

Page 100 - HAProxy Docker run command update
The editing process corrected the container name to HAProxy, the name must be lowercase, the correct command syntax has been updated below.

 > docker run --name HAProxy-workers-lb -d -p 80:80 -p 443:443 -v ~/HAProxy:/usr/local/etc/HAProxy:ro haproxy -f /usr/local/etc/HAProxy/HAProxy.cfg  

Chapter 5

Page 118 - Cluster Commands Table
The book was created using Kubernetes 1.18, in Kubernetes 1.19 the -restart option has been deprecated and no longer works. We are adding this to the Wiki to inform readers about the update in 1.19. More updates will be noted on this Wiki page as Kubernetes versions change / deprecate objects or API calls. Thanks to Walter Lee for pointing this note out to us.

Chapter 6

Page 169/170 - UNDERSTANDING METALLB'S CONFIGURATION FILE
To retrieve the correct CIDR range that the KinD cluster is using, you need to inspect the network bridge called kind.

In the book, it states to inspect the bridge network, which is the default Docker bridge network. This was correct when the chapter was written, when KinD 0.7 was used. In KinD 0.8 the default network for KinD Clusters was changed to a new bridge that is created by KinD, called kind. Therefore, on KinD 0.8 and above, you will need to insect the kind bridge network using the following command:

 > docker network inspect kind

Clone this wiki locally