Kubectl proxy + websocket port forwarding?

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.22.2
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: kubeadm
Host OS: rhel7
CNI and version:
CRI and version:

Hi,

Should this generally work?

  1. Run kubectl proxy
  2. Create websocket request against v1/portForward API over kubectl proxy
  3. See WS frames with channel prefix byte.

I do receive data, but it seems like it stops to send and I miss data from remote pod.