Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for PodDisruptionConditions (0.63 sec)

  1. pkg/controller/job/job_controller.go

    	}
    	return list, false
    }
    
    func isPodFailed(p *v1.Pod, job *batch.Job) bool {
    	if feature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) && feature.DefaultFeatureGate.Enabled(features.JobPodFailurePolicy) && job.Spec.PodFailurePolicy != nil {
    		// When PodDisruptionConditions is enabled, orphan Pods and unschedulable
    		// terminating Pods are marked as Failed. So we only need to check the phase.
    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. pkg/kubelet/status/status_manager.go

    	// Set PodScheduledCondition.LastTransitionTime.
    	updateLastTransitionTime(&status, &oldStatus, v1.PodScheduled)
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
    		// Set DisruptionTarget.LastTransitionTime.
    		updateLastTransitionTime(&status, &oldStatus, v1.DisruptionTarget)
    	}
    
    	// ensure that the start time does not change across updates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.26.md

    - Fixed a regression in default 1.26 configurations, which enabled PodDisruptionConditions by default, 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    				},
    			},
    			wantStatusActive:    0,
    			wantStatusFailed:    1,
    			wantStatusSucceeded: 0,
    		},
    		"terminating Pod considered failed when PodDisruptionConditions is disabled": {
    			enableJobPodFailurePolicy: true,
    			job: batch.Job{
    				TypeMeta:   metav1.TypeMeta{Kind: "Job"},
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    		expectedPodReadyToStartContainersCondition v1.PodCondition
    	}{
    		{
    			name: "pod disruption condition is copied over and the phase is set to failed when deleted; PodDisruptionConditions enabled",
    			pod: &v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					ContainerStatuses: []v1.ContainerStatus{
    						runningState("containerA"),
    						runningState("containerB"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    	for _, c := range pod.Status.Conditions {
    		if !kubetypes.PodConditionByKubelet(c.Type) {
    			s.Conditions = append(s.Conditions, c)
    		}
    	}
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
    		// copy over the pod disruption conditions from state which is already
    		// updated during the eviciton (due to either node resource pressure or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.27.md

      feature gates enabled) that their pods could get stuck in the pending phase when deleted. ([#115331](https://github.com/kubernetes/kubernetes/pull/115331), [@mimowo](https://github.com/mimowo)) [SIG Cloud Provider, Node and Testing]
    
    ### Bug or Regression
    
    - Fixed two regressions introduced by the PodDisruptionConditions feature (on by default in 1.26):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.29.md

      `IPv6` IPs. ([#121008](https://github.com/kubernetes/kubernetes/pull/121008), [@danwinship](https://github.com/danwinship))
    - Fixed a regression in default configurations, which enabled `PodDisruptionConditions`
      by default, that prevented the control plane's pod garbage collector from deleting
      pods that contained duplicated field keys (environmental variables with repeated keys or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.28.md

    - Fixed a regression in default configurations, which enabled PodDisruptionConditions by default, 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (1)
Back to top