![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8s
liurizhou
这个作者很懒,什么都没留下…
展开
-
Jenkins k8s plugin pod反复重启,connect: no route to host
新安装了centos的虚拟机作为K8s 的node,添加完成后使用Jenkins指定该node启动pod,但是会反复重启报错如下:查看log:$ kubectl get pod -n xxx | grep yyy | awk '{print $1}' | xargs -I {} kubectl logs {} -c default -n xxxError from server: Get "xxxxxx/default": dial tcp xxx.xxx.xx.xx: connec.原创 2022-02-10 20:30:29 · 969 阅读 · 0 评论 -
Failed to start ContainerManager“ err=“failed to build map of initial containers from runtime: no Po
1月 24 17:36:55 swhost03 kubelet[58451]: I0124 17:36:55.880775 58451 kuberuntime_manager.go:1044] "Updating runtime config through cri with podcidr" CIDR="10.244.9.0/24"1月 24 17:36:55 swhost03 kubelet[58451]: I0124 17:36:55.881017 58451 docker_service.原创 2022-01-24 18:06:58 · 2847 阅读 · 0 评论 -
设置k8s node最大pod数量
默认情况下k8s 一个node最多起110个pod.No more than 110 pods per node No more than 5000 nodes No more than 150000 total pods No more than 300000 total containers如何修改一个node中起的pod数量呢?在Node上 设置打开文件/var/lib/kubelet/config.yaml修改参数maxPods为指定的值: clusterDomain原创 2021-07-29 15:55:20 · 9400 阅读 · 0 评论