Merge pull request #139122 from carlory/update-kubeadm-runtime-warning-1.38

kubeadm: defer runtime config warning to 1.38
This commit is contained in:
Kubernetes Prow Robot 2026-05-18 20:48:03 +05:30 committed by GitHub
commit f7a5b6f2c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,10 +134,10 @@ func (crvc ContainerRuntimeVersionCheck) Check() (warnings, errorList []error) {
return nil, []error{errors.Wrap(err, "could not check if the runtime config is available")}
}
if !ok {
// TODO: return an error once the kubelet version is 1.37 or higher.
// TODO: return an error once the kubelet version is 1.38 or higher.
// https://github.com/kubernetes/kubeadm/issues/3229
err := errors.New("You must update your container runtime to a version that supports the CRI method RuntimeConfig. " +
"Falling back to using cgroupDriver from kubelet config will be removed in 1.37. " +
"Falling back to using cgroupDriver from kubelet config will be removed in 1.38. " +
"For more information, see https://git.k8s.io/enhancements/keps/sig-node/4033-group-driver-detection-over-cri")
warnings = append(warnings, err)
}