Skip to content

Commit 8186447

Browse files
committed
KEP-2590: update supported subresources list
Signed-off-by: Maciej Szulik <[email protected]>
1 parent 4c34495 commit 8186447

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

keps/sig-cli/2590-kubectl-subresource/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
6363

6464
This document proposes adding a new `--subresource` flag to the following kubectl
6565
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.
6768

6869
## Motivation
6970

@@ -77,7 +78,7 @@ to work with the API in a generic fashion.
7778
### Goals
7879

7980
- 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`
8182
subresources for all resources (built-in and custom resources) that support these.
8283
- Display pretty printed table columns for the `status` (uses same columns as the main resource)
8384
and `scale` subresources.
@@ -91,7 +92,7 @@ and `scale` subresources.
9192

9293
kubectl commands like `get`, `patch`, `edit`, `apply` and `replace` will now contain a
9394
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.
9596

9697
Note that the API contract against the subresource is identical to a full resource.
9798
Therefore updating the status subresource to hold new value which could potentially
@@ -344,7 +345,7 @@ No.
344345
###### How can an operator determine if the feature is in use by workloads?
345346

346347
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.
348349

349350
###### How can someone using this feature know that it is working for their instance?
350351

keps/sig-cli/2590-kubectl-subresource/kep.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ approvers:
1515
- "@soltysh"
1616
- "@ardaguclu"
1717

18-
see-also: []
18+
see-also:
19+
- "/keps/sig-node/1287-in-place-update-pod-resources"
1920
replaces: []
2021

2122
# The target maturity stage in the current dev cycle for this KEP.

0 commit comments

Comments
 (0)