Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReleasePod (0.07 sec)

  1. pkg/controller/controller_ref_manager.go

    	if err != nil {
    		return err
    	}
    	return m.podControl.PatchPod(ctx, pod.Namespace, pod.Name, patchBytes)
    }
    
    // ReleasePod sends a patch to free the pod from the control of the controller.
    // It returns the error if the patching fails. 404 and 422 errors are ignored.
    func (m *PodControllerRefManager) ReleasePod(ctx context.Context, pod *v1.Pod) error {
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
Back to top