K8S管理容器的计算资源

https://v1-8.docs.kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
前言
k8s可以给pod设置计算资源用量, 当遇到违反某些不满足性能的条件时,k8s会有一套机制来处理。限制资源在编排模拟中使用limits
或requests
.requests
指定资源的最小要求,limits
指定最大用量。详细关系是 0 <= request <=Node Allocatable
和request <= limit <= Infinity
。
具体查看resource-qos
- Title: K8S管理容器的计算资源
- Author: Kopei
- Created at : 2018-03-13 00:00:00
- Updated at : 2025-08-13 18:15:58
- Link: https://kopei.github.io/2018/03/12/kubernetes-2018-03-13-k8s-manage-resource/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments