Skip to content

Replace Kubernetes YAML sed-replacements by Kustomize

Currently, the execution scripts contain a lot of such statements:

sed "s/{{NUM_SENSORS}}/$NUM_SENSORS/g; s/{{INSTANCES}}/$WL_INSTANCES/g" uc1-workload-generator/deployment.yaml | kubectl apply -f -

Here, configuration parameters (environment variables, replica counts etc.) are replaced using sed.

A way better solution would be using Kustomize.

Details should be discussed in person. This would fit into both, @stu202077 and @stu200776, topics.

Edited by Sören Henning