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

Add Pod UID and Nodename parameters to svcwatcher created EndPoints #204

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

Levovar
Copy link
Collaborator

@Levovar Levovar commented Mar 30, 2020

Solves #203
This is needed to be inline with how K8s in-built Service controller creates its own EPs.
Not doing so might break assumptions hard-coded into external DNS Controllers, such as CoreDNS.

Svcwatcher created EndpointAddresses after the modification for a StatefulSet managed Pod:

  • hostname: internal-processor-set-4
    ip: 10.240.1.104
    nodeName: 172.31.3.157
    targetRef:
    kind: pod
    name: internal-processor-set-4
    namespace: default
    resourceVersion: "12491055"
    uid: a20958ed-9196-433d-a75d-e3200f233f8d

This is needed to be inline with how K8s in-built Service controller creates its own EPs.
Not doing so might break assumptions hard-coded into external DNS Controllers, such as CoreDNS.
@Levovar Levovar linked an issue Mar 30, 2020 that may be closed by this pull request
@Levovar Levovar merged commit e9a7b3e into master Mar 30, 2020
@Levovar Levovar deleted the svcwatcher_update_eps branch March 30, 2020 14:09
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 this pull request may close these issues.

DNS resolution for services managed by Svc Watcher
1 participant