LWKD logo

Last Week in Kubernetes Development

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

Subscribe
Twitter
RSS

View LWKD on GitHub

Week Ending March 27, 2022

Developer News

Now that Pod Security is a thing, E2E tests will be run under the restricted pod security level. If this breaks your tests, you may need to request a different level.

You also might need to rebase to master to pick up changes introduced for golang 1.18.

Etcd needs more reviewers/maintainers. If you have experience with the Etcd code, but have moved on to other things, consider coming back to help out the project.

Release Schedule

Next Deadline: Code Freeze, March 29th/30th

Code Freeze is coming. You should have everything approved/LGTMed by tomorrow (6pm Pacific/1am UTC), or punt it to 1.25. Exceptions are possible, but are not always granted.

Master Blocking is definitely better than last week, with just four flaky jobs – kudos to Jordan Liggit and Eddie Zane for diagnosing the skew test failure.

#99556: kubectl: support –subresource flag

The get, patch, edit, and replace Kubectl commands are all getting a --subresource flag to access things like /scale and /status. The latter especially is very helpful to operator developers who need to manually adjust a broken status value and previously had to use --raw mode.

#108073: Support CEL CRD validation expressions that reference existing object state.

Continuing the train of awesome CEL features, this week’s is the ability to use oldSelf in Update validations to allow checking values on both the old and new data. As a simple example, checking oldSelf == self on a field allows for replicating partial immutability like we have in man core types. This opens up many options for out-of-core development!

#108717: Remove ClusterName

ObjectMeta has long had an unused ClusterName field. This was added long ago for some federation experiments and never cleaned up. Despite existing forever, it has been unwritable and thus always "" for the whole time. To move things forward on getting rid of it, the Go struct member (but not the JSON field name) has been change. This will make anything using that field fail to compile. If you find any such code and it actually depends on this field somehow, please contact SIG-APIMachinery as soon as possible.

Other Merges

Promotions

Deprecated

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.