Hello i have 3 node HA cluster in home and i want to create nginx based load balancer for kube api server. I am looking for a way to automatically reload nginx configuration if new nodes are added, and i wonder if there's a simple way to ask my cluster for all
NodeHosts
? I know they are in
coredns
configmap, so maybe using RBAC and calling kube API directly is the simplest way and then reloading the nginx config?