- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DisruptionTarget (0.29 sec)
-
pkg/controller/job/job_controller_test.go
{ Type: v1.DisruptionTarget, Status: v1.ConditionTrue, }, }, }, }, }, }, }, pods: []v1.Pod{ { Status: v1.PodStatus{ Phase: v1.PodFailed, Conditions: []v1.PodCondition{ { Type: v1.DisruptionTarget, Status: v1.ConditionTrue, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
Rules: []batch.PodFailurePolicyRule{{ Action: batch.PodFailurePolicyActionIgnore, OnPodConditions: []batch.PodFailurePolicyOnPodConditionsPattern{{ Type: api.DisruptionTarget, Status: api.ConditionTrue, }}, }, { Action: batch.PodFailurePolicyActionFailJob, OnPodConditions: []batch.PodFailurePolicyOnPodConditionsPattern{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
} wantPodStatus := tc.wantPodStatus.DeepCopy() if enablePodDisruptionConditions { wantPodStatus.Conditions = append(wantPodStatus.Conditions, v1.PodCondition{ Type: "DisruptionTarget", Status: "True", Reason: "TerminationByKubelet", Message: "The node was low on resource: memory. Threshold quantity: 2Gi, available: 1500Mi. ", }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
ContainerStatuses: []v1.ContainerStatus{ runningState("containerA"), runningState("containerB"), }, Conditions: []v1.PodCondition{{ Type: v1.DisruptionTarget, Status: v1.ConditionTrue, LastTransitionTime: normalized_now, }}, }, ObjectMeta: metav1.ObjectMeta{Name: "my-pod", DeletionTimestamp: &now}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// node graceful shutdown). We do not re-generate the conditions based // on the container statuses as they are added based on one-time events. cType := v1.DisruptionTarget if _, condition := podutil.GetPodConditionFromList(oldPodStatus.Conditions, cType); condition != nil { s.Conditions = utilpod.ReplaceOrAppendPodCondition(s.Conditions, condition) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0)