Last Week In Kubernetes Development

Subscribe
Archives
April 30, 2025

LWKD: Week Ending April 27, 2025

Week Ending April 27, 2025

Developer News

Benjamin Elder reminded contributors of the changes to the E2E Testing Framework that take effect now. Contributors must use framework.WithFeatureGate(features.YourFeature) for tests related to specific feature gates to ensure proper execution in CI jobs. Tests need to specify both feature gates and cluster configurations.

After 5 long years, SIG-Testing has finally acheived zero hard-coded test skips in pull-kubernetes-e2e-kind and related jobs. This is near parity with pull-kubernetes-e2e-gce (1056 tests vs 1080 tests) in approximately half the runtime (~30m vs ~1h).

Applications for Project Lighting talks, Maintainer's Track and ContribFest at KubeCon NA 2025 are open! Get your submissions in before 7th July.

Please read and comment on an ongoing discussion about AI-generated contributions to Kubernetes. Several repositories have been receiving AI-generated submissions which look acceptable until carefully reviewed. Younger developers may be more reliant on AI and may not realize that such contributions are unacceptable. Community members are discussing whether we need a more restrictive policy than the Linux Foundation's.

Release Schedule

Next Deadline: 1.34 Release Cycle Begins -- soon

We are in the between-release limbo period, so time to work on whatever you want. That irritating bug, the subproject you've been meaning to investigate, a birdhouse, whatever. The call for enhancements will come soon enough.

Featured PRs

131491: kubectl describe service: Add Traffic Distribution

This PR shows the Traffic Distribution field, added in Kubernetes 1.31, in kubectl describe service if the field is set. This makes the field much more accessible and useful to users.

130782: Kubeadm issue #3152 ControlPlane node setup failing with "etcdserver: can only promote a learner member"

This PR fixes a bug where in kubeadm ControlPlane node setup fails with the error "etcdserver: can only promote a learner member"; This PR adds a check to ensure that promotion does not retry if the member is already promoted and introduces a call to remove the learner member if the promotion fails entirely.

KEP of the Week

KEP 1769: Speed up recursive SELinux label change

This KEP speeds up volume mounts on SELinux-enforcing systems by using the -o context=XYZ mount option instead of slow recursive relabeling. It has rolled out in three phases: starting with ReadWriteOncePod volumes (v1.28), then adding metrics and an opt-out (v1.32), and finally applying to all volumes by default in 1.33.

Other Merges

  • Fix for OIDC discovery document publishing when external service account token signing is enabled
  • hack/update-codegen.sh now automatically ensures goimports and protoc
  • Deprecated scheduler cache metrics removed
  • Recovery feature's status in kubelet now checks for newer resize fields
  • Fix for the invalid SucceededCriteriaMet condition type in the Job API
  • Watch handler tests moved to handlers package
  • Fix for error handling and CSI JSON file removal interaction
  • Pod resize e2e utilities moved out of e2e/framework
  • Fix for a possible deadlock in the watch client
  • Long directory names with e2e pod logs shortened
  • endpoint-controller and workload-leader-election FlowSchemas removed from the default APF configuration
  • Fix for the allocatedResourceStatuses Field name mismatch in PVC status validation
  • scheduler-perf adds option to enable api-server initialization
  • Kubelet to use the node informer to get the node addresses directly
  • Fix for a bug in Job controller which could result in creating unnecessary Pods for a finished Job
  • kube-controller-manager events to support contextual logging
  • Fix for a bug where NodeResizeError condition was in PVC status when the CSI driver does not support node volume expansion
  • kubeadm refactoring to reduce code repetition using slice package

Version Updates

  • google/cel-go to v0.25.0
  • cri-tools to v1.33.0
  • mockery to v2.53.3
  • coredns to v.1.12.1

Shoutouts

  • Ryota: Now that Kubernetes v1.33 is officially out, the Release Team Subteam Leads — rayandas(Docs), Wendy Ha (Release Signal), Dipesh (Enhancements), and Ryota (Comms) — want to send a huge shoutout to our amazing Release Lead Nina Polshakova
Don't miss what's next. Subscribe to Last Week In Kubernetes Development:
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.