You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/11/19 19:25:34 UTC

[jira] [Comment Edited] (MESOS-2131) Add a reverse proxy endpoint to mesos

    [ https://issues.apache.org/jira/browse/MESOS-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218273#comment-14218273 ] 

Dominic Hamon edited comment on MESOS-2131 at 11/19/14 6:25 PM:
----------------------------------------------------------------

warning: bikeshed!

{noformat}
/proxy could list the endpoints (as links!)
/proxy/{name} could then proxy
{noformat}



was (Author: dhamon):
warning: bikeshed!

/proxy could list the endpoints (as links!)
/proxy/{name} could then proxy


> Add a reverse proxy endpoint to mesos
> -------------------------------------
>
>                 Key: MESOS-2131
>                 URL: https://issues.apache.org/jira/browse/MESOS-2131
>             Project: Mesos
>          Issue Type: Improvement
>          Components: master, slave
>            Reporter: Cody Maloney
>            Assignee: Cody Maloney
>            Priority: Minor
>
> A new libprocess Process inside mesos which allows attaching/detaching known endpoints at a specific path.
> Ideally I want to be able to do things like attach 'slave-id' and pass HTTP requests on to that slave:
> Sample endpoint actions:
> C++ api:
> attach(std::string name, Node target): Add a new reverse proxy path
> detach(std::string name): Remove an established reverse proxy path
> HTTP endpoints:
> /proxy/go/{name}
>  - Prefix matches a path, forwards the remaining path onto the remote endpoin
> /proxy/debug.json
>  - Prints out all attached endpoints.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)