diff --git a/cmd/kubeadm/app/preflight/checks.go b/cmd/kubeadm/app/preflight/checks.go index 2f302f0bf91..8c0be50d10d 100644 --- a/cmd/kubeadm/app/preflight/checks.go +++ b/cmd/kubeadm/app/preflight/checks.go @@ -668,7 +668,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 NodeSwap feature.")}, nil + return []error{errors.New("swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet")}, nil } return nil, nil