Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for PodFailurePolicyRule (0.6 sec)

  1. pkg/controller/job/indexed_job_utils_test.go

    			job: batch.Job{
    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    					BackoffLimitPerIndex: ptr.To[int32](1),
    					PodFailurePolicy: &batch.PodFailurePolicy{
    						Rules: []batch.PodFailurePolicyRule{
    							{
    								Action: batch.PodFailurePolicyActionFailIndex,
    								OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{
    									Operator: batch.PodFailurePolicyOnExitCodesOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/batch/v1/generated.proto

      // Defaults to True.
      optional string status = 2;
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    message PodFailurePolicyRule {
      // Specifies the action taken on a pod failure when the requirements are satisfied.
      // Possible values are:
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    				"foo": "bar",
    			},
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{Image: "foo/bar"},
    			},
    		},
    	}
    
    	onExitCodeRules := []batch.PodFailurePolicyRule{
    		{
    			Action: batch.PodFailurePolicyActionIgnore,
    			OnExitCodes: &batch.PodFailurePolicyOnExitCodesRequirement{
    				Operator: batch.PodFailurePolicyOnExitCodesOpIn,
    				Values:   []int32{1, 2, 3},
    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.proto

      // Defaults to True.
      optional string status = 2;
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    message PodFailurePolicyRule {
      // Specifies the action taken on a pod failure when the requirements are satisfied.
      // Possible values are:
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. pkg/apis/batch/types.go

    	// Defaults to True.
    	Status api.ConditionStatus
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of OnExitCodes and onPodConditions, but not both, can be used in each rule.
    type PodFailurePolicyRule struct {
    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/batch/v1/types.go

    	// Defaults to True.
    	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,req,name=status"`
    }
    
    // PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
    // One of onExitCodes and onPodConditions, but not both, can be used in each rule.
    type PodFailurePolicyRule struct {
    	// Specifies the action taken on a pod failure when the requirements are satisfied.
    	// Possible values are:
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    func (PodFailurePolicyOnPodConditionsPattern) SwaggerDoc() map[string]string {
    	return map_PodFailurePolicyOnPodConditionsPattern
    }
    
    var map_PodFailurePolicyRule = map[string]string{
    	"":                "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. pkg/apis/batch/validation/validation.go

    		}
    	}
    	return allErrs
    }
    
    func validatePodFailurePolicyRule(spec *batch.JobSpec, rule *batch.PodFailurePolicyRule, rulePath *field.Path, containerNames sets.String) field.ErrorList {
    	var allErrs field.ErrorList
    	actionPath := rulePath.Child("action")
    	if rule.Action == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__batch__v1_openapi.json

              }
            },
            "required": [
              "type",
              "status"
            ],
            "type": "object"
          },
          "io.k8s.api.batch.v1.PodFailurePolicyRule": {
            "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.",
            "properties": {
              "action": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

            }
          },
          "required": [
            "type",
            "status"
          ],
          "type": "object"
        },
        "io.k8s.api.batch.v1.PodFailurePolicyRule": {
          "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.",
          "properties": {
            "action": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
Back to top