mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-06 08:07:08 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user