Difference between revisions of "Kubeadm init"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
  
  
<pre>
+
kubeadm init --pod-network-cidr=10.244.0.0/16
+
kubeadm init --pod-network-cidr=10.244.0.0/16
W0419 17:17:35.020389  29884 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
+
W0419 17:17:35.020389  29884 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io  
[init] Using Kubernetes version: v1.18.2
+
kubeproxy.config.k8s.io]
[preflight] Running pre-flight checks
+
[init] Using Kubernetes version: v1.18.2
[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
+
[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 FileExisting-socat]: socat not found in system path
 
[WARNING FileExisting-socat]: socat not found in system path
 
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
 
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
+
error execution phase preflight: [preflight] Some fatal errors occurred:
 
[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
 
[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
 
[ERROR FileExisting-crictl]: crictl not found in system path
 
[ERROR FileExisting-crictl]: crictl not found in system path
Line 17: Line 19:
 
[ERROR FileExisting-conntrack]: conntrack not found in system path
 
[ERROR FileExisting-conntrack]: conntrack not found in system path
 
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': executable file not found in $PATH
 
[ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': executable file not found in $PATH
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
+
[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
+
To see the stack trace of this error execute with --v=5 or higher
</pre>
 
 
 
  
 
== See also ==
 
== See also ==

Revision as of 13:42, 19 April 2020

kubeadm init --pod-network-cidr=10.244.0.0/16



kubeadm init --pod-network-cidr=10.244.0.0/16
W0419 17:17:35.020389   29884 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.2
[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 FileExisting-socat]: socat not found in system path [WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'

error execution phase preflight: [preflight] Some fatal errors occurred:

[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2 [ERROR FileExisting-crictl]: crictl not found in system path [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist [ERROR FileExisting-conntrack]: conntrack not found in system path [ERROR KubeletVersion]: couldn't get kubelet version: cannot execute 'kubelet --version': executable file not found in $PATH

[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

See also

Advertising: