@@ -63,7 +63,8 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
63
63
64
64
This document proposes adding a new ` --subresource ` flag to the following kubectl
65
65
subcommands: ` get ` , ` patch ` , ` edit ` , ` apply ` and ` replace ` . The goal of this flag
66
- is to simplify the process of fetching and updating ` status ` and ` scale ` subresources.
66
+ is to simplify the process of fetching and updating ` status ` , ` scale ` and ` resize `
67
+ subresources.
67
68
68
69
## Motivation
69
70
@@ -77,7 +78,7 @@ to work with the API in a generic fashion.
77
78
### Goals
78
79
79
80
- Add a new flag ` --subresource=[subresource-name] ` to ` get ` , ` patch ` , ` edit ` , ` apply `
80
- and ` replace ` kubectl commands to allow fetching and updating ` status ` and ` scale `
81
+ and ` replace ` kubectl commands to allow fetching and updating ` status ` , ` scale ` and ` resize `
81
82
subresources for all resources (built-in and custom resources) that support these.
82
83
- Display pretty printed table columns for the ` status ` (uses same columns as the main resource)
83
84
and ` scale ` subresources.
@@ -91,7 +92,7 @@ and `scale` subresources.
91
92
92
93
kubectl commands like ` get ` , ` patch ` , ` edit ` , ` apply ` and ` replace ` will now contain a
93
94
new flag ` --subresource=[subresource-name] ` which will allow fetching and updating
94
- ` status ` and ` scale ` subresources for all API resources.
95
+ ` status ` , ` scale ` and ` resize ` subresources for all API resources.
95
96
96
97
Note that the API contract against the subresource is identical to a full resource.
97
98
Therefore updating the status subresource to hold new value which could potentially
344
345
###### How can an operator determine if the feature is in use by workloads?
345
346
346
347
Cluster administrator can verify [ audit entries] ( https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/ )
347
- looking for ` kubectl ` invocations targeting ` scale ` and ` status ` subresources.
348
+ looking for ` kubectl ` invocations targeting ` scale ` , ` status ` and ` resize ` subresources.
348
349
349
350
###### How can someone using this feature know that it is working for their instance?
350
351
0 commit comments