Skip to content

bump k8s v1.36#369

Merged
Abhishek-Valaboju merged 1 commit into
rancher:masterfrom
rancher-teja:bump-k8v1.36
May 19, 2026
Merged

bump k8s v1.36#369
Abhishek-Valaboju merged 1 commit into
rancher:masterfrom
rancher-teja:bump-k8v1.36

Conversation

@Abhishek-Valaboju

@Abhishek-Valaboju Abhishek-Valaboju commented May 5, 2026

Copy link
Copy Markdown

rancher/rancher#54303

add support for kubernetes v1.36

@Abhishek-Valaboju Abhishek-Valaboju force-pushed the bump-k8v1.36 branch 2 times, most recently from 433c7e1 to 571d4ed Compare May 5, 2026 18:01
@Teja78906 Teja78906 marked this pull request as ready for review May 13, 2026 04:33
@snasovich snasovich requested a review from Copilot May 13, 2026 21:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds Kubernetes v1.36 support by updating the project’s Go toolchain/build image and bumping Kubernetes-related (and other transitive) Go module dependencies to compatible versions.

Changes:

  • Bump Go version/toolchain to 1.26 (Docker build ARG + go.mod directives).
  • Update Kubernetes modules to k8s.io/* v0.36.0 and refresh related dependency graph (go.mod/go.sum).
  • Fix a few logging callsites to use the correct formatted logging APIs.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package/Dockerfile Bumps container build Go version to 1.26.
go.mod Updates Go directive/toolchain and bumps key deps (notably k8s v0.36.0, wrangler).
go.sum Refreshes dependency checksums for the updated module set.
drivers/vmwarefusion/fusion_darwin.go Adjusts debug log formatting in SSH command execution path.
drivers/azure/azureutil/powerstate.go Fixes warning log to use formatted logger for %q.
drivers/azure/azureutil/azureutil.go Tweaks subnet error warning log message/arguments.
Comments suppressed due to low confidence (1)

drivers/vmwarefusion/fusion_darwin.go:813

  • Same logging pattern here: Debugf("%s", "..."+err.Error()) is an awkward use of Debugf and still does string concatenation. Prefer a real format string (with %v) or use Debug with separate arguments so the error is rendered consistently and without extra string building.
	if err := session.Run(command); err != nil {
		log.Debugf("%s", "Failed to run: " + err.Error())
		return err

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 801 to 804
session, err := client.NewSession()
if err != nil {
log.Debugf("Failed to create session: " + err.Error())
log.Debugf("%s", "Failed to create session: " + err.Error())
return err
Comment thread drivers/azure/azureutil/azureutil.go Outdated
exists, err := checkResourceExistsFromError(err)
if err != nil {
log.Warn("Unexpected get subnet operation error %v: ", err)
log.Warn("Unexpected get subnet operation error: ", err)
Comment thread go.mod Outdated
Comment thread drivers/vmwarefusion/fusion_darwin.go Outdated
@Abhishek-Valaboju Abhishek-Valaboju force-pushed the bump-k8v1.36 branch 2 times, most recently from 292c8df to ece73c8 Compare May 15, 2026 05:57
bump k8s v1.36

bump k8s v1.36

bump k8s v1.36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Comment on lines 88 to +92
return Deallocated
case "deallocating":
return Deallocating
default:
log.Warn("Encountered unknown PowerState for virtual machine: %q", code)
log.Warnf("Encountered unknown PowerState for virtual machine: %q", code)
@Abhishek-Valaboju Abhishek-Valaboju merged commit 67d9878 into rancher:master May 19, 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.

4 participants