Skip to content

[QUESTION/HELP] Cannot establish websocket connections with pods in k3d-deployed clusters #979

Answered by iwilltry42
gbates101 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gbates101 , thanks for opening this issue!
Here's the solution to the actual k3d issue part:

When attempting to create a cluster without a loadbalancer, I cannot define a port (for a NodePort service or otherwise) without receiving this error (and mapping no ports means I can't expose services):

ports:
  - port: 8080:32080
    nodeFilters:
      - agent:0:direct # direct: do not go via k3d-proxy (doesn't exist anyway now), 0: because you cannot direct map the same port to multiple containers

For the other part: k3d-proxy does a simple proxy_pass and nothing else, so I wonder how it could be blocking here, but you can check the logs inside 👍

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gbates101
Comment options

@gbates101
Comment options

@iwilltry42
Comment options

Answer selected by gbates101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #967 on February 17, 2022 18:53.