Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

support the /api/v1betaN/proxy/services/$service/path and /api/v1betaN/proxy/pods/$podId:$port/path REST APIs from Kubernetes #239

Open
jstrachan opened this issue Feb 17, 2015 · 5 comments

Comments

@jstrachan
Copy link
Contributor

No description provided.

@davsclaus
Copy link
Member

Where should we support this in jube?

@davsclaus
Copy link
Member

Ah I guess its in the node module

@jstrachan
Copy link
Contributor Author

for jube we'd use a WAR and we'd just need a Servlet / Filter which implements the proxy; its like the current ProxyServlet but uses the /api/v1betaX/services/$foo/* to then lookup the portalIP / port in the kube REST API and forward the remaining path to that service. Ditto for pods.

i.e. this is part of the Kube REST API; its just we've never implemented it yet on jube. We'd need to implement this for the 2.x hawtio to work; as thats how hawtio 2.x talks to jolokia or other REST services (like the Api Library etc)

@jimmidyson
Copy link
Contributor

If we went down the jubelet path we wouldn't need to build this of course.

@jstrachan
Copy link
Contributor Author

yeah, agreed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants