摘要: 一 pod中容器的limits属性的作用 1.1 创建一个带有资源limits的pod apiVersion: v1 kind: Pod metadata: name: limited-pod spec: containers: - image: busybox command: ["dd","if 阅读全文
posted @ 2021-01-19 21:47 伊铭(netease) 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 一 为pod分配cpu,内存以及其他的资源 1.1 创建一个pod,同时为这个pod分配内存以及cpu的资源请求量 apiVersion: v1 kind: Pod metadata: name: requests-pod spec: containers: - image: busybox com 阅读全文
posted @ 2021-01-19 16:21 伊铭(netease) 阅读(487) 评论(0) 推荐(0) 编辑