Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for succeededCount (0.41 sec)

  1. pkg/controller/job/success_policy_test.go

    					SucceededIndexes: ptr.To("3"),
    				}},
    			},
    		},
    		"rules.succeededCount is specified; succeededIndexes matched rules": {
    			enableJobSuccessPolicy: true,
    			completions:            10,
    			succeededIndexes:       orderedIntervals{{0, 2}},
    			successPolicy: &batch.SuccessPolicy{
    				Rules: []batch.SuccessPolicyRule{{
    					SucceededCount: ptr.To[int32](2),
    				}},
    			},
    			wantMessage:          "Matched rules at index 0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/controller/job/success_policy.go

    			if len(requiredIndexes) == 0 {
    				continue
    			}
    			if matchSucceededIndexesRule(requiredIndexes, succeededIndexes, rule.SucceededCount) {
    				return fmt.Sprintf("%s %d", rulesMatchedMsg, index), true
    			}
    		} else if rule.SucceededCount != nil && succeededIndexes.total() >= int(*rule.SucceededCount) {
    			return fmt.Sprintf("%s %d", rulesMatchedMsg, index), true
    		}
    	}
    	return "", false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/types.go

    	// 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 Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  4. 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)
  5. api/openapi-spec/v3/apis__batch__v1_openapi.json

            "properties": {
              "succeededCount": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  6. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    					"succeededCount": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  7. api/openapi-spec/swagger.json

          "properties": {
            "succeededCount": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top