Skip to content

Commit 6cbebe1

Browse files
authored
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.
1 parent 0403928 commit 6cbebe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concepts/qos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ QoS(Quality of Service),大部分译为“服务质量等级”,又译
66
- **Burstable**:Pod 里至少有一个容器有内存或者 CPU 请求且不满足 Guarantee 等级的要求,即内存/CPU 的值设置的不同。
77
- **BestEffort**:容器必须没有任何内存或者 CPU 的限制或请求。
88

9-
该配置不是通过一个配置项来配置的,而是通过配置 CPU/内存的 `limits``requests` 值的大小来确认服务质量等级的。使用 `kubectl get pod -o yaml` 可以看到 pod 的配置输出中有 `qosClass` 一项。该配置的作用是为了给资源调度提供策略支持,调度算法根据不同的服务质量等级可以确定将 pod 调度到哪些节点上
9+
该配置不是通过一个配置项来配置的,而是通过配置 CPU/内存的 `limits``requests` 值的大小来确认服务质量等级的。使用 `kubectl get pod -o yaml` 可以看到 pod 的配置输出中有 `qosClass` 一项。该配置的作用是为了给资源调度提供策略支持,Kubernetes 依赖这种分类来决定当 Node 上没有足够可用资源时要驱逐哪些 Pod
1010

1111
例如,下面这个 YAML 配置中的 Pod 资源配置部分设置的服务质量等级就是 `Guarantee`
1212

0 commit comments

Comments
 (0)