I’m trying to figure out why my service (type: LoadBalancer) isn’t working. This is running on AWS.
I followed the steps in Debug Services - Kubernetes but can’t find any smoking gun.
In particular, when ssh’ing into a cluster node, the following all work:
nslookup <fq service name> <dns ip>
curl <service ip>:<port>
nslookup <external load balancer hostname>
kube-proxy is running
What doesn’t work:
curl <external load balancer hostname>:<port>: Empty reply from server
curl <external load balancer ip>:<port>: Empty reply from server
I have another service running in the system that works just fine (meaning
curl <load balancer host>:<port> returns something). I looked at the iptables entries for both services, but there doesn’t appear to be anything obvious missing for the non-working service.
(The one thing that didn’t agree with what Debug Services - Kubernetes expects is the content of /etc/resolve.conf:
However, this doesn’t appear to impact the working service.)
Can anyone suggest some next steps to get to the heart of the problem?