Closed BalaBalaYi closed 5 days ago
Attention: Patch coverage is 85.00000%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 80.85%. Comparing base (
a6153a6
) to head (7826483
). Report is 2 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
dlrover/python/tests/test_k8s_watcher.py | 81.25% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What changes were proposed in this pull request?
Delete pod if status is 'Succeeded' in positive pod list operation.
Why are the changes needed?
Considering that the majority of opinions in the current Kubernetes community are that the resource usage of completed pods should be taken into account, and since the processes and containers have already exited, 'Succeeded' pods do not need to be retained. Therefore 'Succeeded' pods should be deleted.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UT.