8

k8s 里多个 pods 能共享一套 cpu/内存限制吗?

 4 years ago
source link: https://www.v2ex.com/t/788782
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Kubernetes

k8s 里多个 pods 能共享一套 cpu/内存限制吗?

  felixin · 8 小时 43 分钟前 via Android · 235 次点击

比如我有 100 个 pods,总共给它们分配 8c/32g,有什么手段可以办到吗?

这些 pods 大部分时间只有少部分活动,其他的都在待机状态,只耗内存不耗 cpu

felixin

felixin   8 小时 42 分钟前 via Android

不能在一个 pod 里装多个 container,因为端口,文件系统会冲突

515576745

515576745   5 小时 56 分钟前 via Android

pod 模板指定 resource request 和 limit

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK