* Drop WorkloadRef field and introduce SchedulingGroup field in Pod API
* Introduce v1alpha2 Workload and PodGroup APIs, drop v1alpha1 Workload API
Co-authored-by: yongruilin <yongrlin@outlook.com>
* Run hack/update-codegen.sh
* Adjust kube-scheduler code and integration tests to v1alpha2 API
* Drop v1alpha1 scheduling API group and run make update
---------
Co-authored-by: yongruilin <yongrlin@outlook.com>
If /var/lib/kubelet is MS_SHARED mountpoint, all the mountpoints
under /var/lib/kubelet will have duplicate one. When `kubeadm reset -f`
is executed, it will try to umount one path twice. However, they are in
the peer group. Once we umount one path, the duplicate one will be
umounted as well. So, in this case, we should ignore EINVAL error.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
Migrate test fixtures to use go:embed for improved readability
and maintainability across kubeadm test files.
Signed-off-by: sivchari <shibuuuu5@gmail.com>
Replace all imports of k8s.io/apimachinery/pkg/util/dump with
k8s.io/utils/dump across the repo. The apimachinery dump package
now contains deprecated wrapper functions that delegate to
k8s.io/utils/dump for backwards compatibility.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
kubelet: defer the configurations flags (and the related fallback behavior) deprecation removal timeline from 1.36 to 1.37 to align with containerd v1.7 support
kubeadm tracks if the user adds the flex volume flag
to the KCM, and then mounts the flex volume directory
on the KCM static-pod.
With the default KCM image using distroless and the flex
volumes being in maintenane mode since 1.22, this integration
with kubeadm is edge case. User should manually opt-in
by using a custom KCM image, passing the KCM flag and
manually mounting the volume.
During upgrade on Windows nodes the pause image is
bigger and there are various other factors that differ from
Linux.
Users can prepull images with `kubeadm config images pull
--kubernetes-version TARGET`, but it seems reasonable
to increase the rather short timeout of 15 seconds for
this preflight check.
Additionally users can always skip it with
--ignore-preflight-errors=...
* DRA resource claim controller: configurable number of workers
It might never be necessary to change the default, but it is hard to be sure.
It's better to have the option, just in case.
* generate files
* resourceclaimcontroller: normalize validation error message
* Update cmd/kube-controller-manager/app/options/resourceclaimcontroller.go
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
---------
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>