Kubectl, SPDY and Websockets

603 views
Skip to first unread message

Rudy Bonefas

unread,
Jun 15, 2017, 4:07:06 PM6/15/17
to Kubernetes user discussion and Q&A
I have written a Java Proxy to the K8s api-server (1.6.2).  Everything works fine from kubectl (1.6.2) until I try to do an exec , which attempts to do an upgrade to SPDY/3.1.  Direct calls to the api-server to do an exec support the WebSocket protocol (I tried it out with the fabric8 IO library).  Does anyone know if there are any plans to upgrade kubectl to use WebSockets (or HTTP/2 calls for that matter) for exec calls so that I don't have to implement a SPDY listener on my proxy?


Daniel Smith

unread,
Jun 15, 2017, 6:26:01 PM6/15/17
to kubernet...@googlegroups.com
There aren't any concrete plans to do this at the moment, but eventually we will have to.

On Thu, Jun 15, 2017 at 1:07 PM, Rudy Bonefas <rudy...@gmail.com> wrote:
I have written a Java Proxy to the K8s api-server (1.6.2).  Everything works fine from kubectl (1.6.2) until I try to do an exec , which attempts to do an upgrade to SPDY/3.1.  Direct calls to the api-server to do an exec support the WebSocket protocol (I tried it out with the fabric8 IO library).  Does anyone know if there are any plans to upgrade kubectl to use WebSockets (or HTTP/2 calls for that matter) for exec calls so that I don't have to implement a SPDY listener on my proxy?


--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages