Merge pull request #106 from HideyoshiSolutions/staging

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

View File

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

View File

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

View File

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

View File

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

View File

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