File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
content/en/docs/reference/kubectl Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,11 @@ For a stable output in a script:
22
22
23
23
## Subresources
24
24
25
- * You can use the ` --subresource ` alpha flag for kubectl commands like ` get ` , ` patch ` ,
25
+ * You can use the ` --subresource ` beta flag for kubectl commands like ` get ` , ` patch ` ,
26
26
` edit ` and ` replace ` to fetch and update subresources for all resources that
27
27
support them. Currently, only the ` status ` and ` scale ` subresources are supported.
28
+ * For ` kubectl edit ` , the ` scale ` subresource is not supported. If you use ` --subresource ` with
29
+ ` kubectl edit ` and specify ` scale ` as the subresource, the command will error out.
28
30
* The API contract against a subresource is identical to a full resource. While updating the
29
31
` status ` subresource to a new value, keep in mind that the subresource could be potentially
30
32
reconciled by a controller to a different value.
You can’t perform that action at this time.
0 commit comments