Skip to content
Snippets Groups Projects
Commit db540455 authored by Sören Henning's avatar Sören Henning
Browse files

Make instances setable

parent 1a5e06b2
No related branches found
No related tags found
2 merge requests!33Fix workload generation for benchmark UC2,!32Draft: Create instances count as required
Pipeline #825 passed
...@@ -6,7 +6,7 @@ spec: ...@@ -6,7 +6,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: titan-ccp-load-generator app: titan-ccp-load-generator
replicas: 1 replicas: {{INSTANCES}}
template: template:
metadata: metadata:
labels: labels:
...@@ -31,3 +31,9 @@ spec: ...@@ -31,3 +31,9 @@ spec:
value: "4" value: "4"
- name: NUM_NESTED_GROUPS - name: NUM_NESTED_GROUPS
value: "{{NUM_NESTED_GROUPS}}" value: "{{NUM_NESTED_GROUPS}}"
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: INSTANCES
value: "{{INSTANCES}}"
...@@ -6,7 +6,7 @@ spec: ...@@ -6,7 +6,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: titan-ccp-load-generator app: titan-ccp-load-generator
replicas: 1 replicas: {{INSTANCES}}
template: template:
metadata: metadata:
labels: labels:
...@@ -27,3 +27,9 @@ spec: ...@@ -27,3 +27,9 @@ spec:
value: "http://my-confluent-cp-schema-registry:8081" value: "http://my-confluent-cp-schema-registry:8081"
- name: NUM_SENSORS - name: NUM_SENSORS
value: "{{NUM_SENSORS}}" value: "{{NUM_SENSORS}}"
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: INSTANCES
value: "{{INSTANCES}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment