File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ services:
4545 failure_action: rollback
4646 parallelism: 1
4747 placement:
48- constraints:
48+ constraints: ${OPS_REGISTRY_PLACEMENT_CONSTRAINTS}
4949 - node.labels.ops==true
5050 resources:
5151 limits:
5252 memory: 1G
53- cpus: '6'
53+ cpus: ${OPS_REGISTRY_CPU_LIMIT}
5454 reservations:
5555 memory: 128M
5656 cpus: '0.1'
@@ -121,8 +121,7 @@ services:
121121 parallelism: 1
122122 placement:
123123 constraints:
124- - node.labels.gpu!=true
125- - node.labels.dynamicsidecar!=true
124+ - node.labels.ops==true
126125 resources:
127126 limits:
128127 memory: 1G
Original file line number Diff line number Diff line change 11STACK_NAME = ${ STACK_NAME }
22
33OPS_REGISTRY_REPLICAS = ${ OPS_REGISTRY_REPLICAS }
4+ OPS_REGISTRY_PLACEMENT_CONSTRAINTS = ${ OPS_REGISTRY_PLACEMENT_CONSTRAINTS }
5+ OPS_REGISTRY_CPU_LIMIT = ${ OPS_REGISTRY_CPU_LIMIT }
46
57REGISTRY_DOMAIN = ${ REGISTRY_DOMAIN }
68
You can’t perform that action at this time.
0 commit comments