[root@master01 ~]# kubeadm init --kubernetes-version=v1.20.2 --apiserver-advertise-address=192.168.56.200 --image-repository registry.aliyuncs.com/google_containers --service-cidr=10.1.0.0/16 --pod-network-cidr=10.244.0.0/16
[init] Using Kubernetes version: v1.20.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
Kubeadm安装k8s集群问题及解决方案
最新推荐文章于 2024-05-09 20:10:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)