Nomad 1.5.6 set cpu values, but can not share cpu cores

Hi Everyone,
I have three nomad client nodes. Each node has 8 cores cpu, I allocate 3 docker containers on one node.
Host Resource Utilization: 1cpu
1st container: 1 cpu
{ “CPU”: 1000,
“Cores”: 0,}
2nd container: 2 cpu
{ “CPU”: 2000,
“Cores”: 0,}
3rd container: 4 cpu
{ “CPU”: 4000,
“Cores”: 0,}
I set CPU values instead of Cores, but I enlarge 1st container cpu from 1 cpu to 2 cpu, It show error message as following:

  • Class dev filtered 3 nodes
  • Constraint ${attr.unique.network.ip-address} = 10.X.X.X filtered 3 nodes
  • Resources exhausted on 1 node
  • Class dev exhausted on 1 node
  • Dimension cpu exhausted on 1 node
    image



Thanks~