ResourceFieldSelector
ResourceFieldSelector 表示容器资源(CPU,内存)及其输出格式。
import "k8s.io/api/core/v1"
ResourceFieldSelector 表示容器资源(CPU,内存)及其输出格式。
-
resource (string),必需
必需:选择的资源。
-
containerName (string)
容器名称:对卷必需,对环境变量可选。
-
divisor (Quantity)
指定所公开的资源的输出格式,默认值为 “1”。
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 October 23, 2023 at 5:00 PM PST: [zh] Clean up kubernetes-api/common-definitions/ files (ed70f0d450)