FIX(deploy): add nodeSelector for master
- Add nodeSelector for master node scheduling - Fix MountVolume.SetUp failure for /home/ubuntu/Projects
This commit is contained in:
@@ -74,6 +74,8 @@ spec:
|
||||
volumeMounts:
|
||||
- name: projects
|
||||
mountPath: /mnt/projects
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: mayne-vcn # Only run on master node where Projects directory exists
|
||||
volumes:
|
||||
- name: projects
|
||||
hostPath:
|
||||
|
||||
Reference in New Issue
Block a user