Implements NodeSelector

This commit is contained in:
2024-02-17 01:32:01 -03:00
parent f5541bda9b
commit b436eee9d3
5 changed files with 12 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ spec:
labels:
app: backend
spec:
nodeSelector:
kubernetes.io/role: worker
containers:
- name: backend
image: yoshiunfriendly/backend-hideyoshi.com

View File

@@ -15,6 +15,8 @@ spec:
labels:
app: frontend
spec:
nodeSelector:
kubernetes.io/role: worker
containers:
- name: frontend
image: yoshiunfriendly/frontend-hideyoshi.com:latest

View File

@@ -19,5 +19,9 @@ spec:
memory: "128Mi"
cpu: "75m"
affinity:
nodeSelector:
kubernetes.io/role: master
monitoring:
enablePodMonitor: true

View File

@@ -13,6 +13,8 @@ spec:
labels:
app: storage-processor
spec:
nodeSelector:
kubernetes.io/role: worker
containers:
- name: storage-processor
image: yoshiunfriendly/storage-hideyoshi.com:latest

View File

@@ -13,6 +13,8 @@ spec:
labels:
app: storage
spec:
nodeSelector:
kubernetes.io/role: worker
containers:
- name: storage
image: yoshiunfriendly/storage-hideyoshi.com:latest