- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DisruptionTarget (0.13 sec)
-
pkg/kubelet/status/status_manager_test.go
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 input.Conditions = append(input.Conditions, v1.PodCondition{ Type: v1.DisruptionTarget, Status: v1.ConditionTrue,
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/controller/disruption/disruption_test.go
Conditions: []v1.PodCondition{ { Type: v1.DisruptionTarget, Status: v1.ConditionTrue, LastTransitionTime: metav1.Time{Time: now}, }, }, }, }, timePassed: 2*time.Minute + time.Second, wantConditions: []v1.PodCondition{ { Type: v1.DisruptionTarget, Status: v1.ConditionFalse, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
pods: []*v1.Pod{st.MakePod().Name("p1").UID("p1").Priority(lowPriority).Node("node1").Terminating(). Condition(v1.DisruptionTarget, v1.ConditionTrue, v1.PodReasonPreemptionByScheduler).Obj()}, nodes: []string{"node1"}, expected: false, }, { name: "non-victim Pods terminating, feature PodDisruptionConditions is enabled",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0)