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

Don't return duplicate ports from SRV query #1656

Open
tpantelis opened this issue Oct 2, 2024 · 0 comments
Open

Don't return duplicate ports from SRV query #1656

tpantelis opened this issue Oct 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working priority:medium

Comments

@tpantelis
Copy link
Contributor

tpantelis commented Oct 2, 2024

If a service is defined with two ports with the same port number but different protocols, eg

Ports: []corev1.ServicePort{
    {
        Name:     "tcp",
        Port:     42,
        Protocol: corev1.ProtocolTCP,
    },
    {
        Name:     "udp",
        Port:     42,
        Protocol: corev1.ProtocolUDP,
    },
},

LH returns both records:

0 50 42 hello.mcs-conformance-1655466269.svc.clusterset.local
0 50 42 hello.mcs-conformance-1655466269.svc.clusterset.local

while a .svc.cluster.local query returns only one of them. LH should do the same.

@tpantelis tpantelis added the bug Something isn't working label Oct 2, 2024
@tpantelis tpantelis self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:medium
Projects
Status: Backlog
Development

No branches or pull requests

2 participants