a multi-control-plane scenario without an external load balancer or having a way to config the custom load balancer pod?
Hi! I'm working on an assignment in my university that says to make a multi-contorl-plane cluster and config an HAProxy to balance the request between these two nodes. I've seen in the issues that KinD will create an HAProxy container name 'cluster-external-load-balancer' and distributes the requests between two nodes. I wanted to know if there is any way to stop KinD from creating this container and letting me configure an external one on my own, or at least provides me a way to set my custom configuration for this HAProxy.
Kind will create the cluster for you. Once it is running you can configure various things like load balancers any way you wish.
There are a few creation-time configuration options, like creating a mulit-node cluster. You can check out the configuration options here.
I wanted to know if there is any way to stop KinD from creating this container and letting me configure an external one on my own, or at least provides me a way to set my custom configuration for this HAProxy.
No. This is not configurable, it's supposed to be an implementation detail of testing with HA. We're not even dead-set on using haproxy for this long term (cloud-provider-kind is now using envoy ...).
You could, however, ignore the provided loadbalancer and setup your own alongside it (or delete the container).
That said, depending on the scope of the assignment, you might need to do more of creating the cluster / nodes yourself anyhow.