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

Fix errors in run uc scripts

- Replicas was String instead of int
- uc4 wl had wrong path for kustomize
parent c83d78ca
No related branches found
No related tags found
1 merge request!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.
......@@ -36,7 +36,7 @@ kind: StatefulSet
metadata:
name: titan-ccp-load-generator
spec:
replicas: "$WL_INSTANCES"
replicas: $WL_INSTANCES
template:
spec:
containers:
......
......@@ -29,13 +29,13 @@ NUM_SENSORS=$DIM_VALUE
WL_MAX_RECORDS=150000
WL_INSTANCES=$(((NUM_SENSORS + (WL_MAX_RECORDS -1 ))/ WL_MAX_RECORDS))
cat <<EOF >uuc-workload-generator/overlay/c4-workload-generator/set_paramters.yaml
cat <<EOF >uc-workload-generator/overlay/uc4-workload-generator/set_paramters.yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: titan-ccp-load-generator
spec:
replicas: "$WL_INSTANCES"
replicas: $WL_INSTANCES
template:
spec:
containers:
......
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