From 8643040591f239d0ce05bf08a8d5422279ecadab Mon Sep 17 00:00:00 2001 From: Amarnath Valluri Date: Thu, 28 Mar 2019 15:54:01 +0200 Subject: [PATCH] deployment: Remove node selector from application deployment As we implemented csi topology, scheduler has to consider this and launch application only on node where the volume created, so applications need not be aware of "storage:pmem" label anymore. Signed-off-by: Amarnath Valluri Also removed from second app. Signed-off-by: Patrick Ohly --- deploy/kubernetes-1.13/pmem-app.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deploy/kubernetes-1.13/pmem-app.yaml b/deploy/kubernetes-1.13/pmem-app.yaml index 42263f665f..c4bd8f24b6 100644 --- a/deploy/kubernetes-1.13/pmem-app.yaml +++ b/deploy/kubernetes-1.13/pmem-app.yaml @@ -10,8 +10,6 @@ spec: volumeMounts: - mountPath: "/data" name: my-csi-volume - nodeSelector: - storage: pmem volumes: - name: my-csi-volume persistentVolumeClaim: @@ -29,8 +27,6 @@ spec: volumeMounts: - mountPath: "/data" name: my-csi-volume - nodeSelector: - storage: pmem volumes: - name: my-csi-volume persistentVolumeClaim: