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 de-registering randomly #59

Closed
tsmgeek opened this issue Jan 29, 2019 · 3 comments
Closed

services de-registering randomly #59

tsmgeek opened this issue Jan 29, 2019 · 3 comments

Comments

@tsmgeek
Copy link

tsmgeek commented Jan 29, 2019

Kubernetes Platform Version: 1.11.5 (eks.1)

I installed the consul-0.5.0 helm chart and enabled sync k8s->consul.
In the default setup services appear and disappear randomly, I am unable to see any pattern to what is happening.

There are logs such as these on startup but nothing else causing concern other than registering services for the most part.

2019-01-29T09:59:38.933Z [WARN ] to-consul/source: error loading initial endpoints: key=kafka/confluent-1-nodeport err="an empty namespace may not be set when a resource name is provided"
2019-01-29T10:00:13.564Z [INFO ] to-consul/sink: invalid service found, scheduling for delete: service-name=sentry
2019-01-29T10:32:17.364Z [WARN ] to-consul/source: error loading initial endpoints: key=testing/rocketchat err="an empty namespace may not be set when a resource name is provided"
2019-01-29T10:32:17.368Z [INFO ] to-consul/source: upsert: key=testing/rocketchat

I have done some checks and this is what i can see.

  • services randomly disappear between "registering services" log entries
  • services that have disappeared instantly show up again when "registering services" is shown
  • seems it just re-registers the missing services
  • happens with services that have any number of pods
  • ive tested 0.3.0 and 0.4.0
@adilyse
Copy link
Contributor

adilyse commented Feb 4, 2019

More details about this issue are available in #40, and it should be fixed by #63.

@adilyse adilyse closed this as completed Feb 4, 2019
@josephschadlick
Copy link

I am experiencing this same issue even after upgrading to consul-k8s v0.5.0 (consul-helm v0.6.0). I can't nail down the cause. Let me know if you require additional information or if I should open a new issue around this.

@tsmgeek
Copy link
Author

tsmgeek commented Feb 13, 2019

Confirmed that I am still seeing the issue, its not as bad as before but there are still some services that are disappearing.

ndhanushkodi pushed a commit to ndhanushkodi/consul-k8s that referenced this issue Jul 9, 2021
Make sure that provided join information is properly quoted
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

3 participants