diff --git a/execution/infrastructure/kubernetes/volume-oci-access.yaml b/execution/infrastructure/kubernetes/volume-oci-access.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7c129600f8c6168f06ddcf2865ff29bc4e3c942c --- /dev/null +++ b/execution/infrastructure/kubernetes/volume-oci-access.yaml @@ -0,0 +1,20 @@ +apiVersion: v1 +kind: Pod +metadata: + name: theodolite-results-access +spec: + restartPolicy: Always + containers: + - name: theodolite-results-access + image: busybox:latest + command: + - sh + - -c + - exec tail -f /dev/null + volumeMounts: + - mountPath: /app/results + name: theodolite-pv-storage + volumes: + - name: theodolite-pv-storage + persistentVolumeClaim: + claimName: theodolite-pv-claim diff --git a/execution/infrastructure/kubernetes/volume-oci.yaml b/execution/infrastructure/kubernetes/volume-oci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..39d267011661b56021f7e716d860ab427608ed05 --- /dev/null +++ b/execution/infrastructure/kubernetes/volume-oci.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: theodolite-pv-claim +spec: + storageClassName: "oci-bv" + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi