diff --git a/k8s/data-processing-cluster/deployments/etl-gardener-disco.yml b/k8s/data-processing-cluster/deployments/etl-gardener-disco.yml index cf4b4619..fef7f8d1 100644 --- a/k8s/data-processing-cluster/deployments/etl-gardener-disco.yml +++ b/k8s/data-processing-cluster/deployments/etl-gardener-disco.yml @@ -83,5 +83,14 @@ spec: memory: "3Gi" cpu: "1" + volumeMounts: + - mountPath: /volume-claim + name: switch-storage + nodeSelector: gardener-node: "true" + + volumes: + - name: switch-storage + persistentVolumeClaim: + claimName: gardener-switch-disk0 diff --git a/k8s/data-processing-cluster/deployments/etl-gardener-ndt.yml b/k8s/data-processing-cluster/deployments/etl-gardener-ndt.yml index e442afef..2744ecc1 100644 --- a/k8s/data-processing-cluster/deployments/etl-gardener-ndt.yml +++ b/k8s/data-processing-cluster/deployments/etl-gardener-ndt.yml @@ -84,5 +84,15 @@ spec: memory: "3Gi" cpu: "1" + volumeMounts: + - mountPath: /volume-claim + name: ndt-storage + nodeSelector: gardener-node: "true" + + volumes: + - name: ndt-storage + persistentVolumeClaim: + claimName: gardener-ndt-disk0 + diff --git a/k8s/data-processing-cluster/deployments/etl-gardener-sidestream.yml b/k8s/data-processing-cluster/deployments/etl-gardener-sidestream.yml index ecfb9c1e..196097c2 100644 --- a/k8s/data-processing-cluster/deployments/etl-gardener-sidestream.yml +++ b/k8s/data-processing-cluster/deployments/etl-gardener-sidestream.yml @@ -84,5 +84,15 @@ spec: memory: "3Gi" cpu: "1" + volumeMounts: + - mountPath: /volume-claim + name: sidestream-storage + nodeSelector: gardener-node: "true" + + volumes: + - name: sidestream-storage + persistentVolumeClaim: + claimName: gardener-sidestream-disk0 + diff --git a/k8s/data-processing-cluster/persistentvolumes/persistent-volumes.yml b/k8s/data-processing-cluster/persistentvolumes/persistent-volumes.yml index c074f915..b61409b1 100644 --- a/k8s/data-processing-cluster/persistentvolumes/persistent-volumes.yml +++ b/k8s/data-processing-cluster/persistentvolumes/persistent-volumes.yml @@ -1,9 +1,48 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: auto-etl-gardener-disk0 + name: gardener-ndt-disk0 annotations: - volume.beta.kubernetes.io/storage-class: "fast" + volume.beta.kubernetes.io/storage-class: "slow" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: gardener-switch-disk0 + annotations: + volume.beta.kubernetes.io/storage-class: "slow" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: gardener-sidestream-disk0 + annotations: + volume.beta.kubernetes.io/storage-class: "slow" +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: gardener-tcpinfo-disk0 + annotations: + volume.beta.kubernetes.io/storage-class: "slow" spec: accessModes: - ReadWriteOnce