当前位置:网站首页>Kubernetes pod troubleshooting guide
Kubernetes pod troubleshooting guide
2022-06-29 14:22:00 【Foxconn quality inspector zhangquandan】
Pod misarrangement
Pod Various abnormal phenomena , Possible causes and solutions .
- see Pod state : kubectl get pod <pod-name> -o wide
- see Pod Of yaml To configure : kubectl get pod <pod-name> -o yaml
- see Pod event : kubectl describe pod <pod-name>
- View container log : kubectl logs <pod-name> [-c <container-name>]
Failed
Failure (Failed):Pod All containers in have been terminated , And at least one container is terminated for failure . That is, the container is not 0 The state exits or is disabled by the system . ( The container process actively exits )
- There is a problem with the cluster network ,Pod Unable to connect to the cluster DNS service
- colony DNS Service to hang , Unable to respond to resolution request
- Service Or the domain name and address are configured incorrectly , Itself is an unresolved address
Program configuration error
- Configuration file format error , The program failed to start parsing configuration and exited with an error
- The configuration content does not conform to the specification , For example, a field in the configuration is required but not filled in , Configuration verification failed , Program error reporting is active sign out
Pod Always in Unknown state
Usually, the node is disconnected , No status reported to apiserver, After reaching the threshold controller-manager Consider that the node is disconnected and set its state to Unknown .
- The node is under high load and cannot be reported
- The node is down
- The node is shut down
- The Internet is not working
Pod Always in Error state
Usually in Error state explain Pod An error occurred during startup . Common causes include :
- Rely on the ConfigMap、Secret perhaps PV There is no such thing as
- The requested resource exceeds the limit set by the Administrator , Like more than LimitRange etc.
- Violating the security policy of the cluster , For example, in violation of PodSecurityPolicy etc.
- The container does not have permission to operate the resources in the cluster , For example, open RBAC after , Need to be for ServiceAccount Configure role binding
边栏推荐
- 靠代理,靠买断,国产端游的蛮荒时代等待下一个《永劫无间》
- Crazy digital collections, the next myth of making wealth?
- mysql多表查询
- 【Qt 教程】QPushButton 按键和双击效果
- 关于MongoDB报错:connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
- Application of ansvc reactive power compensation device in a shopping mall in Hebei
- Are you still reading the log by command? Use kibana, one picture is better than ten thousand lines of log
- Can Ruida futures open an account? Is it safe and reliable?
- Sixty years of deep learning
- 微信小程序:图片秒加水印制作生成
猜你喜欢

Hardware development notes (VIII): basic process of hardware development, making a USB to RS232 module (VII): creating a basic dip component (crystal oscillator) package and associating the principle
![[dark horse morning post] the market value of China public education has evaporated by more than 200billion; New Oriental has more than 20million live fans; HM closes its first store in China; Vanke Y](/img/d7/4671b5a74317a8f87ffd36be2b34e1.jpg)
[dark horse morning post] the market value of China public education has evaporated by more than 200billion; New Oriental has more than 20million live fans; HM closes its first store in China; Vanke Y

Wechat applet: repair collection interface version cloud development expression package

浅析 Istio——可观测性

微信小程序:全新独家云开发微群人脉

uniApp问题清单与经验

Goby full port scan

Are you still reading the log by command? Use kibana, one picture is better than ten thousand lines of log

【重要通知】中国图象图形学学会2022年度系列奖励推荐工作启动

“死掉”的诺基亚,一年躺赚1500亿
随机推荐
28000 word summary of callable and future interview knowledge points. After reading it, I went directly to ByteDance. Forgive me for being a little floating (Part 2)
Characteristics of human immaturity
关于MongoDB报错:connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
[important notice] the 2022 series of awards and recommendations of China graphics society were launched
Redis的数据过期清除策略 与 内存淘汰策略
国内十大券商,有哪些安全吗?
现场快递柜状态采集与控制系统
【烹饪记录】--- 酸辣白菜
zabbix 5.0如何将esxi6.7添加到监控
vmware虚拟机的作用
Stable currency risk profile: are usdt and usdc safe?
MySQL数据库:使用show profile命令分析性能
Thinkpad VMware 安装虚拟机出现此主机支持 Intel VT-x,但 Intel VT-x 处于禁用状态(问题解决方法)
Redis transaction mechanism
吐血整理:一份不可多得的架构师图谱!
一次mysql的.ibd文件过大处理过程记录
redis 分片集群搭建与使用教程
Sixty years of deep learning
Kubernetes Pod 排错指南
Wechat applet: new and exclusive cloud development wechat group contacts