From 5351d659c06fe8db3e12a23204d053e4fb7ba00e Mon Sep 17 00:00:00 2001 From: carlory Date: Mon, 18 May 2026 10:04:38 +0800 Subject: [PATCH] kubeadm: defer runtime config warning to 1.38 --- cmd/kubeadm/app/preflight/checks.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kubeadm/app/preflight/checks.go b/cmd/kubeadm/app/preflight/checks.go index d3109ec6553..117d1afbc19 100644 --- a/cmd/kubeadm/app/preflight/checks.go +++ b/cmd/kubeadm/app/preflight/checks.go @@ -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) }