- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PodDisruptionConditions (0.2 sec)
-
pkg/kubelet/status/status_manager_test.go
func(input v1.PodStatus) v1.PodStatus { return input }, getPodStatus(), }, { "add DisruptionTarget condition when transitioning into failed phase; PodDisruptionConditions enabled", true, false, func(input v1.PodStatus) v1.PodStatus { return input }, func(input v1.PodStatus) v1.PodStatus { input.Phase = v1.PodFailed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
pods: []*v1.Pod{}, nodes: []string{}, nominatedNodeStatus: nil, expected: false, }, { name: "victim Pods terminating, feature PodDisruptionConditions is enabled", fts: feature.Features{EnablePodDisruptionConditions: true}, pod: st.MakePod().Name("p_with_nominated_node").UID("p").Priority(highPriority).NominatedNodeName("node1").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
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)