From 8eb3b652229defa6b2248e574864489867d18a0f Mon Sep 17 00:00:00 2001 From: carlory Date: Tue, 10 Feb 2026 10:30:00 +0800 Subject: [PATCH] kubeadm: the preflight check `ContainerRuntimeVersion` validates if the installed container runtime supports the `RuntimeConfig` gRPC method. For older kubelet versions than 1.37, it will return a preflight warning. Signed-off-by: carlory --- 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 562c9cc87f2..cbcb93e9b2c 100644 --- a/cmd/kubeadm/app/preflight/checks.go +++ b/cmd/kubeadm/app/preflight/checks.go @@ -132,10 +132,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.36 or higher. + // TODO: return an error once the kubelet version is 1.37 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.36. " + + "Falling back to using cgroupDriver from kubelet config will be removed in 1.37. " + "For more information, see https://git.k8s.io/enhancements/keps/sig-node/4033-group-driver-detection-over-cri") warnings = append(warnings, err) }