Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HandlePodCleanups (0.21 sec)

  1. pkg/kubelet/kubelet_test.go

    	kubelet.HandlePodCleanups(ctx)
    	kubelet.HandlePodCleanups(ctx)
    	kubelet.HandlePodCleanups(ctx)
    
    	destroyCount := 0
    	err := wait.Poll(100*time.Millisecond, 10*time.Second, func() (bool, error) {
    		fakeContainerManager.PodContainerManager.Lock()
    		defer fakeContainerManager.PodContainerManager.Unlock()
    		destroyCount = 0
    		for _, functionName := range fakeContainerManager.PodContainerManager.CalledFunctions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    				if !ok {
    					t.Fatalf("unable to reject pod by UID %v", reject.uid)
    				}
    				kl.rejectPod(pod, reject.reason, reject.message)
    			}
    
    			if err := kl.HandlePodCleanups(context.Background()); (err != nil) != tt.wantErr {
    				t.Errorf("Kubelet.HandlePodCleanups() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			drainAllWorkers(podWorkers)
    			if tt.wantWorker != nil {
    				tt.wantWorker(t, podWorkers, processed)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	for _, pod := range pods {
    		podUIDs[pod.UID] = true
    	}
    	for _, pod := range mirrorPods {
    		podUIDs[pod.UID] = true
    	}
    	kl.statusManager.RemoveOrphanedStatuses(podUIDs)
    }
    
    // HandlePodCleanups performs a series of cleanup work, including terminating
    // pod workers, killing unwanted pods, and removing orphaned volumes/pod
    // directories. No config changes are sent to pod workers while this method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    type SyncHandler interface {
    	HandlePodAdditions(pods []*v1.Pod)
    	HandlePodUpdates(pods []*v1.Pod)
    	HandlePodRemoves(pods []*v1.Pod)
    	HandlePodReconcile(pods []*v1.Pod)
    	HandlePodSyncs(pods []*v1.Pod)
    	HandlePodCleanups(ctx context.Context) error
    }
    
    // Option is a functional option type for Kubelet
    type Option func(*Kubelet)
    
    // Bootstrap is a bootstrapping interface for kubelet, targets the initialization protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top