[
https://issues.apache.org/jira/browse/MESOS-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jie Yu updated MESOS-4487:
--------------------------
Story Points: 2 (was: 3)
> Introduce status() interface in `Containerizer`
> -----------------------------------------------
>
> Key: MESOS-4487
> URL: https://issues.apache.org/jira/browse/MESOS-4487
> Project: Mesos
> Issue Type: Improvement
> Components: containerization
> Reporter: Avinash Sridharan
> Assignee: Avinash Sridharan
> Labels: containerizer, mesosphere
>
> In the Containerizer, during container isolation, the isolators end up
> modifying the state of the containers. Examples would be IP address
> allocation to a container by the 'network isolator, or net_cls handle
> allocation by the cgroup/net_cls isolator.
> Often times the state of the container, needs to be exposed to operators
> through the state.json end-point. For e.g. operators or frameworks might want
> to know the IP-address configured on a particular container, or the net_cls
> handle associated with a container to configure the right TC rules. However,
> at present, there is no clean interface for the slave to retrieve the state
> of a container from the Containerizer for any of the launched containers.
> Thus, we need to introduce a `status` interface in the `Containerizer` base
> class, in order for the slave to expose container state information in its
> state.json.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)