We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0aaa66 + f5c69fd commit 548d50dCopy full SHA for 548d50d
cmd/kubeadm/app/preflight/checks.go
@@ -651,7 +651,9 @@ func (swc SwapCheck) Check() (warnings, errorList []error) {
651
}
652
653
if len(buf) > 1 {
654
- 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 []error{errors.New("swap is supported for cgroup v2 only. " +
655
+ "The kubelet must be properly configured to use swap. Please refer to https://kubernetes.io/docs/concepts/architecture/nodes/#swap-memory, " +
656
+ "or disable swap on the node")}, nil
657
658
659
return nil, nil
0 commit comments