Skip to content
Snippets Groups Projects
Commit 8b688a90 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

clean up

parent 9b87efea
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!122Update Theodolite Kubernetes Job,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
......@@ -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
......
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
......@@ -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
......
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