• Yu-Ju Hong's avatar
    Treat first-seen, non-pending pods as updates · 712612c2
    Yu-Ju Hong authored
    Kubelet doesn't perform checkpointing and loses all its internal states after
    restarts. It'd then mistaken pods from the api server as new pods and attempt
    to go through the admission process. This may result in pods being rejected
    even though they are running on the node (e.g., out of disk situation). This
    change adds a condition to check whether the pod was seen before and categorize
    such pods as updates. The change also removes freeze/unfreeze mechanism used to
    work around such cases, since it is no longer needed and it stopped working
    correctly ever since we switched to incremental updates.
    712612c2
disk_manager.go 4.02 KB