etcd in \"/etc/kubernetes/manifests\"\n[wait-control-plane] Waiting for the kubelet to boot up the control...plane as static Pods from directory \"/etc/kubernetes/manifests\"....kube-apiserver"[control-plane] Creating static Pod manifest for "kube-controller-manager"[control-plane...in "/etc/kubernetes/manifests"[wait-control-plane] Waiting for the kubelet to boot up the control plane...as static Pods from directory "/etc/kubernetes/manifests".
原因:执行初始化安装命令 kubeadm init … 报错故障: [etcd] Creating static Pod manifest for local etcd in “/etc/kubernetes.../manifests” [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods...from directory “/etc/kubernetes/manifests”....This can take up to 4m0s [kubelet-check] Initial timeout of 40s passed....[kubelet-check] It seems like the kubelet isn’t running or healthy.
先说明一下安装minikube的环境信息: 操作系统:CentOS Linux release 7.6.1810 Docker:1.13.1 在执行minikube start启动的时候,提示如下错误信息: [control-plane...in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up the control plane...as static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [kubelet-check] Initial timeout of 40s passed....' - 'journalctl -xeu kubelet' Additionally, a control plane component may have crashed or exited when
] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod manifest for..."kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" [control-plane...in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up the control plane...as static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [apiclient] All control plane components are healthy after 39.003840 seconds
[control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod..." [control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest... for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up... the control plane as static Pods from directory "/etc/kubernetes/manifests". ...This can take up to 4m0s [apiclient] All control plane components are healthy after 9.502219 seconds
/etcd.yaml" I1031 14:44:25.770828 10034 waitcontrolplane.go:89] [wait-control-plane] Waiting for the...API server to be healthy [wait-control-plane] Waiting for the kubelet to boot up the control plane as...static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [kubelet-check] Initial timeout of 40s passed....' - 'journalctl -xeu kubelet' Additionally, a control plane component may have crashed or exited
kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests"....[init] This might take a minute or longer if the control plane images have to be pulled....[apiclient] All control plane components are healthy after 21.001790 seconds [uploadconfig] Storing the... kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests"....[init] This might take a minute or longer if the control plane images have to be pulled.
[control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod...manifest for "kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager..." [control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest...for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up...the control plane as static Pods from directory "/etc/kubernetes/manifests".
[control-plane] Using manifest folder "/etc/kubernetes/manifests"[control-plane] Creating static Pod..."[control-plane] Creating static Pod manifest for "kube-scheduler"[etcd] Creating static Pod manifest...for local etcd in "/etc/kubernetes/manifests"[wait-control-plane] Waiting for the kubelet to boot up...the control plane as static Pods from directory "/etc/kubernetes/manifests"..../exclude-from-external-load-balancers][mark-control-plane] Marking the node vm-3-4-centos as control-plane
来等待他们的创建 [control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating...static Pod manifest for "kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager..." [control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest...for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up...the control plane as static Pods from directory "/etc/kubernetes/manifests".
[upgrade/prepull] Successfully prepulled the images for all the control plane components [upgrade/apply...] Upgrading your Static Pod-hosted control plane to version "v1.18.9"......[upgrade/kubelet] Now that your control plane is upgraded, please proceed with upgrading your kubelets...Pod-hosted control plane instance to version "v1.18.9"......Not a control plane node.
] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod manifest for..."kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" W0709 11:...manifest for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet...to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [apiclient] All control plane components are healthy after 23.007757 seconds
[control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod..." [control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest...for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up...the control plane as static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [apiclient] All control plane components are healthy after 6.504341 seconds
[control-plane] Using manifest folder "/etc/kubernetes/manifests" [control-plane] Creating static Pod..." [control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest...for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up...the control plane as static Pods from directory "/etc/kubernetes/manifests"....This can take up to 4m0s [apiclient] All control plane components are healthy after 14.502742 seconds
"kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" [control-plane...in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up the control plane...as static Pods from directory "/etc/kubernetes/manifests"...."kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" [control-plane..."kube-apiserver" [control-plane] Creating static Pod manifest for "kube-controller-manager" [control-plane
四个组件 static pod 的 yaml 文件,此时 kubelet 监测到该目录下有 yaml 文件便会将其创建为对应的 pod,最终 kube-apiserver、kube-controller-manager...existing up-to-date KubeConfig file: "/etc/kubernetes/kubelet.conf" [kubeconfig] Using existing up-to-date...Pod manifest for a local etcd instance to "/etc/kubernetes/manifests/etcd.yaml" [init] waiting for the...kubelet to boot up the control plane as Static Pods from directory "/etc/kubernetes/manifests" [init...] this might take a minute or longer if the control plane images have to be pulled [apiclient] All control
" [control-plane] Creating static Pod manifest for "kube-apiserver" [control-plane] Creating static Pod..." [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests" [wait-control-plane...] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes...This can take up to 4m0s # 健康检查 [apiclient] All control plane components are healthy after 16.503764.../exclude-from-external-load-balancers] [mark-control-plane] Marking the node ip-172-31-90-126 as control-plane
领取专属 10元无门槛券
手把手带您无忧上云