diff --git a/kerasDeloyment.yaml b/kerasDeloyment.yaml index 4dbbf5a9460a01dced2732aa5caaa6dea3739fac..1cabc22ed1fda8b6e142ff25d5f9e07cff1682ff 100644 --- a/kerasDeloyment.yaml +++ b/kerasDeloyment.yaml @@ -35,6 +35,15 @@ spec: requests: memory: "32Gi" cpu: "4" + + volumeMounts: + - mountPath: /userdata/kerasData + name: modeltraining + volumes: + - name: modeltraining + persistentVolumeClaim: + claimName: modeltraining + affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: @@ -44,11 +53,3 @@ spec: operator: In # Use NotIn for other types values: - M40 - - volumeMounts: - - mountPath: /userdata/kerasData - name: modeltraining - volumes: - - name: modeltraining - persistentVolumeClaim: - claimName: modeltraining