This project provides a daemonset that is used to forward traffic to the kube-proxy when using shared
health probe mode in a Kubernetes cluster.
When a service is integrated with a private link service and uses the proxy protocol, the health check requests to the kube-proxy will fail. This daemonset will read these requests, parse the proxy protocol header, and forward the request to the kube-proxy. If the proxy protocol is not used, this daemonset will forward the request to the kube-proxy without any modification.
- cloud-provider-azure v1.28.5 or higher
- Set
--health-check-port
to the port that is configured in the cloud provider configclusterServiceSharedLoadBalancerHealthProbePort
. - Set
--target-port
to the kube-proxy health check port.
To build the binary for the health probe proxy, navigate to the root directory of the project and run:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o health-probe-proxy-bin .