hok-helm icon indicating copy to clipboard operation
hok-helm copied to clipboard

Services for datanode pods incorrect

Open pwharned opened this issue 4 years ago • 0 comments

Using WebHDFS to access HDFS does not work because of the way the services are set up for datanode-1 and datanode-2 Screen Shot 2021-01-29 at 4 18 57 PM

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.

pwharned avatar Jan 29 '21 22:01 pwharned