mirror of
https://github.com/google/nomulus
synced 2026-01-05 04:56:03 +00:00
Adjust proxy resource allocation and update nomulus compute class (#2814)
This commit is contained in:
@@ -31,9 +31,9 @@ do
|
||||
echo "Updating cluster ${parts[0]} in zone ${parts[1]}..."
|
||||
gcloud container clusters get-credentials "${parts[0]}" \
|
||||
--project "${project}" --zone "${parts[1]}"
|
||||
kubectl apply -f "./kubernetes/proxy-limit-range.yaml" --force
|
||||
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
|
||||
|
||||
@@ -7,8 +7,8 @@ spec:
|
||||
limits:
|
||||
- type: Container
|
||||
default:
|
||||
cpu: "300m"
|
||||
cpu: "600m"
|
||||
memory: "512Mi"
|
||||
defaultRequest:
|
||||
cpu: "100m"
|
||||
cpu: "400m"
|
||||
memory: "350Mi"
|
||||
|
||||
Reference in New Issue
Block a user