1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Update resource allocation for proxy deployment (#2794)

Missing resource requests as well as metrics for when to evict resource
produced situation when under load k8s struggled to assign pods. This
adds default resource requirements based on 2 weeks metrics and
instructions when resource should be evicted.
This commit is contained in:
Pavlo Tkach
2025-08-08 11:35:22 -04:00
committed by GitHub
parent 5aa40b2208
commit 427f6db820
4 changed files with 30 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ do
--project "${project}" --zone "${parts[1]}"
sed s/GCP_PROJECT/${project}/g "./kubernetes/proxy-deployment-${environment}.yaml" | \
kubectl apply -f -
kubectl apply -f "./kubernetes/proxy-limit-range.yaml" --force
kubectl apply -f "./kubernetes/proxy-service.yaml" --force
# Alpha does not have canary
if [[ ${environment} != "alpha" ]]; then