Adding a custom load balancer for Ingress
We added this section for anybody who may want to know more about how to load balance between multiple worker nodes.
This section disccusses a complex topic that covers adding a custom HAProxy container that you can use to load balance worker nodes in a KinD cluster. You should not deploy this on the KinD cluster that we will use for the remaining chapters.
Since you will interact with load balancers in most enterprise environments, we wanted to add a section on how to configure your own HAProxy container for worker nodes, in order to load balance between three KinD nodes.
First, we will not use this configuration for any of the chapters in this book. We want to make the exercises available to everyone, so to limit the required resources, we will always use the two-node cluster that we created earlier in this chapter. If you want to test KinD nodes with a load balancer, we suggest using a different Docker host or waiting until...