Skip to content

Commit 682c932

Browse files
committed
cloudbuild: upgrade to E2_HIGHCPU_32 to fix session timeout
Multi-arch builds (linux/amd64 + linux/arm64) take ~12 min on N1_HIGHCPU_8, causing the BuildKit session to expire before the push phase completes: error: no active session: context deadline exceeded Other K8s repos with large multi-arch binaries (aws-ebs-csi-driver, cloud-provider-gcp) use E2_HIGHCPU_32 which completes builds in ~3-5 min, well within the session window.
1 parent 13e5e35 commit 682c932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
options:
33
dynamic_substitutions: true
44
substitution_option: ALLOW_LOOSE
5-
machineType: 'N1_HIGHCPU_8'
5+
machineType: 'E2_HIGHCPU_32'
66
steps:
77
- name: gcr.io/cloud-builders/git
88
args: ['fetch', '--tags']

0 commit comments

Comments
 (0)