I am using haproxy with k8s handless svc.
when pod destroy, haproxy maint the server.
when pod resume, haproxy setr addr, but no update server status to ready.
“log”
2020-08-04T12:36:41+08:00 127.0.0.1 haproxy[1]: Server fms-appdownloads-live-vn/server2 is going DOWN for maintenance (entry removed from SRV record). 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
2020-08-04T12:37:11+08:00 127.0.0.1 haproxy[1]: fms-appdownloads-live-vn/server2 changed its IP from 10.154.251.135 to 10.154.3.111 by DNS additional recrd.
2020-08-04T12:37:11+08:00 127.0.0.1 haproxy[1]: fms-appdownloads-live-vn/server2 changed its FQDN from (null) to 10-154-3-111.fms-api-live-vn.fms-live-vn.svc.kube-general-ctl-live.k8s.cluster by ‘SRV record’
“my resolution”