#5607·microk8s

master snap build fails: kubelite patches missing for Kubernetes 1.37

Author: louiseschmidtgenCreated Sep 23, 2026Updated Sep 23, 2026
Labelskind/bugpriority/high

Summary

Every PR against master fails at Create snap package, which skips all six downstream test jobs. Master has been red since at least 2026-09-16.

Cause

master leaves KUBE_TRACK empty by design, so it tracks the latest upstream stable Kubernetes — now v1.37.0. The kubelite patch set in build-scripts/components/kubernetes/patches/ only goes up to v1.36.0, so the 1.36 patches are applied to 1.37 source and fail:

error: patch failed: cmd/kubelet/app/server.go:300
error: cmd/kubelet/app/server.go: patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Kubelite integration
'override-build' in part 'kubernetes' failed with code 128

Evidence

  • Run 35023136806, job 104784258556 (from PR #5601)
  • Reproduces on any master PR — #5592, #5601, #5605 all show Create snap package: fail with the other six jobs skipping
  • build-scripts/components/kubernetes/patches/ currently contains v1.31.0 … v1.36.0, no v1.37.0

Not already covered

PR #5605 ("bump build component versions for 1.37 release") does not fix this — it only touches containerd, etcd, flannel-cni-plugin, flanneld and helm version pins. Nothing currently open addresses the kubelite patches.

Prior art: commit ff0f3da0 "feat: add Kubernetes 1.36 patches for kubelite" is the same work for the previous cycle.

Acceptance criteria

  • build-scripts/components/kubernetes/patches/v1.37.0/ exists with a rebased kubelite integration patch set
  • Create snap package passes on a master PR
  • The six test jobs run rather than skip