Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for succeededCount (0.42 sec)

  1. pkg/apis/batch/validation/validation_test.go

    					SuccessPolicy: &batch.SuccessPolicy{
    						Rules: []batch.SuccessPolicyRule{{
    							SucceededCount: ptr.To[int32](-1),
    						}},
    					},
    				},
    			},
    			opts: JobValidationOptions{RequirePrefixedLabels: true},
    		},
    		`spec.successPolicy.rules[0].succeededCount: Invalid value: 6: must be less than or equal to 5 (the number of specified completions)`: {
    			job: batch.Job{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  2. pkg/apis/batch/types.go

    	//
    	// +optional
    	SucceededIndexes *string
    
    	// succeededCount specifies the minimal required size of the actual set of the succeeded indexes
    	// for the Job. When succeededCount is used along with succeededIndexes, the check is
    	// constrained only to the set of indexes specified by succeededIndexes.
    	// For example, given that succeededIndexes is "1-4", succeededCount is "3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    					BackoffLimit:   ptr.To[int32](math.MaxInt32),
    					SuccessPolicy: &batch.SuccessPolicy{
    						Rules: []batch.SuccessPolicyRule{{
    							SucceededIndexes: ptr.To("0,1"),
    							SucceededCount:   ptr.To[int32](1),
    						}},
    					},
    				},
    			},
    			pods: []v1.Pod{
    				*buildPod().uid("a1").index("0").phase(v1.PodFailed).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)
  4. staging/src/k8s.io/api/batch/v1/generated.pb.go

    }
    
    func (m *SuccessPolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.SucceededCount != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.SucceededCount))
    		i--
    		dAtA[i] = 0x10
    	}
    	if m.SucceededIndexes != nil {
    		i -= len(*m.SucceededIndexes)
    		copy(dAtA[i:], *m.SucceededIndexes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.yaml

        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      successPolicy:
        rules:
        - succeededCount: 2
          succeededIndexes: succeededIndexesValue
      suspend: true
      template:
        metadata:
          annotations:
            annotationsKey: annotationsValue
          creationTimestamp: "2008-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.CronJob.json

                  ]
                }
              ]
            },
            "successPolicy": {
              "rules": [
                {
                  "succeededIndexes": "succeededIndexesValue",
                  "succeededCount": 2
                }
              ]
            },
            "backoffLimit": 7,
            "backoffLimitPerIndex": 12,
            "maxFailedIndexes": 13,
            "selector": {
              "matchLabels": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/batch.v1.Job.json

                }
              ]
            }
          ]
        },
        "successPolicy": {
          "rules": [
            {
              "succeededIndexes": "succeededIndexesValue",
              "succeededCount": 2
            }
          ]
        },
        "backoffLimit": 7,
        "backoffLimitPerIndex": 12,
        "maxFailedIndexes": 13,
        "selector": {
          "matchLabels": {
            "matchLabelsKey": "matchLabelsValue"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 55.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/batch.v1.CronJob.yaml

              operator: operatorValue
              values:
              - valuesValue
            matchLabels:
              matchLabelsKey: matchLabelsValue
          successPolicy:
            rules:
            - succeededCount: 2
              succeededIndexes: succeededIndexesValue
          suspend: true
          template:
            metadata:
              annotations:
                annotationsKey: annotationsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.json

                }
              ]
            }
          ]
        },
        "successPolicy": {
          "rules": [
            {
              "succeededIndexes": "succeededIndexesValue",
              "succeededCount": 2
            }
          ]
        },
        "backoffLimit": 7,
        "backoffLimitPerIndex": 12,
        "maxFailedIndexes": 13,
        "selector": {
          "matchLabels": {
            "matchLabelsKey": "matchLabelsValue"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/batch.v1.CronJob.json

                  ]
                }
              ]
            },
            "successPolicy": {
              "rules": [
                {
                  "succeededIndexes": "succeededIndexesValue",
                  "succeededCount": 2
                }
              ]
            },
            "backoffLimit": 7,
            "backoffLimitPerIndex": 12,
            "maxFailedIndexes": 13,
            "selector": {
              "matchLabels": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top