Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeletePod (0.1 sec)

  1. plugin/pkg/auth/authorizer/node/graph_populator.go

    	startTime := time.Now()
    	g.graph.DeletePod(pod.Name, pod.Namespace)
    	klog.V(5).Infof("deletePod %s/%s for node %s completed in %v", pod.Namespace, pod.Name, pod.Spec.NodeName, time.Since(startTime))
    }
    
    func (g *graphPopulator) addPV(obj interface{}) {
    	g.updatePV(nil, obj)
    }
    
    func (g *graphPopulator) updatePV(oldObj, obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. pkg/scheduler/util/utils.go

    		return err
    	}
    
    	return retry.OnError(retry.DefaultBackoff, Retriable, patchFn)
    }
    
    // DeletePod deletes the given <pod> from API server
    func DeletePod(ctx context.Context, cs kubernetes.Interface, pod *v1.Pod) error {
    	return cs.CoreV1().Pods(pod.Namespace).Delete(ctx, pod.Name, metav1.DeleteOptions{})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    	if !volumeExists {
    		t.Fatalf(
    			"VolumeExists(%q) failed. Expected: <true> Actual: <%v>",
    			expectedVolumeName,
    			volumeExists)
    	}
    
    	//delete the pod and volume manually
    	dswp.desiredStateOfWorld.DeletePod(podName, expectedVolumeName, k8stypes.NodeName(pod.Spec.NodeName))
    
    	//check if the given volume referenced by the pod still exists in dsw
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top