@@ -145,8 +145,8 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
145
145
- [x] (R) Production readiness review completed
146
146
- [x] (R) Production readiness review approved
147
147
- [X] "Implementation History" section is up-to-date for milestone
148
- - [ ] User-facing documentation has been created in [ kubernetes/website] , for publication to [ kubernetes.io]
149
- - [ ] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
148
+ - [X ] User-facing documentation has been created in [ kubernetes/website] , for publication to [ kubernetes.io]
149
+ - [X ] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
150
150
151
151
<!--
152
152
**Note:** This checklist is iterative and should be reviewed and updated every time this enhancement is being considered for a milestone.
@@ -399,6 +399,8 @@ New unit test cases will be added for the following scenarios:
399
399
- During the copying pod, custom profile is set and ` --profile ` is ` general ` and the output is expected
400
400
- During the node debugging, custom profile is set and ` --profile ` is ` general ` and the output is expected
401
401
402
+ - ` k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/cmd/debug ` : ` 30-09-2024 ` - ` 67.3% `
403
+
402
404
##### Integration tests
403
405
404
406
<!--
@@ -425,6 +427,10 @@ this value is in the pod spec.
425
427
- Send invalid custom profile json(not in corev1.Container type or completely invalid json) and assure that
426
428
the error message is correct.
427
429
430
+ integration tests (defined in https://k8s.io/kubernetes/test/cmd/debug.sh#L571-L661 ) are running in
431
+ https://storage.googleapis.com/k8s-triage/index.html?pr=1&job=pull-kubernetes-integration
432
+
433
+
428
434
##### e2e tests
429
435
430
436
<!--
@@ -518,7 +524,7 @@ in back-to-back releases.
518
524
519
525
#### GA
520
526
521
- - Environment variable is removed altogether and feature is enabled and can not be disabled .
527
+ - Feature gate (i.e. ` KUBECTL_DEBUG_CUSTOM_PROFILE ` ) is locked to true and will be removed in 1.34 .
522
528
- e2e tests are implemented and enabled.
523
529
524
530
### Upgrade / Downgrade Strategy
@@ -941,8 +947,16 @@ For each of them, fill in the following information by copying the below templat
941
947
- Testing: Are there any tests for failure mode? If not, describe why.
942
948
-->
943
949
950
+ - invalid debug pod after invalid custom profiling
951
+ - Detection: Debug pod is not in running state or not having required privileges to debug smoothly
952
+ - Mitigations: Pod can be deleted and re-run after modifying the custom profile
953
+ - Diagnostics: Pod can't be attached or in not running state
954
+ - Testing: There are several unit tests are implemented in https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/debug/debug_test.go
955
+
944
956
###### What steps should be taken if SLOs are not being met to determine the problem?
945
957
958
+ Not applicable
959
+
946
960
## Implementation History
947
961
948
962
<!--
@@ -957,6 +971,7 @@ Major milestones might include:
957
971
-->
958
972
- 2023-10-13: Kep is proposed as alpha feature
959
973
- 2024-06-04: Kep is promoted to beta
974
+ - 2024-09-05: Kep is promoted to stable
960
975
961
976
## Drawbacks
962
977
0 commit comments