在提到 Kubernetes 中节点的状况状态时,与MemoryPressure
和DiskPressure
混淆了这是根据文档的定义:https://kubernetes.io/docs/concepts/architecture/nodes/
MemoryPressure True if pressure exists on the node memory – that is, if the node memory is low; otherwise False
DiskPressure True if pressure exists on the disk size – that is, if the disk capacity is low; otherwise False
OutOfDisk True if there is insufficient free space on the node for adding new pods, otherwise False
这里的问题是,kubernetes 的节点内存和磁盘大小有什么不同?
简单来说:
- 磁盘:硬盘 #e.g. 100GB 磁盘大小 内存
- :内存#e.g. 4GB 内存