mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
kubeadm: update swap warning for v1.28 change
This commit is contained in:
parent
2a5fd3076a
commit
eb0afbc7d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user