当前位置:网站首页>Kubernetes problem sorting
Kubernetes problem sorting
2022-06-13 11:42:00 【Lyndon1107】
Kubernetes Problem sorting
CrashLoopBackOff error
CrashLoopBackOff The meaning is ,Kubernetes Attempt to start the Pod, But there was an error in the process , The container failed to start or is being deleted .
pod Report errors "Back-off restarting failed container" terms of settlement
Link address :https://blog.csdn.net/sqhren626232/article/details/101013390
resolvent : stay deployment Add a command after declaring the image
command: [ “/bin/bash”, “-ce”, “tail -f /dev/null” ]
command: [“sleep”,“3600”]
Find the problem
[[email protected] ~]# kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
activemq-deployment-d89bcb469-5tlkn 0/1 CrashLoopBackOff 5 7m35s 10.244.3.7 node2 <none> <none>
see pod Details of ( chart )
Pod Always in ImagePullBackOff state
https://www.bookstack.cn/read/kubernetes-practice-guide/troubleshooting-problems-pod-keep-imagepullbackoff.md
k8s Create app stuck ContainerCreating Solutions for
https://www.cnbugs.com/post-3276.html
Unable to update cni config: No networks found in /etc/cni/net.d
vi /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf
add to
Environment=“KUBELET_NETWORK_ARGS=–network-plugin=cni --cni-conf-dir=/etc/cni/ --cni-bin-dir=/opt/cni/bin”
Reload
systemctl daemon-reload
systemctl restart kubelet
Kubernetes Report errors Failed to get system container stats for “/system.slice/docker.service”: failed to get cgroup stats for “/system.slice/docker.service”
[[email protected] net.d]# systemctl status kubelet
● kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/kubelet.service.d
└─10-kubeadm.conf
Active: active (running) since Sun 2021-03-21 09:43:20 CST; 1 day 7h ago
Docs: https://kubernetes.io/docs/
Main PID: 829 (kubelet)
Tasks: 17
Memory: 93.6M
CGroup: /system.slice/kubelet.service
└─829 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --cgroup-driver=systemd --network-plugin=cni --pod-infra-...
Mar 22 17:21:59 master1 kubelet[829]: E0322 17:21:59.967531 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...
Mar 22 17:22:10 master1 kubelet[829]: E0322 17:22:09.999160 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...
Mar 22 17:22:20 master1 kubelet[829]: E0322 17:22:20.018321 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...
Mar 22 17:22:30 master1 kubelet[829]: E0322 17:22:30.044959 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...
Mar 22 17:22:40 master1 kubelet[829]: E0322 17:22:40.069868 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...
边栏推荐
猜你喜欢

(一)爬取Best Sellers的所有分类信息:爬取流程

【TcaplusDB知识库】TcaplusDB单据受理-创建游戏区介绍

St table learning

【TcaplusDB知识库】Tmonitor后台一键安装介绍(一)

Adaptation of multi system docking and application of packaging mode

Digital DP example
![[tcapulusdb knowledge base] Introduction to tcapulusdb general documents](/img/d4/b1a2b217f80b532ed1640a948fcca6.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb general documents

数据库连接数设置多少合适?
![[tcapulusdb knowledge base] tcapulusdb cluster management introduction](/img/c1/62276c344ded6c260070f0d60bce81.png)
[tcapulusdb knowledge base] tcapulusdb cluster management introduction

Kubernetes问题整理
随机推荐
Camunda定时器事件示例Demo(Timer Events)
Prim求最小生成树(朴素版稠密图)
The road of ospo construction of Weibo: how to promote enterprise open source through ospo construction?
状态压缩DP例题(旅行商问题和填矩形问题)
socket编程(上)
【TcaplusDB知识库】TcaplusDB单据受理-创建游戏区介绍
判定二分图和二分图最大匹配
Socket programming (medium)
Ue5 small knowledge points geometry script modeling
面试题 Mysql 数据库
Nim游戏阶梯 Nim游戏和SG函数应用(集合游戏)
ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
Audio and video technology development weekly 𞓜 249
Ue5 random point in bounding boxf from stream
【TcaplusDB知识库】TcaplusDB运维单据介绍
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction
22. Class E power amplifier design of ads usage record (Part 2)
Nim game ladder Nim game and SG function application (set game)
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
银行业务系统数据库设计与实现