Skip to content
Snippets Groups Projects
Commit 1b274cb0 authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

Fix order of environment variables in application yaml

The order of the environment variables is atm crucial for the
run uc py.
parent 153a5108
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ def start_application(svc_yaml, svc_monitor_yaml, jmx_yaml, deploy_yaml):
app_container['image'] = 'theodolite/theodolite-uc' + args.uc_id \
+ '-kstreams-app:latest'
# TODO: acces over name of attribute
app_container['env'][1]['value'] = str(args.commit_interval_ms)
app_container['env'][0]['value'] = str(args.commit_interval_ms)
app_container['resources']['limits']['memory'] = args.memory_limit
app_container['resources']['limits']['cpu'] = args.cpu_limit
try:
......
......@@ -20,12 +20,12 @@ spec:
- containerPort: 5555
name: jmx
env:
- name: COMMIT_INTERVAL_MS
value: "100"
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
- name: SCHEMA_REGISTRY_URL
value: "http://my-confluent-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS
value: "100"
- name: JAVA_OPTS
value: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5555"
resources:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment