Skip to content

Commit 06bb3fa

Browse files
authored
Merge pull request #3971 from cloudfoundry/bonzofenix-fix-scalingengine-mta
(scalingengine): Sets default instances to 0 in main mta
2 parents bdf9402 + 2c5d25c commit 06bb3fa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/autoscaler/mta.tpl.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,22 @@ modules:
183183
GOFIPS140: v1.0.0
184184
GOTOOLCHAIN: local
185185
GOVERSION: go1.GO_MINOR_VERSION
186+
build-parameters:
187+
builder: custom
188+
commands:
189+
- echo "ignoring scheduler, dbtasks and eventgenerator" > /dev/null
190+
ignore: [ "scheduler", "dbtasks", "eventgenerator"]
186191
requires:
187192
- name: scalingengine-config
188193
- name: database
189194
- name: app-autoscaler-application-logs
190195
- name: app-autoscaler-dynatrace
196+
parameters:
197+
instances: 0 # overridden in build-extension-file.sh
198+
memory: 1G
199+
disk-quota: 1G
200+
stack: cflinuxfs4
201+
routes:
191202

192203
- name: scheduler
193204
type: java

0 commit comments

Comments
 (0)