Sept. 8, 2021, 4:50 a.m.

LWKD: Week Ending September 5, 2021

Last Week In Kubernetes Development

Developer News

SIG-Usability is gathering data about what tools people use to interact with and debug Kubernetes. Please fill out their survey if you can.

Release Schedule

Next Deadline: Enhancements Freeze, Sept. 9th

Enhancements Freeze is just around the corner! Make sure you’ve got everything sorted out on the Enhancements Sheet.

Featured PRs

#103631: Automate code generated by using mockgen and go:generate

Our mockgen usage has been moved from “remember to run this” comments into go:generate. Together with a new hack/update-mocks.sh script to run go generate for any changed files, this streamlines and automates the management of these mock interfaces. If you’re editing anything with a mockgen generate comment, make sure you run the update script before committing.

#104590: Add GA AnnStorageProvisioner annotation to PVC

The volume.beta.kubernetes.io/storage-provisioner annotation used for communication between Kubernetes and CSI now has a GA version: volume.kubernetes.io/storage-provisioner. The old annotation is still present but deprecated. Any tooling relying on it should update to check for the new key first.

Merges

  • Controller-manager has a more flexible health check system
  • PodSecurity will run before PodSecurityPolicy so that audit and warn rules in PodSecurity can still trigger
  • Reduce parallel type checks to 2 threads to reduce RAM usage
  • Kubelet resource calculations will not include completed pods

Deprecations

  • volume.beta.kubernetes.io/storage-provisioner annotation is deprecated, see above

Removals

  • --seccomp-profile-root Kubelet config removed in favor of using the <root-dir>/seccomp directory

Version Updates

  • Test images now include Windows ltsc2022

You just read issue #4 of Last Week In Kubernetes Development. You can also browse the full archives of this newsletter.

Brought to you by Buttondown, the easiest way to start and grow your newsletter.