LWKD logo

Last Week in Kubernetes Development

Stay up-to-date on Kubernetes development in 15 minutes a week.


View LWKD on GitHub

Week Ending November 7, 2021

Developer News

The new Steering Committee members have been elected. Re-elected SC members Paris Pittman and Christoph Blecker will be joined by newly elected members Stephen Augustus and Tim Pepper. They will serve with the three continuing members for the 2021-2022 term. Thank you to Derek Carr and Nikhita Raghunath for their service to our community!

SIG-CLI is looking for feedback on the newly-merged kubectl alpha events command. SIG Scalability co-chair Matt Matejczyk will be replaced by Marcel Zięba.

Release Schedule

Next Deadline: Code Freeze Nov. 16

1.23 is about to enter code freeze on the 16th. This means you want your PRs, particularly enhancement PRs, merged before then. Then you’ll need to immediately (by Nov. 18th) create a documentation stub PR for any docs required for your enhancement. So, maybe try to clear your calendar next week.

Cherry-picks for November’s patch release are due Friday.

With code freeze looming, we’ve got a number of backwards-incompatible changes finally getting approved and merged. Many of these are relatively small or easy to understand but require action from the community so we’ll cover them quickly.

#106146: component-base: use stderr as default output stream for JSON

While text log output has always defaulted to stderr, until now the default for JSON-formatted structured output has been stdout. This has been corrected so everything matches, using stderr. If you do any output processing, especially on kubectl in scripts, you may need to update either your redirection code or your logging config.

#105648: GET should be transformed to watch in kube-Apiserver

Mostly this affects kube-apiserver metrics which include the request verb as a label. If you’ve got any alerts or dashboards that cared about GET requests they will no longer include GET-as-WATCH hits.

#105525: Wire contexts to Core controllers

This on affects internal APIs however if you’ve got a PR that touches a core controller, it may require a rebase. And if you make any future outbound calls from a core controller, make sure to pass through the context so it those can be cleaned up smoothly when the context is cancelled. If you’ve got any questions about how to work with Go’s context system, please reach out to SIG-APIMachinery.

#94986: drop managed fields from audit entries

And finally a change that is backwards compatible but worth knowing about. There is now an omitManagedFields boolean on both audit policies and individual rules (which overrides the policy-level setting). This defaults to false, meaning managedFields is included however depending on your use case you may want to enable this. The managed fields tracking data gets very big and often makes logs and other traces difficult to read so if not using this data, maybe flip the switch once it’s available to you.

Other Merges



Version Updates

Last Week In Kubernetes Development (LWKD) is a product of multiple contributors participating in Kubernetes SIG Contributor Experience. All original content is licensed Creative Commons Share-Alike, although linked content and images may be differently licensed. LWKD does collect some information on readers, see our privacy notice for details.

You may contribute to LWKD by submitting pull requests or issues on the LWKD github repo.