Skip to content

GCP-428: set HighlyAvailable controllerAvailabilityPolicy for GKE Autopilot#56

Merged
jimdaga merged 1 commit intoapahim:mainfrom
jimdaga:GCP-428
Mar 12, 2026
Merged

GCP-428: set HighlyAvailable controllerAvailabilityPolicy for GKE Autopilot#56
jimdaga merged 1 commit intoapahim:mainfrom
jimdaga:GCP-428

Conversation

@jimdaga
Copy link
Copy Markdown
Collaborator

@jimdaga jimdaga commented Feb 26, 2026

Summary

  • Switches controllerAvailabilityPolicy default from SingleReplica to HighlyAvailable

Context

GKE Autopilot requires HighlyAvailable topology for proper pod scheduling. The previous SingleReplica default caused issues with pod placement on Autopilot clusters.

CPU request enforcement (minimum 500m for pods with anti-affinity) is handled separately by a MutatingAdmissionPolicy on the management cluster (gcp-hcp-infra#376), so resourceRequestOverrides annotations are no longer needed.

Changes

  • deployments/helm-cls-hypershift-client/values.yamlcontrollerAvailabilityPolicy: "HighlyAvailable"

Test plan

  • Deployed on dev cluster (jimd-ha23) with HighlyAvailable + MutatingAdmissionPolicy
  • All 33 HCP deployments and etcd StatefulSet running with 500m CPU
  • Cluster progressing through component availability

…ilot

Switch controllerAvailabilityPolicy to HighlyAvailable and set CPO
image to quay.io/cveiga/hypershift:latest for dev testing.

CPU request enforcement for GKE Autopilot minimum (500m) is handled
by MutatingAdmissionPolicy on the management cluster, so no
resourceRequestOverrides are needed.

Signed-off-by: Jim DAgostino <jdagosti@redhat.com>
Commit-Message-Assisted-by: Claude (via Claude Code)
@jimdaga
Copy link
Copy Markdown
Collaborator Author

jimdaga commented Mar 12, 2026

Supporting change that fixes HA mode on GKE AutoPilot: #56

Confirmed to be working:

$ k get statefulsets.apps -n clusters-foo-bar
NAME   READY   AGE
etcd   3/3     15m

@jimdaga jimdaga changed the title GCP-428: set HighlyAvailable policy with etcd CPU override for GKE Autopilot GCP-428: set HighlyAvailable controllerAvailabilityPolicy for GKE Autopilot Mar 12, 2026
@jimdaga jimdaga marked this pull request as ready for review March 12, 2026 01:23
@jimdaga jimdaga merged commit c91e810 into apahim:main Mar 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants