• Kubernetes Submit Queue's avatar
    Merge pull request #31395 from yujuhong/getpods · b2d02bd1
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Instruct PLEG to detect pod sandbox state changes
    
    This PR adds a Sandboxes list in `kubecontainer.Pod`, so that PLEG can check
    sandbox changes using `GetPods()` . The sandboxes are treated as regular
    containers (type `kubecontainer.Container`) for now to avoid additional
    changes in PLEG.
    
    /cc @feiskyer @yifan-gu @euank
    b2d02bd1
generic.go 12.9 KB