I have a single node kubernetes cluster and a watcher which watches for services, pods and endpoints. The goal of the watcher is to watch for changes in service endpoints and get the IPs from the endpoints and update them as members to haproxy for load balancing.
I am able to do that. Now I want to update the service external IP with the IP which is listening for requests on haproxy. Is it possible to update the external IP from the watcher.
Note: I have written the watcher in python.