node에서 kubeadm 설치하는데 생기는 오류이다
> --discovery-token-ca-cert-hash sha256:e82e7b644537420c6ce984af79c2887230d6f7b6374393f4dfbba2cfc0160718
[preflight] Running pre-flight checks
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
swap 기능을 꺼준다
• swapoff -a
• vi /etc/fstab
여기서 마지막 줄의 swap 부분을 #으로 주석처리 한다
• reboot
반응형