1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00

Update proxy resources, increase ssl handshake timeout (#2819)

This commit is contained in:
Pavlo Tkach
2025-09-05 14:09:55 -04:00
committed by GitHub
parent 77ab80f3dc
commit 6bbd7a2290
9 changed files with 41 additions and 25 deletions

View File

@@ -31,7 +31,6 @@ 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-service.yaml" --force

View File

@@ -33,6 +33,13 @@ spec:
port: health-check
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: "400m"
memory: "350Mi"
limits:
cpu: "600m"
memory: "512Mi"
imagePullPolicy: Always
args: ["--env", "production_canary"]
env:

View File

@@ -33,6 +33,13 @@ spec:
port: health-check
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: "400m"
memory: "350Mi"
limits:
cpu: "600m"
memory: "512Mi"
imagePullPolicy: Always
args: ["--env", "production"]
env:

View File

@@ -33,6 +33,13 @@ spec:
port: health-check
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: "400m"
memory: "350Mi"
limits:
cpu: "600m"
memory: "512Mi"
imagePullPolicy: Always
args: ["--env", "sandbox_canary", "--log"]
env:

View File

@@ -33,6 +33,13 @@ spec:
port: health-check
initialDelaySeconds: 15
periodSeconds: 20
resources:
requests:
cpu: "400m"
memory: "350Mi"
limits:
cpu: "600m"
memory: "512Mi"
imagePullPolicy: Always
args: ["--env", "sandbox", "--log"]
env:

View File

@@ -1,14 +0,0 @@
apiVersion: v1
kind: LimitRange
metadata:
name: resource-limits
namespace: default
spec:
limits:
- type: Container
default:
cpu: "600m"
memory: "512Mi"
defaultRequest:
cpu: "400m"
memory: "350Mi"