Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getKubeletSandboxes (1.54 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		}
    	}
    
    	return wc, nil
    }
    
    // getKubeletSandboxes lists all (or just the running) sandboxes managed by kubelet.
    func (m *kubeGenericRuntimeManager) getKubeletSandboxes(ctx context.Context, all bool) ([]*runtimeapi.PodSandbox, error) {
    	var filter *runtimeapi.PodSandboxFilter
    	if !all {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	containers, err := cgc.manager.getKubeletContainers(ctx, true)
    	if err != nil {
    		return err
    	}
    
    	sandboxes, err := cgc.manager.getKubeletSandboxes(ctx, true)
    	if err != nil {
    		return err
    	}
    
    	// collect all the PodSandboxId of container
    	sandboxIDs := sets.New[string]()
    	for _, container := range containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top