- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for lastTransitionTime (0.37 sec)
-
pkg/controller/job/backoff_utils_test.go
Status: v1.ConditionFalse, Reason: "PodFailed", LastTransitionTime: metav1.Time{Time: defaultTestTime}, }, }, }, }, wantFinishTime: defaultTestTime, }, "skip fallback to PodReady.LastTransitionTime when status of the condition is True": { pod: v1.Pod{ Status: v1.PodStatus{ ContainerStatuses: []v1.ContainerStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/controller/job/backoff_utils.go
} func getFinishTimeFromPodReadyFalseCondition(p *v1.Pod) *time.Time { if _, c := apipod.GetPodCondition(&p.Status, v1.PodReady); c != nil && c.Status == v1.ConditionFalse && !c.LastTransitionTime.Time.IsZero() { return &c.LastTransitionTime.Time } return nil } func getFinishTimeFromDeletionTimestamp(p *v1.Pod) *time.Time { if p.DeletionTimestamp != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
LastTransitionTime: metav1.NewTime(time.Date(2020, 5, 12, 1, 1, 1, 1, time.UTC)), Reason: "newReason", Message: "newMessage", }, expectedPatchRequests: 1,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go
return testNW }, } } var podReady = []v1.PodCondition{ { Type: v1.PodReady, Status: v1.ConditionTrue, LastTransitionTime: metav1.Now(), }, } // Special case to handle wrapper type. Can this be generic? func GetMeshConfig(mc *krttest.MockCollection) krt.StaticSingleton[MeshConfig] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.3K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
t.Fatalf("Failed to unmarshal updated pod %q: %v", updated, err) } if diff := cmp.Diff(test.expectedPatchedPod, updatedPod, cmpopts.IgnoreFields(v1.Pod{}, "TypeMeta"), cmpopts.IgnoreFields(v1.PodCondition{}, "LastTransitionTime")); diff != "" { t.Fatalf("Unexpected diff on pod (-want,+got):\n%s", diff) } } if deleteAction != nil && test.expectedDeleteAction == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
Succeeded: 1, Failed: 1, Conditions: []batch.JobCondition{*completedCond}, CompletionTime: &completedCond.LastTransitionTime, }, }, wantSucceededPodsMetric: 1, wantFailedPodsMetric: 1, }, "failing job": { pods: []*v1.Pod{ buildPod().uid("a").phase(v1.PodSucceeded).trackingFinalizer().Pod,
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/kubelet/kubelet_node_status.go
Type: v1.NodeNetworkUnavailable, Status: v1.ConditionTrue, Reason: "NoRouteCreated", Message: "Node created without a route", LastTransitionTime: metav1.NewTime(kl.clock.Now()), }) } if kl.enableControllerAttachDetach { if node.Annotations == nil { node.Annotations = make(map[string]string) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0) -
pkg/controller/job/job_controller.go
if finishedCond.Type == batch.JobComplete { job.Status.CompletionTime = &finishedCond.LastTransitionTime } return true } // recordJobFinished records events and the job_finished_total metric for a finished job.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0)