Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/controller/job/job_controller.go

    	}
    	return string(batch.NonIndexedCompletion)
    }
    
    func appendJobCompletionFinalizerIfNotFound(finalizers []string) []string {
    	for _, fin := range finalizers {
    		if fin == batch.JobTrackingFinalizer {
    			return finalizers
    		}
    	}
    	return append(finalizers, batch.JobTrackingFinalizer)
    }
    
    func removeTrackingFinalizerPatch(pod *v1.Pod) []byte {
    	if !hasJobTrackingFinalizer(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.31.md

    - Do not remove the "batch.kubernetes.io/job-tracking" finalizer from a Pod, in a corner
      case scenario, when the Pod is controlled by an API object which is not a batch Job
      (e.g. when the Pod is controlled by a custom CRD). ([#124798](https://github.com/kubernetes/kubernetes/pull/124798), [@mimowo](https://github.com/mimowo)) [SIG Apps and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    		p := pod.DeepCopy()
    		p.ResourceVersion = ""
    		p.Generation = 0
    		p.Status = v1.PodStatus{
    			ResourceClaimStatuses: pod.Status.ResourceClaimStatuses,
    		}
    		p.ManagedFields = nil
    		p.Finalizers = nil
    		return p
    	}
    	return !reflect.DeepEqual(strip(oldPod), strip(newPod))
    }
    
    // Update updates a pod in the active or backoff queue if present. Otherwise, it removes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top