Я получаю ошибку ниже при запуске kubeadm init:
[init] Using Kubernetes version: v1.16.2
[preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". Please follow the guide at https://kubernetes.io/docs/setup/cri/
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR Swap]: running with swap on is not supported. Please disable swap
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
sudo swapoff -a
swapoff: /swapfile: swapoff failed: Cannot allocate memory
Я использую Ubuntu VM на параллельном рабочем столе
free -m command output below:
$ free -m
total used free shared buff/cache available
Mem: 979 455 87 1 436 377
Swap: 2047 695 1352