[
https://issues.apache.org/jira/browse/MESOS-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323767#comment-15323767
]
Avinash Sridharan commented on MESOS-5578:
------------------------------------------
Good point.
The only catch is that if blindly specify the `ipaddress` in the CNI_ARGS it
becomes a de-facto standard that any other plugin that supports static IP
address allocation will require to follow to. Would like to have this specified
in the spec so that we don't have to do plugin specific support.
> Support static address allocation in CNI
> ----------------------------------------
>
> Key: MESOS-5578
> URL: https://issues.apache.org/jira/browse/MESOS-5578
> Project: Mesos
> Issue Type: Task
> Components: containerization
> Affects Versions: 1.0.0
> Environment: Linux
> Reporter: Avinash Sridharan
> Assignee: Avinash Sridharan
> Labels: mesosphere
>
> Currently a framework can't specify a static IP address for the container
> when using the network/cni isolator.
> The `ipaddress` field in the `NetworkInfo` protobuf was designed for this
> specific purpose but since the CNI spec does not specify a means to allocate
> an IP address to the container the `network/cni` isolator cannot honor this
> field even when it is filled in by the framework.
> Creating this ticket to act as a place holder to track this limitation. As
> and when the CNI spec allows us to specify a static IP address for the
> container, we can resolve this ticket.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)