mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 09:53:38 -04:00
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:
commit
f7a5b6f2c8
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue