Disentangle CRD additional printer columns & field selector sectiosn
Signed-off-by: Stefan Büringer buringerst@vmware.compull/47205/head
parent
5ea6ba08e7
commit
4521fe7e49
|
@ -1630,6 +1630,45 @@ my-new-cron-object * * * * * 1 7s
|
||||||
The `NAME` column is implicit and does not need to be defined in the CustomResourceDefinition.
|
The `NAME` column is implicit and does not need to be defined in the CustomResourceDefinition.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
|
||||||
|
#### Priority
|
||||||
|
|
||||||
|
Each column includes a `priority` field. Currently, the priority
|
||||||
|
differentiates between columns shown in standard view or wide view (using the `-o wide` flag).
|
||||||
|
|
||||||
|
- Columns with priority `0` are shown in standard view.
|
||||||
|
- Columns with priority greater than `0` are shown only in wide view.
|
||||||
|
|
||||||
|
#### Type
|
||||||
|
|
||||||
|
A column's `type` field can be any of the following (compare
|
||||||
|
[OpenAPI v3 data types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#dataTypes)):
|
||||||
|
|
||||||
|
- `integer` – non-floating-point numbers
|
||||||
|
- `number` – floating point numbers
|
||||||
|
- `string` – strings
|
||||||
|
- `boolean` – `true` or `false`
|
||||||
|
- `date` – rendered differentially as time since this timestamp.
|
||||||
|
|
||||||
|
If the value inside a CustomResource does not match the type specified for the column,
|
||||||
|
the value is omitted. Use CustomResource validation to ensure that the value
|
||||||
|
types are correct.
|
||||||
|
|
||||||
|
#### Format
|
||||||
|
|
||||||
|
A column's `format` field can be any of the following:
|
||||||
|
|
||||||
|
- `int32`
|
||||||
|
- `int64`
|
||||||
|
- `float`
|
||||||
|
- `double`
|
||||||
|
- `byte`
|
||||||
|
- `date`
|
||||||
|
- `date-time`
|
||||||
|
- `password`
|
||||||
|
|
||||||
|
The column's `format` controls the style used when `kubectl` prints the value.
|
||||||
|
|
||||||
### Field selectors
|
### Field selectors
|
||||||
|
|
||||||
[Field Selectors](/docs/concepts/overview/working-with-objects/field-selectors/)
|
[Field Selectors](/docs/concepts/overview/working-with-objects/field-selectors/)
|
||||||
|
@ -1720,44 +1759,6 @@ NAME COLOR SIZE
|
||||||
example2 blue M
|
example2 blue M
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Priority
|
|
||||||
|
|
||||||
Each column includes a `priority` field. Currently, the priority
|
|
||||||
differentiates between columns shown in standard view or wide view (using the `-o wide` flag).
|
|
||||||
|
|
||||||
- Columns with priority `0` are shown in standard view.
|
|
||||||
- Columns with priority greater than `0` are shown only in wide view.
|
|
||||||
|
|
||||||
#### Type
|
|
||||||
|
|
||||||
A column's `type` field can be any of the following (compare
|
|
||||||
[OpenAPI v3 data types](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#dataTypes)):
|
|
||||||
|
|
||||||
- `integer` – non-floating-point numbers
|
|
||||||
- `number` – floating point numbers
|
|
||||||
- `string` – strings
|
|
||||||
- `boolean` – `true` or `false`
|
|
||||||
- `date` – rendered differentially as time since this timestamp.
|
|
||||||
|
|
||||||
If the value inside a CustomResource does not match the type specified for the column,
|
|
||||||
the value is omitted. Use CustomResource validation to ensure that the value
|
|
||||||
types are correct.
|
|
||||||
|
|
||||||
#### Format
|
|
||||||
|
|
||||||
A column's `format` field can be any of the following:
|
|
||||||
|
|
||||||
- `int32`
|
|
||||||
- `int64`
|
|
||||||
- `float`
|
|
||||||
- `double`
|
|
||||||
- `byte`
|
|
||||||
- `date`
|
|
||||||
- `date-time`
|
|
||||||
- `password`
|
|
||||||
|
|
||||||
The column's `format` controls the style used when `kubectl` prints the value.
|
|
||||||
|
|
||||||
### Subresources
|
### Subresources
|
||||||
|
|
||||||
Custom resources support `/status` and `/scale` subresources.
|
Custom resources support `/status` and `/scale` subresources.
|
||||||
|
|
Loading…
Reference in New Issue