Skip to content

Commit d89ebb1

Browse files
authored
Merge pull request #3770 from haircommander/2371-beta
KEP 2371: target to beta for 1.28
2 parents 1fe7ae2 + 2c2283d commit d89ebb1

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

keps/prod-readiness/sig-node/2371.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ kep-number: 2371
22
alpha:
33
approver: "@ehashman"
44
beta:
5-
approver: "@ehashman"
5+
approver: "@deads2k"

keps/sig-node/2371-cri-pod-container-stats/README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ Each compliant CRI implementation must:
651651

652652
Below is the proposed strategy for doing so:
653653

654-
1. The Alpha release will focus solely on `/stats/summary` endpoint, and `/metrics/cadvisor` support will follow in Beta.
655-
2. For the Beta release, add initial support for CRI implementations to report these metrics
654+
1. The Alpha release will add support for both `/stats/summary` endpoint and `/metrics/cadvisor` endpoint.
655+
2. For the Beta release, add support for CRI implementations to report these metrics
656656
- Initial research on the set of metrics required should be done. This will, possibly, allow the community to declare metrics that are not required to be moved to the CRI implementations.
657657
- Testing on how performant cAdvisor+Kubelet are today should be done, to find a target, acceptable threshold of performance for the CRI implementations
658658
- Creation of tests verifying the metrics are reported correctly should be created and verified with the existing cAdvisor implementation.
@@ -808,7 +808,9 @@ We expect no non-infra related flakes in the last month as a GA graduation crite
808808
- Conformance tests for the fields in `/metrics/cadvisor` should be created.
809809
- Validate performance impact of this feature is within allowable margin (or non-existent, ideally).
810810
- The CRI stats implementation should perform better than they did with CRI+cAdvisor.
811-
- cAdvisor stats provider may be marked as deprecated (depending on stability of new CRI based implementations).
811+
- cAdvisor stats provider will be marked as deprecated, as well as the cAdvisor providing the metrics endpoint `/metrics/cadvisor`.
812+
- Write migration documentation for entities relying on metrics from `/metrics/cadvisor`.
813+
- Windows stats and metrics will be added.
812814

813815
#### Beta -> GA Graduation
814816

@@ -1028,6 +1030,17 @@ resource usage (CPU, RAM, disk, IO, ...) in any components?**
10281030
This will not happen anymore.
10291031
- The CRI implementation may scrape the metrics less efficiently than cAdvisor currently does. This should be measured and evaluated as a requirement of Beta.
10301032

1033+
1034+
###### Can enabling / using this feature result in resource exhaustion of some node resources (PIDs, sockets, inodes, etc.)?
1035+
1036+
It is possible the CRI implementation could use more memory or CPU for the metrics gathering than cAdvisor does. In this case,
1037+
one of those resources could be in jepordy of being exhausted. However, it is a explicit goal of beta criteria (and graduation generally)
1038+
to prevent such regressions, so this feature will not be on by default if this is possible.
1039+
1040+
It's also worth noting that both of the CRI implementations are maintained in a similar fashion as cAdvisor: out-of-tree but by many
1041+
Kubernetes maintainers, and so the risk of this happening with this feature is similar to the risk of it happening now.
1042+
1043+
10311044
### Troubleshooting
10321045

10331046
The Troubleshooting section currently serves the `Playbook` role. We may consider
@@ -1055,6 +1068,8 @@ _This section must be completed when targeting beta graduation to a release._
10551068
2022-01-25: KEP targeted at Beta in 1.24
10561069
2022-04-20: KEP deemed not ready for Beta in 1.24
10571070
2022-06-13: Move some Beta criteria to Alpha criteria in 1.25
1071+
2022-12-09: Retarget KEP to alpha in 1.26
1072+
2023-05-19: KEP targeted at Beta in 1.28
10581073

10591074
## Drawbacks
10601075

keps/sig-node/2371-cri-pod-container-stats/kep.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ reviewers:
1414
approvers:
1515
- "@dchen1107"
1616
creation-date: 2021-01-27
17-
last-updated: 2022-06-16
17+
last-updated: 2023-05-19
1818
status: implementable
19-
stage: alpha
20-
latest-milestone: "v1.26"
19+
stage: beta
20+
latest-milestone: "v1.28"
2121
milestone:
2222
alpha: "v1.23"
23+
beta: "v1.28"
2324
see-also:
2425
- N/A
2526
replaces:

0 commit comments

Comments
 (0)