• Kubernetes Submit Queue's avatar
    Merge pull request #48739 from yguo0905/fix-dup-metrics · f59b04b8
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Remove the status of the terminated containers in the summary endpoint
    
    Ref: https://github.com/kubernetes/kubernetes/issues/47853
    
    - When building summary, a container is considered to be terminated if it has an older creation time and no CPU instantaneous or memory RSS usage.
    - We remove the terminated containers in the summary by grouping the containers with the same name in the same pod, sorting them in each group by creation time, and skipping the oldest ones with no usage in each group. Let me know if there's simpler way.
    
    **Release note**:
    ```
    None
    ```
    /assign @yujuhong
    f59b04b8
Name
Last commit
Last update
..
portforward Loading commit data...
remotecommand Loading commit data...
stats Loading commit data...
streaming Loading commit data...
BUILD Loading commit data...
auth.go Loading commit data...
auth_test.go Loading commit data...
doc.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
server_websocket_test.go Loading commit data...