REFACTOR(k8s): remove hostPath and nodeSelector
- Remove hostPath volume configuration - Remove nodeSelector for flexible scheduling
This commit is contained in:
@@ -70,15 +70,4 @@ spec:
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
# cpu: removed to prevent throttling
|
||||
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:
|
||||
path: /home/ubuntu/Projects
|
||||
type: Directory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user