Load balancers need to know which backends exist. Static configuration doesn't scale. Service discovery (Consul, etcd, Kubernetes) provides dynamic backend registration.
Backends register on startup, deregister on shutdown. The LB watches the service registry and updates its pool automatically. Health checks remove unhealthy instances from rotation.