Oct. 25, 2022, 3:54 a.m.

LWKD: Week Ending October 23, 2022

Last Week In Kubernetes Development

Developer News

KubeCon North America is now! Please bear with everyone as response times from SIGs and code review may be longer than usual.

Release Schedule

Next Deadline: Exceptions Due, October 31st

SIG-Release posted a comprehensive update on the state of 1.26 to the dev mailing list. Normal releases will resume after KubeCon.

Featured PR

#86139: Normalize HTTP lifecycle handlers with HTTP probers

While pod lifecycle handlers (postStart and preStop) have supported HTTP actions for a while, this has used a different code path than the more commonly-used HTTP actions in readiness/liveness probes. More specifically several common features such as setting custom HTTP headers or using HTTPS for connections were not supported. This has now been unified, rejoice! This does bring some complex migration behavior though, as the these struct fields were previously present but unused so they have already been set by unaware developers. To help with this, if a handler is set to use HTTPS and the connection fails, it will automatically retry with HTTP as it would have made the request previously. This feature can also be globally disabled via --feature-gates=ConsistentHTTPGetHandlers=false if it causes you problems in your infrastructure. Now would be a great time to audit your pods for unexpected httpHeaders or https:// scheme values.

Other Merges

  • Core plumbing for the new CEL-based admission support
  • Having a second default StorageClass will no longer fail, instead the more recent will be used
  • The HPA controller support concurrent operation to support large numbers of HPAs
  • Our logo is slightly improved
  • Legacy-mode service account tokens will be marked with a kubernetes.io/legacy-token-last-used annotation when used
  • Fix RBAC edge case if you delete all default bindings by defaulting to superuser
  • Add API types for aggregate discovery to support much faster client startup

Removals

  • Remove inactive rate limit metrics

Version Updates

  • golangci-lint to v1.50.0
  • gomega to v1.22.1 and ginkgo to v2.3.1
  • aws-sdk-go to v1.26

You just read issue #55 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.