We are running singularity with Mesos.
we configure the job with numPorts config option
singularityDeploy:
resources:
numPorts: 3
We can see that job is given with 3 ports PORT0, PORT1, PORT2, that are exactly what we expect.
The question is about values of these ports.
For example, we are given
PORT0=31842
PORT1=31843
PORT2=31844
In this example PORT0 < PORT1 < PORT2
And the question is - does this statement always hold or port values can be different ?
For example:
PORT0=31842
PORT1=31855
PORT2=31856
I am asking because we are considering using of port ranges for some our applications (like PORT0 - PORT2)
I did not find the answer in documentation.
Thanks.
We are running singularity with Mesos. we configure the job with
numPorts
config optionWe can see that job is given with 3 ports
PORT0
,PORT1
,PORT2
, that are exactly what we expect. The question is about values of these ports. For example, we are givenIn this example
PORT0 < PORT1 < PORT2
And the question is - does this statement always hold or port values can be different ? For example:I am asking because we are considering using of port ranges for some our applications (like
PORT0
-PORT2
) I did not find the answer in documentation. Thanks.