mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 23:29:21 +00:00
Merge pull request #120198 from pacoxu/kubeadm-swap
kubeadm: update swap warning for v1.28 change
This commit is contained in:
commit
34b85c593d
@ -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