root@ubuntu:/home/ubuntu/k8s# kubeadm init --config kubeconfig.yml --v=5
I0623 15:19:11.938930 37878 initconfiguration.go:200] loading configuration from “kubeconfig.yml”
W0623 15:19:11.944626 37878 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[init] Using Kubernetes version: v1.18.4
[preflight] Running pre-flight checks
I0623 15:19:11.945633 37878 checks.go:577] validating Kubernetes and kubeadm version
I0623 15:19:11.945850 37878 checks.go:166] validating if the firewall is enabled and active
I0623 15:19:11.960529 37878 checks.go:201] validating availability of port 6443
I0623 15:19:11.960893 37878 checks.go:201] validating availability of port 10259
I0623 15:19:11.961056 37878 checks.go:201] validating availability of port 10257
I0623 15:19:11.961190 37878 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-apiserver.yaml
I0623 15:19:11.961294 37878 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-controller-manager.yaml
I0623 15:19:11.961370 37878 checks.go:286] validating the existence of file /etc/kubernetes/manifests/kube-scheduler.yaml
I0623 15:19:11.961438 37878 checks.go:286] validating the existence of file /etc/kubernetes/manifests/etcd.yaml
I0623 15:19:11.961490 37878 checks.go:432] validating if the connectivity type is via proxy or direct
I0623 15:19:11.961565 37878 checks.go:471] validating http connectivity to first IP address in the CIDR
I0623 15:19:11.961688 37878 checks.go:471] validating http connectivity to first IP address in the CIDR
I0623 15:19:11.961751 37878 checks.go:102] validating the container runtime
I0623 15:19:12.032291 37878 checks.go:128] validating if the service is enabled and active
[WARNING Service-Docker]: docker service is not enabled, please run ‘systemctl enable docker.service’
[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/
I0623 15:19:12.145445 37878 checks.go:335] validating the contents of file /proc/sys/net/bridge/bridge-nf-call-iptables
I0623 15:19:12.145564 37878 checks.go:335] validating the contents of file /proc/sys/net/ipv4/ip_forward
I0623 15:19:12.145807 37878 checks.go:649] validating whether swap is enabled or not
I0623 15:19:12.146013 37878 checks.go:376] validating the presence of executable conntrack
I0623 15:19:12.146131 37878 checks.go:376] validating the presence of executable ip
I0623 15:19:12.146167 37878 checks.go:376] validating the presence of executable iptables
I0623 15:19:12.146388 37878 checks.go:376] validating the presence of executable mount
I0623 15:19:12.146486 37878 checks.go:376] validating the presence of executable nsenter
I0623 15:19:12.146512 37878 checks.go:376] validating the presence of executable ebtables
I0623 15:19:12.146634 37878 checks.go:376] validating the presence of executable ethtool
I0623 15:19:12.146659 37878 checks.go:376] validating the presence of executable socat
I0623 15:19:12.146682 37878 checks.go:376] validating the presence of executable tc
I0623 15:19:12.146845 37878 checks.go:376] validating the pre
could not initialize a Kubernetes cluster error execution phase wait-control-plane
最新推荐文章于 2025-03-13 17:20:28 发布