Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for jobSpec (0.11 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go

    	ManagedBy               *string                                   `json:"managedBy,omitempty"`
    }
    
    // JobSpecApplyConfiguration constructs an declarative configuration of the JobSpec type for use with
    // apply.
    func JobSpec() *JobSpecApplyConfiguration {
    	return &JobSpecApplyConfiguration{}
    }
    
    // WithParallelism sets the Parallelism field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. pkg/api/job/warnings_test.go

    	cases := map[string]struct {
    		spec              *batch.JobSpec
    		wantWarningsCount int
    	}{
    		"valid NonIndexed": {
    			spec: &batch.JobSpec{
    				CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    				Template:       validPodTemplate,
    			},
    		},
    		"NondIndexed with high completions and parallelism": {
    			spec: &batch.JobSpec{
    				CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 14:38:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. pkg/apis/batch/v1/conversion.go

    // here due to the dependency of v1beta1 on v1.
    
    func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *v1.JobSpec, s conversion.Scope) error {
    	return autoConvert_batch_JobSpec_To_v1_JobSpec(in, out, s)
    }
    
    func Convert_v1_JobSpec_To_batch_JobSpec(in *v1.JobSpec, out *batch.JobSpec, s conversion.Scope) error {
    	return autoConvert_v1_JobSpec_To_batch_JobSpec(in, out, s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 11:44:23 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. pkg/api/job/warnings.go

    const (
    	completionsSoftLimit                        = 100_000
    	parallelismSoftLimitForUnlimitedCompletions = 10_000
    )
    
    // WarningsForJobSpec produces warnings for fields in the JobSpec.
    func WarningsForJobSpec(ctx context.Context, path *field.Path, spec, oldSpec *batch.JobSpec) []string {
    	var warnings []string
    	if spec.CompletionMode != nil && *spec.CompletionMode == batch.IndexedCompletion {
    		completions := ptr.Deref(spec.Completions, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pkg/apis/batch/fuzzer/fuzzer.go

    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    
    			// match defaulting
    			if len(j.Labels) == 0 {
    				j.Labels = j.Spec.Template.Labels
    			}
    		},
    		func(j *batch.JobSpec, c fuzz.Continue) {
    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    			completions := int32(c.Rand.Int31())
    			parallelism := int32(c.Rand.Int31())
    			backoffLimit := int32(c.Rand.Int31())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/registry/batch/cronjob/storage/storage_test.go

    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batch.CronJobSpec{
    			Schedule:          "* * * * ?",
    			ConcurrencyPolicy: batch.AllowConcurrent,
    			JobTemplate: batch.JobTemplateSpec{
    				Spec: batch.JobSpec{
    					Template: api.PodTemplateSpec{
    						Spec: api.PodSpec{
    							RestartPolicy: api.RestartPolicyOnFailure,
    							DNSPolicy:     api.DNSClusterFirst,
    							Containers: []api.Container{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  7. pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go

    	j := &batchv1.Job{
    		TypeMeta: metav1.TypeMeta{Kind: "Job"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foobar",
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batchv1.JobSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Template: corev1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"foo": "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 18 18:46:26 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1beta1/generated.proto

      // Specification of the desired behavior of the job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional .k8s.io.api.batch.v1.JobSpec spec = 2;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // Specification of the desired behavior of the job.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
      // +optional
      optional k8s.io.api.batch.v1.JobSpec spec = 2;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1beta1/types.go

    	// Specification of the desired behavior of the job.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    	// +optional
    	Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
    }
    
    // +genclient
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    // +k8s:prerelease-lifecycle-gen:introduced=1.8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 11:58:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top