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

[BUG] k3d proxy doesn't expose udp port properly #489

Closed
k0da opened this issue Feb 9, 2021 · 1 comment
Closed

[BUG] k3d proxy doesn't expose udp port properly #489

k0da opened this issue Feb 9, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@k0da
Copy link
Contributor

k0da commented Feb 9, 2021

What did you do

  • How was the cluster created?

    • k3d cluster create coredns-crd -p "1053:53/udp@loadbalancer" --k3s-server-arg "--no-deploy=traefik,metrics-server"
  • What did you do afterwards?

    • Install coredns with LB service type

What did you expect to happen

dig @localhost -p1053 would reach coredns service inside cluster

Screenshots or terminal output

When exposing udp port, nginx shoudl be explicitly instructed to listen on udp, otherwise tcp is used.

Which OS & Architecture

  • Linux, Windows, MacOS / amd64, x86, ...?

Which version of k3d

  • k3d version v4.1.1

Which version of docker

 Version:           20.10.2
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        2291f61
 Built:             Mon Dec 28 16:12:42 2020
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true
@iwilltry42
Copy link
Member

Hi @k0da , thanks for opening this issue and especially providing a fix already 👍

@iwilltry42 iwilltry42 added this to the v4.1.2 milestone Feb 9, 2021
rancherio-gh-m pushed a commit that referenced this issue Feb 9, 2021
Author: Dinar Valeev <k0da@opensuse.org>
Date:   Tue Feb 9 16:48:44 2021 +0100

    [FIX] Fix udp service access through k3d-proxy (fixes #489) (#488, @k0da)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants