/images/avataaars.svg
养猫人

优雅管理pod的生命周期

pod状态计算细节 kubectl get pod 返回的状态 Pod Phase Conditions Completed Succeeded ContainerCreating Pending CrashLoopBackOff Running Container exits CreateContainerConfigError Pending eg: configmap “test” not found ErrImagePull / ImagePullBackOff / Init:ImagePullBackOff / InvalidImageName Pending Back-off pulling images Error Failed restartPolicy: Never & container exits with Error(not 0) Evicted Failed reason: Evicted Init:0/1 Pending Init Containers don’t exit Init:CrashLoopBackoff / Init:Error Pending

Prometheus

Prometheus&Grafana介绍 Prometheus介绍 基础知识 概述 Prometheus 是一个监控系统和时序数据库,特别适合监控云原生环境,它