Merge pull request #105 from HideyoshiSolutions/adds-node-affinity-and-descheduler

Adds Node Affinity
This commit is contained in:
2024-09-05 02:25:23 -03:00
committed by GitHub
5 changed files with 12 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ spec:
labels: labels:
app: backend app: backend
spec: spec:
nodeSelector:
${WORKER_NODE_LABEL}
containers: containers:
- name: backend - name: backend
image: yoshiunfriendly/backend-hideyoshi.com image: yoshiunfriendly/backend-hideyoshi.com

View File

@@ -15,6 +15,8 @@ spec:
labels: labels:
app: frontend app: frontend
spec: spec:
nodeSelector:
${WORKER_NODE_LABEL}
containers: containers:
- name: frontend - name: frontend
image: yoshiunfriendly/frontend-hideyoshi.com:latest image: yoshiunfriendly/frontend-hideyoshi.com:latest

View File

@@ -19,5 +19,9 @@ spec:
memory: "128Mi" memory: "128Mi"
cpu: "75m" cpu: "75m"
affinity:
nodeSelector:
${MASTER_NODE_LABEL}
monitoring: monitoring:
enablePodMonitor: true enablePodMonitor: true

View File

@@ -13,6 +13,8 @@ spec:
labels: labels:
app: storage-processor app: storage-processor
spec: spec:
nodeSelector:
${WORKER_NODE_LABEL}
containers: containers:
- name: storage-processor - name: storage-processor
image: yoshiunfriendly/storage-hideyoshi.com:latest image: yoshiunfriendly/storage-hideyoshi.com:latest

View File

@@ -13,6 +13,8 @@ spec:
labels: labels:
app: storage app: storage
spec: spec:
nodeSelector:
${WORKER_NODE_LABEL}
containers: containers:
- name: storage - name: storage
image: yoshiunfriendly/storage-hideyoshi.com:latest image: yoshiunfriendly/storage-hideyoshi.com:latest