- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for isSucceeded (0.15 sec)
-
pkg/controller/job/job_controller_test.go
succeededPods, failedPods := getNewFinishedPods(jobCtx) succeeded := int32(len(succeededPods)) + tc.job.Status.Succeeded + int32(len(uncounted.succeeded)) failed := int32(len(failedPods)) + tc.job.Status.Failed + int32(len(uncounted.failed)) if succeeded != tc.wantSucceeded { t.Errorf("getStatus reports %d succeeded pods, want %d", succeeded, tc.wantSucceeded) } if failed != tc.wantFailed {
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/volume/util/operationexecutor/operation_generator.go
simpleMsg, _ := volumeToAttach.GenerateMsg("AttachVolume.Attach succeeded", "") for _, pod := range volumeToAttach.ScheduledPods { og.recorder.Eventf(pod, v1.EventTypeNormal, kevents.SuccessfulAttachVolume, simpleMsg) } klog.Infof(volumeToAttach.GenerateMsgDetailed("AttachVolume.Attach succeeded", "")) // Update actual state of world
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/generated.pb.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 133K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
enableJobManagedBy: true, job: &batch.Job{ ObjectMeta: validObjectMeta, }, newJob: &batch.Job{ ObjectMeta: validObjectMeta, Status: batch.JobStatus{ StartTime: &now, CompletionTime: &now, UncountedTerminatedPods: &batch.UncountedTerminatedPods{ Succeeded: []types.UID{"a"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
Succeeded: []types.UID{"a", "b", "c", "a", ""}, Failed: []types.UID{"c", "d", "e", "d", ""}, }, }, }, wantErrs: field.ErrorList{ {Type: field.ErrorTypeDuplicate, Field: "status.uncountedTerminatedPods.succeeded[3]"}, {Type: field.ErrorTypeInvalid, Field: "status.uncountedTerminatedPods.succeeded[4]"},
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/printers/internalversion/printers_test.go
{Name: "restartable-init-2", RestartPolicy: &containerRestartPolicyAlways}, }, Containers: make([]api.Container, 1)}, Status: api.PodStatus{ Phase: "Succeeded", InitContainerStatuses: []api.ContainerStatus{ { Name: "restartable-init-1", Ready: false, RestartCount: 3,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
succeededState("containerA"), succeededState("containerB"), }, }, }, true, v1.PodSucceeded, "all regular containers succeeded and restartable init container succeeded with restart always, but the pod is terminal", }, } featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SidecarContainers, true) for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
if stopped == succeeded { return v1.PodSucceeded } // There is at least one failure return v1.PodFailed } } // All containers are terminated if spec.RestartPolicy == v1.RestartPolicyAlways { // All containers are in the process of restarting return v1.PodRunning } if stopped == succeeded {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
completions = fmt.Sprintf("%d/%d", obj.Status.Succeeded, *obj.Spec.Completions) } else { parallelism := int32(0) if obj.Spec.Parallelism != nil { parallelism = *obj.Spec.Parallelism } if parallelism > 1 { completions = fmt.Sprintf("%d/1 of %d", obj.Status.Succeeded, parallelism) } else { completions = fmt.Sprintf("%d/1", obj.Status.Succeeded) } } var jobDuration string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0)