I have a proxy running in an mTLS enabled cluster which allows users to spin up webapps, eavh hosted in a user-specific child pod. The proxy deals with mapping users to pods, deleting unused pods and masking internal addresses from the end user.
Each child pod & its service has a random name, but all have common labels.
The proxy needs to communicate with each child via a websocket.
I currently have everything set up to access the proxy via istio-ingressgateway & websocket, and can curl the child services via HTTP from the proxy, but I’m unsure how to get websockets working between the proxy & the children.
Do I need a websocket-enabled virtualservice per child, using the mesh gateway, or is there a way to use selectors to write a single virtualservice that would enable websockets for all child pods?
Or am I completely confused & way off base here? Quite likely, as I’m struggling to find websocket examples online.