mesos / mesos-go

Go language bindings for Apache Mesos
Apache License 2.0
545 stars 146 forks source link

LaunchNestedContainer and agent.proto in 1.2.x #309

Closed athlum closed 7 years ago

athlum commented 7 years ago

Hi. According to https://github.com/apache/mesos/blob/master/docs/nested-container-and-task-group.md#new-agent-api. To implement TaskGroup, we need the go-compiled https://github.com/apache/mesos/blob/1.2.x/include/mesos/agent/agent.proto file at least. Do you guys have any plans on LaunchGroup? It is so great that we have go sdk for mesos-1.2.x now.

Thanks for any reply.

jdef commented 7 years ago

If you want to launch a pod you don't need the agent API, you can use the LAUNCH_GROUP operation upon accepting offers from the framework: https://github.com/apache/mesos/blob/1.2.x/include/mesos/v1/mesos.proto#L1439

Or, are you trying to do something more complicated with the agent API? If so, I started hacking on agent API support (#308) and bumped into a few small issues, nothing major. Hoping to wrap it up sooner than later.

On Wed, Jul 19, 2017 at 10:48 PM, athlum notifications@github.com wrote:

Hi. According to https://github.com/apache/mesos/blob/master/docs/nested- container-and-task-group.md#new-agent-api. To implement TaskGroup, we need the go-compiled https://github.com/apache/mesos/blob/1.2.x/include/ mesos/agent/agent.proto file at least. Do you have any plans on LaunchGroup? It is really great that we have go sdk for mesos-1.2.x now.

Thanks for any reply.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mesos/mesos-go/issues/309, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPVLGEhGrfgoZ2jm1fxQ-OEfwfInGZzks5sPsAMgaJpZM4OdicV .