Nick Ethier
9e96971a75
cli: display group ports and address in alloc status command output ( #6189 )
...
* cli: display group ports and address in alloc status command output
* add assertions for port.To = -1 case and convert assertions to testify
2019-08-27 23:59:36 -04:00
Preetha Appan
99eca85206
Scheduler changes to support network at task group level
...
Also includes unit tests for binpacker and preemption.
The tests verify that network resources specified at the
task group level are properly accounted for
2019-07-31 01:04:08 -04:00
Alex Dadgar
bac5cb1e8b
Scheduler uses allocated resources
2018-10-02 17:08:25 -07:00
Alex Dadgar
e51bc66680
Shrink dynamic port range
...
This PR shrinks the dynamic port range to not overlap with most
operating systems ephemeral port range: https://en.wikipedia.org/wiki/Ephemeral_port
2017-07-18 13:47:53 -07:00
Diptanu Choudhury
d81b20c1a6
Fix network port collisions when asking for dyn ports
2016-08-11 16:18:45 -07:00
Alex Dadgar
5a37e720c5
Fixes plus address feedback
2016-08-10 16:37:26 -07:00
Alex Dadgar
b8fd989d3a
Try stochastic and fallback to precise
2016-08-10 11:47:20 -07:00
Alex Dadgar
9089a279a1
Set difference when picking random ports
2016-08-05 16:08:35 -07:00
Alex Dadgar
8b45e2c474
Check if network asks have changed when checking task updates
2016-05-05 21:32:01 -07:00
Armon Dadgar
9784bb7285
nomad: cache bitmaps to avoid GC pressure
2016-02-20 12:18:22 -08:00
Armon Dadgar
bdcc922247
nomad: use bitmap for port collision checking
2016-02-20 12:08:27 -08:00
Alex Dadgar
9b99eeeec4
Remove shared reference to network resources across allocs
2015-11-23 16:32:30 -08:00
Diptanu Choudhury
4e05b27111
Implemented port labeling and driver configs
2015-11-16 13:10:57 -08:00
Chris Bednarski
0060ac933f
Add dynamic ports to api resources; copy dynamic ports into offer
2015-09-23 18:01:49 -07:00
Chris Bednarski
6dc1a9b43c
Initialize error 'no networks avaialable' before yielding to find an IP address (maybe there are no IP addresses)
2015-09-22 18:33:29 -07:00
Chris Bednarski
168c959497
Added named ports
2015-09-22 13:59:16 -07:00
Armon Dadgar
f575b07827
nomad: fixing unit tests
2015-09-13 18:46:40 -07:00
Armon Dadgar
3690565f5a
nomad: adding reason network offer failed
2015-09-13 16:40:53 -07:00
Armon Dadgar
1884296ff8
nomad: remove PortsOvercommited in favor of NetworkIndex
2015-09-13 14:56:51 -07:00
Armon Dadgar
c21ff50107
nomad: exposing IntContains
2015-09-13 14:36:33 -07:00
Armon Dadgar
e901b0a1ca
nomad: moving network index
2015-09-13 14:35:28 -07:00