Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
1b274cb0
Commit
1b274cb0
authored
Sep 16, 2020
by
Björn Vonheiden
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
execution/run_uc.py
+1
-1
1 addition, 1 deletion
execution/run_uc.py
execution/uc-application/base/aggregation-deployment.yaml
+2
-2
2 additions, 2 deletions
execution/uc-application/base/aggregation-deployment.yaml
with
3 additions
and
3 deletions
execution/run_uc.py
+
1
−
1
View file @
1b274cb0
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
execution/uc-application/base/aggregation-deployment.yaml
+
2
−
2
View file @
1b274cb0
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment