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

WEBHOOK_URL pointing to an cluster service svc.cluster.local fail #598

Closed
zaggash opened this issue Apr 15, 2021 · 2 comments
Closed

WEBHOOK_URL pointing to an cluster service svc.cluster.local fail #598

zaggash opened this issue Apr 15, 2021 · 2 comments

Comments

@zaggash
Copy link

zaggash commented Apr 15, 2021

Keel: 0.16.1
WEBHOOK_URL configured to reach an internal service: http://myservice.namespace.svc.cluster.local:5000

The logs reports failed to send the notification message with:

 Could not dial broker: dial tcp: lookup myservice.namespace.svc.cluster.local device or resource busy

However, if I set the same webhook service as a sidecar along with keel, and WEBHOOK_URL=http://127.0.0.1:5000, it works like a charm.

Could it be possible the issue below is related?
segmentio/kafka-go#285
golang/go#35067

@boomfly
Copy link

boomfly commented May 23, 2022

This is alpine issue.
I found workaround.
Add these to keel deployment:

command: ['/bin/sh', '-c', 'apk add bind-tools && /bin/keel']

env:
- name: GODEBUG
   value: netdns=go

dnsConfig:
  options:
  - name: ndots
    value: '2'

bind-tools: stackoverflow

@zaggash
Copy link
Author

zaggash commented Oct 24, 2022

Closing for inactivity.
Do not use the product anymore to follow up on it.

@zaggash zaggash closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2022
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

2 participants