Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes 无法将k8中的工作节点加入到主节点_Kubernetes_Kubeadm - Fatal编程技术网

Kubernetes 无法将k8中的工作节点加入到主节点

Kubernetes 无法将k8中的工作节点加入到主节点,kubernetes,kubeadm,Kubernetes,Kubeadm,使用kubeadm连接令牌将工作节点连接到k8主节点时。Iam收到以下错误 [preflight] running pre-flight checks [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not fo

使用kubeadm连接令牌将工作节点连接到k8主节点时。Iam收到以下错误

[preflight] running pre-flight checks
[preflight] WARNING: Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not found in $PATH
        [WARNING RequiredIPVSKernelModulesAvailable]: the IPVS proxier will not be used, because the following required kernel modules are not loaded: [ip_vs_sh nf_conntrack_ipv4 ip_vs ip_vs_rr ip_vs_wrr] or no builtin kernel ipvs support: map[ip_vs:{} ip_vs_rr:{} ip_vs_wrr:{} ip_vs_sh:{} nf_conntrack_ipv4:{}]
you can solve this problem with following methods:
 1. Run 'modprobe -- ' to load missing kernel modules;
2. Provide the missing builtin kernel ipvs support

[preflight] Some fatal errors occurred:
        [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
        [ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`

*********************
error 2 : when run modprobe_nrfilter
modprobe: FATAL: Module br_netfilter not found.

似乎docker未安装或不在您的
路径中:

Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not found in $PATH

这可以通过安装docker并确保docker可执行文件在您的路径中来修复。

似乎您的内核太旧或没有启用模块日志说明故障原因,您需要安装docker
警告:无法创建用于与容器运行时对话的接口:容器运行时需要docker: