Skip to content

Update Kubernetes dependencies to v1.36.1#9636

Open
jackfrancis wants to merge 1 commit into
kubernetes:masterfrom
jackfrancis:k8s-deps-v1.36.1
Open

Update Kubernetes dependencies to v1.36.1#9636
jackfrancis wants to merge 1 commit into
kubernetes:masterfrom
jackfrancis:k8s-deps-v1.36.1

Conversation

@jackfrancis
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This PR brings in the latest Kubernetes v1.36 libraries in preparation for a Cluster Autoscaler v1.36.0 release.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Update Kubernetes dependencies to v1.36.1

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels May 13, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

This issue is currently awaiting triage.

If SIG Autoscaling contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot requested review from elmiko and jlamillan May 13, 2026 23:13
@k8s-ci-robot k8s-ci-robot added the do-not-merge/needs-area Indicates that a PR should not merge because it lacks an area label. label May 13, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/cluster-autoscaler Issues or PRs related to the Cluster Autoscaler component area/provider/azure Issues or PRs related to azure provider area/provider/huaweicloud area/provider/oci Issues or PRs related to oci provider size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed do-not-merge/needs-area Indicates that a PR should not merge because it lacks an area label. labels May 13, 2026
Signed-off-by: Jack Francis <jackfrancis@gmail.com>
@jackfrancis jackfrancis removed area/provider/azure Issues or PRs related to azure provider area/provider/oci Issues or PRs related to oci provider area/provider/huaweicloud labels May 13, 2026
@jackfrancis
Copy link
Copy Markdown
Contributor Author

/retitle Update Kubernetes dependencies to v1.36.1

@k8s-ci-robot k8s-ci-robot changed the title Update Kubernetes depenencies to v1.36.1 Update Kubernetes dependencies to v1.36.1 May 13, 2026
@jackfrancis
Copy link
Copy Markdown
Contributor Author

/test pull-cluster-autoscaler-e2e-azure-master

@jackfrancis
Copy link
Copy Markdown
Contributor Author

/assign @towca @x13n

# Use -i.bak for portability: BSD sed (macOS) requires an explicit backup
# extension argument to -i, while GNU sed accepts it as well. -E enables
# extended regex on both BSD and GNU sed.
"${SED}" -E -i.bak 's/const ClusterAutoscalerVersion = "[0-9.]+"/const ClusterAutoscalerVersion = "'${k8s_version}'"/g' version/version.go
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are not aligned with k/k patch version, only minor, do we actually want this part at all? Dynamically providing this value at build time based on git tag sounds more like what we should be doing instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good call-out. Right now I use this (incorrect) change to remind me to (manually) update the value to match the n + 1 of the upcoming CA release.

The challenge with relying upon commit tags means that there is a tight coupling between making automated changes to the k8s dependency graph and the resultant commit being releasable.

Maybe you are suggesting that we drop this version.go update entirely in this script? I might agree w/ you.

Thoughts @BigDarkClown @towca ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I felt like I had this idea before and indeed - about a year ago :D #8240

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, for not tagged commits the version should ideally contain git commit hash (with -dirty suffix if there were uncommited changes), which might also help with regular development.

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/cluster-autoscaler Issues or PRs related to the Cluster Autoscaler component cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants