hok-helm
hok-helm copied to clipboard
Services for datanode pods incorrect
Using WebHDFS to access HDFS does not work because of the way the services are set up for datanode-1 and datanode-2
I put an nginx proxy in front to handle redirects. - you see that requests to datanode-1 and 2 time out.
I fixed this by editing the service yaml for datanode-1 and 2
kubectl edit svc datanode-1
from
selector:
pod_name: datanode-1
to
selector:
app: datanode
datenode-0 had the correct selector.