mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 14:51:58 +00:00
Automatic merge from submit-queue (batch tested with PRs 59054, 59515, 59577). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add 'none' option to EnforceNodeAllocatable This lets us use omitempty on `EnforceNodeAllocatable`. We shouldn't treat `nil` as different from `[]T{}`, because this can play havoc with serializers (a-la #43203). See: https://github.com/kubernetes/kubernetes/pull/53833#discussion_r166672137 ```release-note 'none' can now be specified in KubeletConfiguration.EnforceNodeAllocatable (--enforce-node-allocatable) to explicitly disable enforcement. ```