Ljohn001 / blogs

Github Pages: https://www.ljohn.cn/
0 stars 0 forks source link

Kubernetets CPU绑核配置 | Ljohn's Blog #19

Open Ljohn001 opened 1 year ago

Ljohn001 commented 1 year ago

https://www.ljohn.cn/2023/03/30/kubernetets-cpu-bang-he-pei-zhi/

CPU绑核配置默认情况下,kubelet 使用 CFS 配额 来执行 Pod 的 CPU 约束。 当节点上运行了很多 CPU 密集的 Pod 时,工作负载可能会迁移到不同的 CPU 核, 这取决于调度时 Pod 是否被扼制,以及哪些 CPU 核是可用的。许多应用对这种迁移不敏感,因此无需任何干预即可正常工作。有些应用对CPU敏感,CPU敏感型应用有如下特点。 对CPU throttling 敏感