Merge pull request #106 from HideyoshiSolutions/staging
Staging - Adds Node Affinity
This commit is contained in:
@@ -13,6 +13,8 @@ spec:
|
||||
labels:
|
||||
app: backend
|
||||
spec:
|
||||
nodeSelector:
|
||||
${WORKER_NODE_LABEL}
|
||||
containers:
|
||||
- name: backend
|
||||
image: yoshiunfriendly/backend-hideyoshi.com
|
||||
|
||||
@@ -15,6 +15,8 @@ spec:
|
||||
labels:
|
||||
app: frontend
|
||||
spec:
|
||||
nodeSelector:
|
||||
${WORKER_NODE_LABEL}
|
||||
containers:
|
||||
- name: frontend
|
||||
image: yoshiunfriendly/frontend-hideyoshi.com:latest
|
||||
|
||||
@@ -19,5 +19,9 @@ spec:
|
||||
memory: "128Mi"
|
||||
cpu: "75m"
|
||||
|
||||
affinity:
|
||||
nodeSelector:
|
||||
${MASTER_NODE_LABEL}
|
||||
|
||||
monitoring:
|
||||
enablePodMonitor: true
|
||||
|
||||
@@ -13,6 +13,8 @@ spec:
|
||||
labels:
|
||||
app: storage-processor
|
||||
spec:
|
||||
nodeSelector:
|
||||
${WORKER_NODE_LABEL}
|
||||
containers:
|
||||
- name: storage-processor
|
||||
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||
|
||||
@@ -13,6 +13,8 @@ spec:
|
||||
labels:
|
||||
app: storage
|
||||
spec:
|
||||
nodeSelector:
|
||||
${WORKER_NODE_LABEL}
|
||||
containers:
|
||||
- name: storage
|
||||
image: yoshiunfriendly/storage-hideyoshi.com:latest
|
||||
|
||||
Reference in New Issue
Block a user