Merge pull request #120198 from pacoxu/kubeadm-swap

kubeadm: update swap warning for v1.28 change
This commit is contained in:
Kubernetes Prow Robot 2023-08-29 04:53:32 -07:00 committed by GitHub
commit 34b85c593d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,7 +653,7 @@ func (swc SwapCheck) Check() (warnings, errorList []error) {
}
if len(buf) > 1 {
return []error{errors.New("swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet")}, nil
return []error{errors.New("swap is supported for cgroup v2 only; the NodeSwap feature gate of the kubelet is beta but disabled by default")}, nil
}
return nil, nil