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

Fix workload generator kubernetes yamls using string vor environment

The environment variables in the kubernetes files need to be a
string in order to be computed by kubernetes.
parent 209375ab
No related branches found
No related tags found
3 merge requests!42Integerate theodolite and run uc python scripts,!24run UC as python implementation,!19Replace Kubernetes YAML sed-replacements by Kustomize
This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
Showing with 11 additions and 23 deletions
......@@ -39,7 +39,7 @@ spec:
- name: workload-generator
env:
- name: NUM_NESTED_GROUPS
value: $NUM_NESTED_GROUPS
value: "$NUM_NESTED_GROUPS"
EOF
kubectl apply -k uc2-workload-generator
......
......@@ -42,9 +42,9 @@ spec:
- name: workload-generator
env:
- name: NUM_SENSORS
value: $NUM_SENSORS
value: "$NUM_SENSORS"
- name: INSTANCES
value: $WL_INSTANCES
value: "$WL_INSTANCES"
EOF
kubectl apply -k uc3-workload-generator
......
......@@ -39,7 +39,7 @@ spec:
- name: workload-generator
env:
- name: NUM_SENSORS
value: $NUM_SENSORS
value: "$NUM_SENSORS"
EOF
kubectl apply -k uc4-workload-generator
......
......@@ -21,7 +21,7 @@ spec:
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-confluent-cp-kafka:9092"
- name: NUM_SENSORS
value: 25000
value: "25000"
- name: POD_NAME
valueFrom:
fieldRef:
......
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: titan-ccp-aggregation
# Use all resources to compose them into one file
resources:
- deployment.yaml
......
......@@ -10,6 +10,6 @@ spec:
- name: workload-generator
env:
- name: NUM_SENSORS
value: 25000
value: "25000"
- name: INSTANCES
value: 1
value: "1"
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: titan-ccp-aggregation
# Use all resources to compose them into one file
resources:
- deployment.yaml
......
......@@ -10,4 +10,4 @@ spec:
- name: workload-generator
env:
- name: NUM_NESTED_GROUPS
value: 25000
value: "25000"
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: titan-ccp-aggregation
# Use all resources to compose them into one file
resources:
- deployment.yaml
......
......@@ -10,6 +10,6 @@ spec:
- name: workload-generator
env:
- name: NUM_SENSORS
value: 25000
value: "25000"
- name: INSTANCES
value: 1
value: "1"
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
app: titan-ccp-aggregation
# Use all resources to compose them into one file
resources:
- deployment.yaml
......
......@@ -10,4 +10,4 @@ spec:
- name: workload-generator
env:
- name: NUM_SENSORS
value: 25000
value: "25000"
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