1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 14:05:44 +00:00

Downgrade node type for pubapi and console, enable bursting for frontend and backend (#2723)

This commit is contained in:
Pavlo Tkach
2025-03-28 15:14:33 -04:00
committed by GitHub
parent 8340125bf4
commit c15dec4419
4 changed files with 20 additions and 4 deletions

View File

@@ -14,8 +14,6 @@ spec:
service: pubapi
spec:
serviceAccountName: nomulus
nodeSelector:
cloud.google.com/compute-class: "Performance"
containers:
- name: pubapi
image: gcr.io/GCP_PROJECT/nomulus
@@ -24,8 +22,17 @@ spec:
name: http
resources:
requests:
# explicit pod-slots 0 is required in order to downgrade node
# class from performance, which has implicit pod-slots 1
cloud.google.com/pod-slots: 0
cpu: "100m"
memory: "512Mi"
limits:
# explicit pod-slots 0 is required in order to downgrade node
# class from performance, which has implicit pod-slots 1
cloud.google.com/pod-slots: 0
cpu: "500m"
memory: "2Gi"
args: [ENVIRONMENT]
env:
- name: POD_ID