From 6cbebe1bb2b48ef471eaa7e018558f0ad56e41bb Mon Sep 17 00:00:00 2001 From: xiyang <161114931+0xdoomxy@users.noreply.github.com> Date: Fri, 31 May 2024 11:17:14 +0800 Subject: [PATCH] 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. --- concepts/qos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/qos.md b/concepts/qos.md index d5ab9eacb..204d444f5 100644 --- a/concepts/qos.md +++ b/concepts/qos.md @@ -6,7 +6,7 @@ QoS(Quality 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`。