|
| 1 | +--- |
| 2 | +api_metadata: |
| 3 | + apiVersion: "" |
| 4 | + import: "k8s.io/api/core/v1" |
| 5 | + kind: "ResourceFieldSelector" |
| 6 | +content_type: "api_reference" |
| 7 | +description: "ResourceFieldSelector 表示容器资源(CPU,内存)及其输出格式。" |
| 8 | +title: "ResourceFieldSelector" |
| 9 | +weight: 11 |
| 10 | +auto_generated: true |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- |
| 14 | +api_metadata: |
| 15 | + apiVersion: "" |
| 16 | + import: "k8s.io/api/core/v1" |
| 17 | + kind: "ResourceFieldSelector" |
| 18 | +content_type: "api_reference" |
| 19 | +description: "ResourceFieldSelector represents container resources (cpu, memory) and their output format." |
| 20 | +title: "ResourceFieldSelector" |
| 21 | +weight: 11 |
| 22 | +auto_generated: true |
| 23 | +--> |
| 24 | + |
| 25 | +<!-- |
| 26 | +The file is auto-generated from the Go source code of the component using a generic |
| 27 | +[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how |
| 28 | +to generate the reference documentation, please read |
| 29 | +[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/). |
| 30 | +To update the reference content, please follow the |
| 31 | +[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/) |
| 32 | +guide. You can file document formatting bugs against the |
| 33 | +[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project. |
| 34 | +--> |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +`import "k8s.io/api/core/v1"` |
| 39 | + |
| 40 | + |
| 41 | +<!-- ResourceFieldSelector represents container resources (cpu, memory) and their output format --> |
| 42 | +ResourceFieldSelector 表示容器资源(CPU,内存)及其输出格式。 |
| 43 | + |
| 44 | +<hr> |
| 45 | + |
| 46 | +- **resource** (string), 必选 |
| 47 | + |
| 48 | + <!-- Required: resource to select --> |
| 49 | + 必选:选择的资源 |
| 50 | + |
| 51 | +- **containerName** (string) |
| 52 | + |
| 53 | + <!-- Container name: required for volumes, optional for env vars --> |
| 54 | + 容器名称:对卷必选,对环境变量可选 |
| 55 | + |
| 56 | +- **divisor** (<a href="{{< ref "../common-definitions/quantity#Quantity" >}}">Quantity</a>) |
| 57 | + |
| 58 | + <!-- Specifies the output format of the exposed resources, defaults to "1" --> |
| 59 | + 指定所曝光资源的输出格式,默认值为“1” |
| 60 | + |
| 61 | + |
| 62 | + |
0 commit comments