Currently, a log is triggered about swap
being on even if swap is off.
After this commit, the log would be triggered
only if swap is truly turned on.
Signed-off-by: Itamar Holder <iholder@redhat.com>
When --fail-swap-on=false kubelet CLI argument
is provided, but tmpfs noswap is not supported
by the kernel, warn about the risks of memory-backed
volumes being swapped into disk
Signed-off-by: Itamar Holder <iholder@redhat.com>