Proxy Subresource #1161
Labels
api
Api abstraction related
client
http issues with the client
client-gold
gold client requirements
help wanted
Not immediately prioritised, please help!
question
Direction unclear; possibly a bug, possibly could be improved.
With #127 nearing completion, there's actually only one special subresource left;
proxy
(which has its own verb).Described in kubernetes.io/../proxies it describes a method to connect to services from outside the cluster using the
proxy
verb. See also a TL;DR stackoverflow answer.The allowed http methods are the same for
Pod
,Service
andNode
. See e.g. Node methods):e.g. we, at the very least, need some
Api
methods protected by aProxy
trait and implemented by:in
kube-client
.Prior Art
OpenEBS Mayastor control plane has a forwarding crate using the /proxy verb:
Previous proxy-like work; how to setup kube-client with a custom proxy connector, but that's more for supporting
config.proxy_url
.Discussion
Not sure how to approach this in kube. My gut feel is something similar to
portforward.rs
, but we have also left client proxying up to custom clients (via user-supplied connectors).There's ultimately no discussion about it currently so putting in an issue to gauge interest (plus i want to stash some tabs). If people have thoughts or ideas about this, comments are welcome.
The text was updated successfully, but these errors were encountered: