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

Issue with admin #42

Open
esteban1983cl opened this issue Mar 24, 2021 · 2 comments
Open

Issue with admin #42

esteban1983cl opened this issue Mar 24, 2021 · 2 comments

Comments

@esteban1983cl
Copy link

esteban1983cl commented Mar 24, 2021

Hi, I have deployed the rethinkdb cluster in eks 1.13 following the statefulset folder instructions, but the admin deployment doesn't work:

Here is the log from admin deployment:

Using additional CLI flags:
Pod IP: 10.3.116.2
Pod namespace: default
Using service name: rethinkdb
Using server name: rethinkdb_admin_7c76b6b49_dvfgg
Checking for other nodes...
Using endpoints to lookup other nodes...
Endpoint url: https://10.100.0.1:443/api/v1/namespaces/default/endpoints/rethinkdb
Looking for IPs...
jq: error: Cannot iterate over null
No other nodes detected, will be a single instance.
Cannot start in proxy mode without endpoints.

thanks, please help

@esteban1983cl
Copy link
Author

OK, I found the solution looking the docker image and run.sh script:
In admin deployment add the USE_SERVICE_LOOKUP variable:

- name: POD_IP
  valueFrom:
     fieldRef:
       apiVersion: v1
       fieldPath: status.podIP
- name: RETHINK_CLUSTER
  value: rethinkdb
- name: USE_SERVICE_LOOKUP
  value: "true"

You need update the docs
Thanks for this app bro, very useful

@rosskukulinski
Copy link
Owner

Hi @esteban1983cl would this PR fix the issue? #43

I'm not really working on this or using it, so i'm surprised it's still working!

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

Successfully merging a pull request may close this issue.

2 participants