ResourceFieldSelector

ResourceFieldSelector 表示容器资源(cpu、内存)及其输出格式。

import "k8s.io/api/core/v1"

ResourceFieldSelector 表示容器资源(cpu、内存)及其输出格式


  • resource (string),必需

    必需:要选择的资源

  • containerName (string)

    容器名称:卷 (volumes) 必需,环境变量 (env vars) 可选

  • divisor (Quantity)

    指定暴露资源的输出格式,默认为 "1"

本页面是自动生成的。

如果你打算报告此页面存在的问题,请在问题描述中提及此页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。

上次修改时间:2021 年 4 月 18 日下午 5:30 PST:添加 auto_gerated 元数据 (21a2715031)