example/framework/basic/batchfailedpermanent.yaml [6:32]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
spec:
  executionType: Start
  retryPolicy:
    fancyRetryPolicy: true
    maxRetryCount: 1
  taskRoles:
  - name: worker
    taskNumber: 1
    frameworkAttemptCompletionPolicy:
      minFailedTaskCount: 1
      minSucceededTaskCount: -1
    task:
      retryPolicy:
        fancyRetryPolicy: true
        maxRetryCount: 1
      podGracefulDeletionTimeoutSec: 600
      pod:
        spec:
          restartPolicy: Never
          containers:
          - name: ubuntu
            image: ubuntu:trusty
            # See Predefined CompletionCode in
            # ./pkg/apis/frameworkcontroller/v1/completion.go
            command: [
            "sh", "-c",
            "sleep 10 &&
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



example/framework/basic/batchfailedunknown.yaml [6:32]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
spec:
  executionType: Start
  retryPolicy:
    fancyRetryPolicy: true
    maxRetryCount: 1
  taskRoles:
  - name: worker
    taskNumber: 1
    frameworkAttemptCompletionPolicy:
      minFailedTaskCount: 1
      minSucceededTaskCount: -1
    task:
      retryPolicy:
        fancyRetryPolicy: true
        maxRetryCount: 1
      podGracefulDeletionTimeoutSec: 600
      pod:
        spec:
          restartPolicy: Never
          containers:
          - name: ubuntu
            image: ubuntu:trusty
            # See Predefined CompletionCode in
            # ./pkg/apis/frameworkcontroller/v1/completion.go
            command: [
            "sh", "-c",
            "sleep 10 &&
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



