diff --git a/execution/README.md b/execution/README.md index cdb46a5c74bfa106a30a5ce8e347fac12b146d9d..7b0a4dc6b76c9a4c9331c14962e90eb35146ae94 100644 --- a/execution/README.md +++ b/execution/README.md @@ -245,7 +245,7 @@ Kubernetes volume. ### Configuration -Be sure, that the names of the configmap corresponds correctly to the specifications of the mounted `configmaps`, `volumes`, `mountPath`. +Be sure, that the names of the configmap corresponds correctly to the specifications of the mounted `configmaps`, `volumes`, `mountPath`. In particular: The name of the execution file and the benchmark file must match the value of the corresponding environment variable. ### Domain Restriction diff --git a/execution/theodolite-kotlin.yaml b/execution/theodolite-kotlin.yaml deleted file mode 100644 index a6f0c09b3e204961f5e72318ad8545a97868bcb6..0000000000000000000000000000000000000000 --- a/execution/theodolite-kotlin.yaml +++ /dev/null @@ -1,56 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: theodolite-kotlin-test -spec: - template: - spec: - securityContext: - runAsUser: 0 - containers: - - name: lag-analysis - image: ghcr.io/cau-se/theodolite-slo-checker-lag-trend:theodolite-kotlin-latest - ports: - - containerPort: 80 - name: analysis - - name: theodolite - image: benediktwetzel/theodolite-test #ghcr.io/cau-se/theodolite:theodolite-kotlin-latest - imagePullPolicy: Always - # command: ["/bin/sh", "-ec", "while :; do echo '.'; sleep 5 ; done"] - env: - - name: NAMESPACE - value: theodolite-she - - name: MODE - value: yaml-executor - - name: THEODOLITE_EXECUTION - value: /etc/execution/example-execution-yaml-resource.yaml - - name: THEODOLITE_BENCHMARK - value: /etc/benchmark/example-benchmark-yaml-resource.yaml - - name: THEODOLITE_APP_RESOURCES - value: /etc/app-resources - volumeMounts: - - mountPath: "/deployments/results" - name: theodolite-pv-storage - - mountPath: "/etc/app-resources" - name: app-resources - - mountPath: "/etc/benchmark" - name: benchmark - - mountPath: "/etc/execution" - name: execution - restartPolicy: Never - # Uncomment if RBAC is enabled and configured - serviceAccountName: theodolite - volumes: - - name: theodolite-pv-storage - persistentVolumeClaim: - claimName: theodolite-pv-claim - - name: app-resources - configMap: - name: app-resources-configmap - - name: benchmark - configMap: - name: benchmark-configmap - - name: execution - configMap: - name: execution-configmap - backoffLimit: 4 \ No newline at end of file diff --git a/execution/theodolite.yaml b/execution/theodolite.yaml index bf40f2f4f8e6993bfd9f6cd73c8273cc11c4763f..c9fcf7e3f83621d352df0ad1ecf8905b2dd20d6d 100644 --- a/execution/theodolite.yaml +++ b/execution/theodolite.yaml @@ -14,7 +14,7 @@ spec: - containerPort: 80 name: analysis - name: theodolite - image: lorenzboguhn/thedolite #benediktwetzel/theodolite-test #ghcr.io/cau-se/theodolite:theodolite-kotlin-latest + image: ghcr.io/cau-se/theodolite:theodolite-kotlin-latest imagePullPolicy: Always env: - name: NAMESPACE