K8S管理容器的计算资源

Kopei article

https://v1-8.docs.kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

前言

k8s可以给pod设置计算资源用量, 当遇到违反某些不满足性能的条件时,k8s会有一套机制来处理。限制资源在编排模拟中使用limitsrequests.
requests指定资源的最小要求,limits指定最大用量。详细关系是 0 <= request <=Node Allocatablerequest <= limit <= Infinity
具体查看resource-qos

  • Post title:K8S管理容器的计算资源
  • Post author:Kopei
  • Create time:2018-03-13 00:00:00
  • Post link:https://kopei.github.io/2018/03/12/kubernetes-2018-03-13-k8s-manage-resource/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments
On this page
K8S管理容器的计算资源