Skip to content
Snippets Groups Projects

Replace Kubernetes YAML sed-replacements by Kustomize

Closed Björn Vonheiden requested to merge stu202077/theodolite:feature/kustomize into master

Closes #17 (closed)

Change infrastructure of Kubernetes files for the uc applications and workload generators. The new structure is:
--uc-application
---- base
---- overlay
-------uc1-application
-------uc2-application

Also use Kustomize for building the files for deployment

Edited by Sören Henning

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 944e370c - Fix names of docker images for workload generators

    Compare with previous version

  • added 1 commit

    • c4a9fa86 - fix wrong value type in application deployment

    Compare with previous version

  • mentioned in issue #52 (closed)

  • Sören Henning changed the description

    changed the description

  • Sören Henning changed milestone to %0.3.0

    changed milestone to %0.3.0

  • Björn Vonheiden added 106 commits

    added 106 commits

    Compare with previous version

  • Björn Vonheiden resolved all threads

    resolved all threads

    • Resolved by Sören Henning

      All in all this looks way cleaner than before. The only thing I don't really like are these parts:

      cat <<EOF >uuc-workload-generator/overlay/c4-workload-generator/set_paramters.yaml
      apiVersion: apps/v1
      kind: StatefulSet
      metadata:
        name: titan-ccp-load-generator
      spec:
        replicas: "$WL_INSTANCES"
        template:
          spec:
            containers:
            - name: workload-generator
              env:
              - name: NUM_SENSORS
                value: "$NUM_SENSORS"
              - name: INSTANCES
                value: "$WL_INSTANCES"
      EOF

      I'm still thinking a bit about whether we could clean up the code here.

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading