accurately expressing the semantics of the qos (#490)

according to kubernetes website description and actual situation, the qos take effect  to controller the policy of expulsion.This change operation express the qos meaning  more accurately.
master
xiyang 2024-05-31 11:17:14 +08:00 committed by GitHub
parent 0403928770
commit 6cbebe1bb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ QoSQuality of Service大部分译为“服务质量等级”又译
- **Burstable**Pod 里至少有一个容器有内存或者 CPU 请求且不满足 Guarantee 等级的要求,即内存/CPU 的值设置的不同。
- **BestEffort**:容器必须没有任何内存或者 CPU 的限制或请求。
该配置不是通过一个配置项来配置的,而是通过配置 CPU/内存的 `limits``requests` 值的大小来确认服务质量等级的。使用 `kubectl get pod -o yaml` 可以看到 pod 的配置输出中有 `qosClass` 一项。该配置的作用是为了给资源调度提供策略支持,调度算法根据不同的服务质量等级可以确定将 pod 调度到哪些节点上
该配置不是通过一个配置项来配置的,而是通过配置 CPU/内存的 `limits``requests` 值的大小来确认服务质量等级的。使用 `kubectl get pod -o yaml` 可以看到 pod 的配置输出中有 `qosClass` 一项。该配置的作用是为了给资源调度提供策略支持,Kubernetes 依赖这种分类来决定当 Node 上没有足够可用资源时要驱逐哪些 Pod
例如,下面这个 YAML 配置中的 Pod 资源配置部分设置的服务质量等级就是 `Guarantee`