当前位置:网站首页>Pod abnormal troubleshooting
Pod abnormal troubleshooting
2022-06-24 02:31:00 【-】
pod state :
Pending( It's up in the air ) | Pod Has been Kubernetes The system accepts , But one or more containers have not been created or run . This phase involves waiting Pod The time to be scheduled and the time to download the image through the network , |
|---|---|
Waiting ( wait for ) | Pod be in Waiting The state container is still running, and it does what it needs to start . |
Terminated( Terminated ) | Pod be in Terminated The state of the container has started to execute and either ends normally or fails for some reason .. |
Failed( Failure ) | Pod All containers in have terminated , And at least one container is terminated for failure . in other words , The container is not 0 The state exits or is terminated by the system . |
Unknown( Unknown ) | For some reason can't get Pod The state of . This is usually due to the fact that Pod Host communication failure . |
Eviction( deportation ) | When an exception occurs in a node , To ensure the availability of the workload ,kubernetes There will be a corresponding mechanism to evict Pod. |
Event classes
Back-off restarting failed docker container | Restarting abnormal Docker Containers |
|---|---|
fit failure on node: Insufficient cpu | node CPU Insufficient |
no nodes available to schedule pods | The cluster resources are insufficient |
pod failed to fit in any node | No suitable node is available for the instance |
Liveness probe failed | Container health check failed |
Error syncing pod, skipping | The container process crashes or exits |
pod In the above situation , It can be done by kubectl describe pod -n<namepsaces> <podname> View correspondence event Display information , Solve the problem based on the corresponding error message ;
" Back-off And pod The problem of restarting occurs , Can pass :
kubectl logs -n<namepsaces> <podname> // View the current pod Standard output log
kubectl logs -n<namepsaces> <podname> -p //// Check out the previous pod Standard output log
Solve the corresponding problems based on the corresponding standard output log .
边栏推荐
- How about Tencent cloud game server? Can the cloud game server play games
- Looking at the future development direction of industrial Internet from the transformation of circulation links of large building materials
- How long can the trademark registration be completed? How to improve the speed of trademark registration?
- How to build a cloud game server what needs to be considered to build a cloud game server
- [new features] Tencent cloud lightweight ECS will soon support attaching data disks!!!
- Data acquisition and transmission instrument environmental pollution monitoring of iron and steel plant
- Do you still understand the deadlock handling methods in MySQL performance testing and tuning?
- How to design and make ppt gradient effect?
- Flowable get the input stream of the current task process picture
- Leetcode problem solving notes for slow ploughing of stupid cattle (dynamic update...)
猜你喜欢

Advanced BOM tool intelligent packaging function

application. Yaml configuring multiple running environments

Leetcode969: pancake sorting (medium, dynamic programming)

How to fill in and register e-mail, and open mass mailing software for free

163 mailbox login portal display, enterprise mailbox computer version login portal

If there are enumerations in the entity object, the conversion of enumerations can be carried out with @jsonvalue and @enumvalue annotations

Introduction to development model + test model

2020 language and intelligent technology competition was launched, and Baidu provided the largest Chinese data set
Cloudpods golang practice
随机推荐
How about Tencent cloud game server? Can the cloud game server play games
Face recognition using cidetector
Do you still understand the deadlock handling methods in MySQL performance testing and tuning?
Contour-v1.19.1 release
Select problem set 3
How to view the speech synthesis platform how to use the speech synthesis platform
If you accidentally make the disk dynamic, how to convert it back (do not guarantee it, but take a snapshot before operation)
Tencent cloud won the first place in the cloud natural language understanding classification task
[expense center] demand & problem feedback week is coming! Feedback wins a good gift!
Looking at the future development direction of industrial Internet from the transformation of circulation links of large building materials
What is data matrix code
How to build an enterprise website? Is it difficult?
S2b2c platform of fresh food industry reshapes the ecosystem of agricultural products and builds a mobile fresh food comprehensive mall
If there are enumerations in the entity object, the conversion of enumerations can be carried out with @jsonvalue and @enumvalue annotations
UNIX command encyclopedia, common commands are here, work must!
Dry goods collection | the heaviest content collection of Tencent digital ecology Conference!
An attempt to use Navicat tool to copy and export MySQL database data
A detailed explanation of the laser slam framework logo-loam
The technical route is based on UE4 for secondary development
How to build a cloud game server what needs to be considered to build a cloud game server