- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for InitContainer (0.32 sec)
-
pkg/printers/internalversion/printers.go
func (list SortableResourceNames) Less(i, j int) bool { return list[i] < list[j] } func isRestartableInitContainer(initContainer *api.Container) bool { if initContainer == nil { return false } if initContainer.RestartPolicy == nil { return false } return *initContainer.RestartPolicy == api.ContainerRestartPolicyAlways } func isPodInitializedConditionTrue(status *api.PodStatus) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/api/pod/util_test.go
dropDisabledFields(newPod, nil, oldPod, nil) if diff := cmp.Diff(expectPod, newPod); diff != "" { t.Fatalf("Unexpected modification to new pod; diff (-got +want)\n%s", diff) } } // InitContainer { oldPod := makePod(nil, []api.Container{makeContainer(tc.oldLifecycleHandler.DeepCopy(), nil)}, nil) newPod := makePod(nil, []api.Container{makeContainer(tc.newLifecycleHandler.DeepCopy(), nil)}, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
}}, }, }, }, opts: JobValidationOptions{RequirePrefixedLabels: true}, }, `spec.podFailurePolicy.rules[1].onExitCodes.containerName: Invalid value: "xyz": must be one of the container or initContainer names in the pod template`: { job: batch.Job{ ObjectMeta: validJobObjectMeta, Spec: batch.JobSpec{ Selector: validGeneratedSelector, Template: validPodTemplateSpecForGeneratedRestartPolicyNever,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json
"properties": { "directory": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 229.4K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
}, }, }, }, wantConditions: nil, wantStatusActive: 1, wantStatusFailed: 1, wantStatusSucceeded: 0, }, "fail job based on OnExitCodes for InitContainer": { enableJobPodFailurePolicy: true, job: batch.Job{ TypeMeta: metav1.TypeMeta{Kind: "Job"}, ObjectMeta: validObjectMeta, Spec: batch.JobSpec{ Selector: validSelector,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0)