Kube-proxy can run on each and every node and can do simple TCP/UDP packet forwarding across backend network service.
So basically, it is a network proxy that reflects the services as configured in Kubernetes API on each node.
So, the Docker-linkable compatible environment variables provide the cluster IPs and ports which are opened by proxy.