Sitelet https://github.com/kubernetes/kops/pull/18609
Skip to content

Replace gsutil with gcloud storage - #18609

Merged
kubernetes-prow[bot] merged 4 commits into
kubernetes:masterfrom
hakman:fix-dev-build-gce-gcloud
Jul 18, 2026
Merged

kubernetes-prow[bot] merged 4 commits into
kubernetes:masterfrom
hakman:fix-dev-build-gce-gcloud

Conversation

@hakman

@hakman hakman commented Jul 18, 2026 •

Copy link
Copy Markdown
Member

gsutil is in maintenance mode and gcloud storage is the recommended replacement. This migrates the remaining gsutil usages, and also fixes an invalid gcloud buckets create command in hack/dev-build-gce.sh (introduced in #18466, the correct command is gcloud storage buckets create).

Changes:

  • hack/dev-build-gce.sh: fix gcloud buckets create to gcloud storage buckets create
  • Makefile: gcs-upload, gcs-upload-and-tag and gcs-publish-ci now use gcloud storage cp. The -m flag is dropped as gcloud storage parallelizes by default.
  • hack/install-gsutil.sh is renamed to hack/install-gcloud.sh and checks for gcloud instead of gsutil
  • hack/upload: the UBLA check uses gcloud storage buckets describe, the sync uses gcloud storage rsync
  • tests/e2e/kubetest2-kops: bucket create/delete/IAM and version marker publishing use the gcloud storage equivalents. Note: the bucket existence check now matches gcloud's not found: 404 error instead of gsutil's BucketNotFound.
  • docs: update gsutil commands in the OpenTelemetry, release process and GCE getting started pages

Historical release notes still mention gsutil and are left unchanged.

Assisted by Claude Fable

@kubernetes-prow
kubernetes-prow Bot requested review from ameukam and rifelpet July 18, 2026 13:18
@kubernetes-prow kubernetes-prow Bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 18, 2026
@kubernetes-prow kubernetes-prow Bot added area/documentation size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 18, 2026
@hakman hakman changed the title hack: fix gcloud storage buckets create command in dev-build-gce.sh Replace gsutil with gcloud storage Jul 18, 2026
@ameukam

ameukam commented Jul 18, 2026

Copy link
Copy Markdown
Member

/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 18, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rifelpet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 94877dd into kubernetes:master Jul 18, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/documentation cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants