Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubelet: filter out terminated pods in SyncPods #7301

Merged
merged 1 commit into from
Apr 24, 2015

Commits on Apr 24, 2015

  1. kubelet: filter out terminated pods in SyncPods

    Once a pod reaches a terminated state (whether failed or succeeded), it should
    not transit out ever again. Currently, kubelet relies on examining the dead
    containers to verify that the container has already been run. This is fine
    in most cases, but if the dead containers were garbage collected, kubelet may
    falsely concluded that the pod has never been run. It would then try to restart
    all the containers.
    
    This change eliminates most of such possibilities by pre-filtering out the pods
    in the final states before sending updates to per-pod workers.
    yujuhong committed Apr 24, 2015
    Configuration menu
    Copy the full SHA
    b0e6926 View commit details
    Browse the repository at this point in the history