Skip to content

Commit 5621db9

Browse files
committed
Update KEP.yaml
1 parent 5b27492 commit 5621db9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

keps/sig-node/3953-node-resource-hot-plug/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ tags, and then generate with `hack/update-toc.sh`.
3030
- [Handling hotplug events](#handling-hotplug-events)
3131
- [Flow Control for updating swap limit for containers](#flow-control-for-updating-swap-limit-for-containers)
3232
- [Compatibility with Cluster Autoscaler](#compatibility-with-cluster-autoscaler)
33+
- [API Changes](#api-changes)
3334
- [Handling HotUnplug Events](#handling-hotunplug-events)
3435
- [Flow Control](#flow-control)
3536
- [Test Plan](#test-plan)
@@ -340,6 +341,18 @@ To ensure the Cluster Autoscaler acknowledges resource hotplug, the following ap
340341
Given that this KEP and autoscaler are inter-related, the above approaches were discussed in the community with relevant stakeholders, and have decided approaching this problem through the approach 1.
341342
The same will be targeted around the beta graduation of this KEP
342343

344+
##### API Changes
345+
346+
```go
347+
type NodeStatus struct {
348+
// ... existing fields
349+
// InitialCapacity represents the total resources of a node at the time of creation.
350+
// +featureGate=NodeResourceHotPlug
351+
// +optional
352+
InitialCapacity ResourceList `json:"initialCapacity,omitempty"`
353+
}
354+
```
355+
343356
### Handling HotUnplug Events
344357

345358
Though this KEP focuses only on resource hotplug, It will enable the kubelet to capture the current available capacity of the node (Regardless of whether it was a hotplug or hotunplug of resources.)

keps/sig-node/3953-node-resource-hot-plug/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors:
88
owning-sig: sig-node
99
participating-sigs:
1010
- sig-node
11-
status: provisional
11+
status: implementable
1212
creation-date: 2023-10-04
1313
reviewers:
1414
- "@smarterclayton"

0 commit comments

Comments
 (0)