Adding a custom load balancer for Ingress
Note
This section is 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 these steps on the KinD cluster that we will use for the remaining chapters.
We added this section for anybody that may want to know more about how to load balance between multiple worker nodes.
KinD does not include a load balancer for worker nodes. The included HAProxy container only creates a configuration file for the API server; the team does not officially support any modifications to the default image or configuration. Since you will interact with load balancers in your everyday work, we wanted to add a section on how to configure your own HAProxy container in order to load balance between three KinD nodes.
First, we will not use this configuration for any of chapters in this book. We want to make the exercises available to everyone, so to limit the required...