• Kubernetes Submit Queue's avatar
    Merge pull request #45496 from andyxning/fix_pleg_relist_time · c1f8fcd9
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    fix pleg relist time
    
    This PR fix pleg reslist time. According to current implementation, we have a `Healthy` method periodically check the relist time. If current timestamp subtracts latest relist time is longer than `relistThreshold`(default is 3 minutes), we should return an error to indicate the error of runtime.
    
    `relist` method is also called periodically. If runtime(docker) hung, the relist method should return immediately without updating the latest relist time. If we update latest relist time no matter runtime(docker) hung(default timeout is 2 minutes), the `Healthy` method will never return an error.
    
    ```release-note
    Kubelet PLEG updates the relist timestamp only after successfully relisting.
    ```
    
    /cc @yujuhong @Random-Liu @dchen1107
    c1f8fcd9
Name
Last commit
Last update
..
BUILD Loading commit data...
doc.go Loading commit data...
generic.go Loading commit data...
generic_test.go Loading commit data...
pleg.go Loading commit data...