Skip to content

Commit

Permalink
deployment: Remove node selector from application deployment
Browse files Browse the repository at this point in the history
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 <[email protected]>

Also removed from second app.

Signed-off-by: Patrick Ohly <[email protected]>
  • Loading branch information
avalluri authored and pohly committed May 2, 2019
1 parent f10f554 commit 8643040
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions deploy/kubernetes-1.13/pmem-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ spec:
volumeMounts:
- mountPath: "/data"
name: my-csi-volume
nodeSelector:
storage: pmem
volumes:
- name: my-csi-volume
persistentVolumeClaim:
Expand All @@ -29,8 +27,6 @@ spec:
volumeMounts:
- mountPath: "/data"
name: my-csi-volume
nodeSelector:
storage: pmem
volumes:
- name: my-csi-volume
persistentVolumeClaim:
Expand Down

0 comments on commit 8643040

Please sign in to comment.