Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Services for datanode pods incorrect #16

Open
pwharned opened this issue Jan 29, 2021 · 0 comments
Open

Services for datanode pods incorrect #16

pwharned opened this issue Jan 29, 2021 · 0 comments

Comments

@pwharned
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant