• Kubernetes Submit Queue's avatar
    Merge pull request #50509 from feiskyer/link-logs · 0ea979a2
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50988, 50509, 52660, 52663, 52250). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Create container log symlink for all containers
    
    **What this PR does / why we need it**:
    
    dockershim only makes  log symlink for running containers now, we should also create the log symlink for failed containers.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50499
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    0ea979a2
docker_container.go 13.6 KB