Skip to content

Commit 783dcfa

Browse files
committed
Use separate node pool for code search
Signed-off-by: Davanum Srinivas <[email protected]>
1 parent 6b02e9f commit 783dcfa

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

apps/codesearch/deployment.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ spec:
2121
labels:
2222
app: codesearch
2323
spec:
24+
tolerations:
25+
- key: "codesearch"
26+
operator: "Equal"
27+
value: "true"
28+
effect: "NoSchedule"
29+
nodeSelector:
30+
cloud.google.com/gke-nodepool: "nap-c4-highmem-8"
2431
terminationGracePeriodSeconds: 30
2532
initContainers:
2633
- name: codesearch-fetch
@@ -45,11 +52,11 @@ spec:
4552
mountPath: /data
4653
resources:
4754
limits:
48-
cpu: 4
49-
memory: 16Gi
55+
cpu: 6
56+
memory: 24Gi
5057
requests:
51-
cpu: 4
52-
memory: 16Gi
58+
cpu: 6
59+
memory: 24Gi
5360
volumes:
5461
- name: config
5562
emptyDir: {}

0 commit comments

Comments
 (0)