Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PatchPodStatus (3.07 sec)

  1. pkg/scheduler/framework/preemption/preemption.go

    				}
    				newStatus := pod.Status.DeepCopy()
    				updated := apipod.UpdatePodCondition(newStatus, condition)
    				if updated {
    					if err := util.PatchPodStatus(ctx, cs, victim, newStatus); err != nil {
    						logger.Error(err, "Could not add DisruptionTarget condition due to preemption", "pod", klog.KObj(victim), "preemptor", klog.KObj(pod))
    						errCh.SendErrorWithCancel(err, cancel)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one.go

    	if !podutil.UpdatePodCondition(podStatusCopy, condition) && !nnnNeedsUpdate {
    		return nil
    	}
    	if nnnNeedsUpdate {
    		podStatusCopy.NominatedNodeName = nominatingInfo.NominatedNodeName
    	}
    	return util.PatchPodStatus(ctx, client, pod, podStatusCopy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top