use slightly larger GKE nodes due to Insufficient cpu errors

Error observed during deploying the Pinniped Supervisor was...

Pending: Unschedulable, message: 0/3 nodes are available: 3 Insufficient
cpu. no new claims to deallocate, preemption: 0/3 nodes are available:
3 No preemption victims found for incoming pod.
This commit is contained in:
Ryan Richard
2026-01-21 14:10:26 -08:00
parent 801591fed0
commit 3d740e90c1
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2026 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
@@ -18,7 +18,7 @@ if [[ -n "$CLUSTER_REGION" ]]; then
region_or_zone_flag="--region=$CLUSTER_REGION"
region_or_zone_suffix="region-$CLUSTER_REGION"
# regional clusters have 3 nodes (one per zone, minimum 3 zones), so use a smaller machine type
machine_type="e2-medium"
machine_type="e2-standard-2"
else
region_or_zone_flag="--zone=$CLUSTER_ZONE"
region_or_zone_suffix="zone-$CLUSTER_ZONE"