kubernetes / community

Kubernetes community content
Apache License 2.0
12.01k stars 5.17k forks source link

Websocket with socket.io on K8S, how to make it work? #7958

Closed joaolucasm closed 4 months ago

joaolucasm commented 4 months ago

Describe the issue

Hello everyone, I hope you are well

I'm having a problem when trying to open communication between my applications within Kubernetes. Currently client-server communicate through socket.io, but when adding it to kubernetes, I am having the following problem: server and client connect, I can know that they do from the server log, but no event exchange occurs!

I've searched everywhere on the internet, but the solutions I found were for GKE, and I'm running a cluster created by kubeadm, so they're not usable. Has anyone gone through something similar to this?

Some questions I can ask:

I've been searching for more than hours and no results, I'm running out of options, if anyone can help me I would be very grateful. Any additional information you need for something, just ask!

Cluster information:

Kubernetes version: 1.29.0 Cloud being used: bare-metal Installation method: kubeadm Host OS: CentOS 7 CNI and version: Calico CRI and version: Containerd

joaolucasm commented 4 months ago

/sig network

k8s-ci-robot commented 4 months ago

@joaolucasm: The label(s) wg/network, committee/network cannot be applied, because the repository doesn't have them.

In response to [this](https://github.com/kubernetes/community/issues/7958#issuecomment-2195320819): >/sig network >/wg network >/committee network Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
neolit123 commented 4 months ago

a better place to ask would be on the support channels. please see: https://git.k8s.io/kubernetes/SUPPORT.md

we keep this for bugs and feature requests only.

/kind support /close

k8s-ci-robot commented 4 months ago

@neolit123: Closing this issue.

In response to [this](https://github.com/kubernetes/community/issues/7958#issuecomment-2195472207): >a better place to ask would be on the support channels. please see: >https://git.k8s.io/kubernetes/SUPPORT.md > >we keep this for bugs and feature requests only. > >/kind support >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.