minminmsn / k8s1.13

微服务容器化持续交付总体流程:开发代码提交到Gitlab;Rahcher设置代码库为Gitlab;Rahcher流水线配置编译源码;Rahcher流水线Build Docker镜像;Rancher流水线Push Docker镜像到私有镜像库Harbor;Rancher流水线根据k8s yaml部署文件部署容器。
https://minminmsn.com
181 stars 120 forks source link

node 节点起不来 #1

Open wenkaitiantian opened 5 years ago

wenkaitiantian commented 5 years ago

[root@localhost ssl]# systemctl status kubelet ● kubelet.service - Kubernetes Kubelet Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Wed 2019-01-23 11:11:46 CST; 12min ago Process: 46510 ExecStart=/k8s/kubernetes/bin/kubelet $KUBELET_OPTS (code=exited, status=255) Main PID: 46510 (code=exited, status=255)

Jan 23 11:11:46 localhost.localdomain systemd[1]: kubelet.service: main process exited, code=exited, status=255/n/a Jan 23 11:11:46 localhost.localdomain systemd[1]: Unit kubelet.service entered failed state. Jan 23 11:11:46 localhost.localdomain systemd[1]: kubelet.service failed. Jan 23 11:11:46 localhost.localdomain systemd[1]: kubelet.service holdoff time over, scheduling restart. Jan 23 11:11:46 localhost.localdomain systemd[1]: start request repeated too quickly for kubelet.service Jan 23 11:11:46 localhost.localdomain systemd[1]: Failed to start Kubernetes Kubelet. Jan 23 11:11:46 localhost.localdomain systemd[1]: Unit kubelet.service entered failed state. Jan 23 11:11:46 localhost.localdomain systemd[1]: kubelet.service failed.

minminmsn commented 5 years ago

核对你的kubelet配置文件,看里面的依赖关系,文件,证书等都在不,另外绑定的IP等都看看。

minminmsn commented 5 years ago

@wenkaitiantian 其中kubelet启动后又停止可能与cgroupfs driver有关,kubelet与docker要保持一致,centos默认是cgroupfs,ubuntu默认是systemd,需要根据自己情况调整。

afei000 commented 5 years ago

@wenkaitiantian 后来你怎么起来的 我应该和你遇到相同问题了