摘要:
Go 提供了解析命令行参数的 flag 包,本文旨在介绍 flag 的使用及内部实现等。 1. flag 包使用及实现 type PropertyOfPod struct { Namespace *string PodName *string Phase *string } var pod = Pr 阅读全文
摘要:
0. overview There are too many guides about node pressure and pod eviction, most of them are specific, and no system. so here is to combine the knowle 阅读全文
摘要:
本文转载自米开朗其扬的博客 1. Kubernetes Pod 驱逐详解 在 Kubernetes 中,Pod 使用的资源最重要的是 CPU、内存和磁盘 IO,这些资源可以被分为可压缩资源(CPU)和不可压缩资源(内存,磁盘 IO)。可压缩资源不可能导致 Pod 被驱逐,因为当 Pod 的 CPU 阅读全文