Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for activeDeadlineSeconds (0.41 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		}
    		terminationGracePeriodSeconds := int64(42)
    		activeDeadlineSeconds := int64(42)
    		pod := &examplev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Labels: l,
    			},
    			Spec: examplev1.PodSpec{
    				RestartPolicy:                 examplev1.RestartPolicy("Always"),
    				TerminationGracePeriodSeconds: &terminationGracePeriodSeconds,
    				ActiveDeadlineSeconds:         &activeDeadlineSeconds,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.CronJob.yaml

            controller: true
            kind: kindValue
            name: nameValue
            uid: uidValue
          resourceVersion: resourceVersionValue
          selfLink: selfLinkValue
          uid: uidValue
        spec:
          activeDeadlineSeconds: 3
          backoffLimit: 7
          backoffLimitPerIndex: 12
          completionMode: completionModeValue
          completions: 2
          managedBy: managedByValue
          manualSelector: true
          maxFailedIndexes: 13
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. pkg/volume/nfs/nfs.go

    	}
    
    	pod := plugin.config.RecyclerPodTemplate
    	timeout := util.CalculateTimeoutForVolume(plugin.config.RecyclerMinimumTimeout, plugin.config.RecyclerTimeoutIncrement, spec.PersistentVolume)
    	// overrides
    	pod.Spec.ActiveDeadlineSeconds = &timeout
    	pod.GenerateName = "pv-recycler-nfs-"
    	pod.Spec.Volumes[0].VolumeSource = v1.VolumeSource{
    		NFS: &v1.NFSVolumeSource{
    			Server: spec.PersistentVolume.Spec.NFS.Server,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/batch/v1/types.go

    	// update), this timer will effectively be stopped and reset when the Job is
    	// resumed again.
    	// +optional
    	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,3,opt,name=activeDeadlineSeconds"`
    
    	// Specifies the policy of handling failed pods. In particular, it allows to
    	// specify the set of actions and conditions which need to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/batch.v1.CronJob.json

                "fieldsV1": {},
                "subresource": "subresourceValue"
              }
            ]
          },
          "spec": {
            "parallelism": 1,
            "completions": 2,
            "activeDeadlineSeconds": 3,
            "podFailurePolicy": {
              "rules": [
                {
                  "action": "actionValue",
                  "onExitCodes": {
                    "containerName": "containerNameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    		},
    		"activeDeadlineSeconds with backofflimit reach": {
    			parallelism:             1,
    			completions:             1,
    			activeDeadlineSeconds:   1,
    			startTime:               10,
    			failedPods:              1,
    			expectedFailed:          1,
    			expectedCondition:       batch.JobFailed,
    			expectedConditionReason: batch.JobReasonBackoffLimitExceeded,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation.go

    	}
    	mungedPodSpec.InitContainers = newInitContainers
    	// munge spec.activeDeadlineSeconds
    	mungedPodSpec.ActiveDeadlineSeconds = nil
    	if oldPod.Spec.ActiveDeadlineSeconds != nil {
    		activeDeadlineSeconds := *oldPod.Spec.ActiveDeadlineSeconds
    		mungedPodSpec.ActiveDeadlineSeconds = &activeDeadlineSeconds
    	}
    	// munge spec.schedulingGates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    			},
    			err:  "spec.activeDeadlineSeconds",
    			test: "activeDeadlineSeconds change to larger positive",
    		},
    
    		{
    			new: core.Pod{
    				Spec: core.PodSpec{
    					ActiveDeadlineSeconds: &activeDeadlineSecondsNegative,
    				},
    			},
    			old:  core.Pod{},
    			err:  "spec.activeDeadlineSeconds",
    			test: "activeDeadlineSeconds change to negative from nil",
    		}, {
    			new: core.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"activeDeadlineSeconds":   "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. pkg/volume/hostpath/host_path.go

    	}
    
    	pod := plugin.config.RecyclerPodTemplate
    	timeout := util.CalculateTimeoutForVolume(plugin.config.RecyclerMinimumTimeout, plugin.config.RecyclerTimeoutIncrement, spec.PersistentVolume)
    	// overrides
    	pod.Spec.ActiveDeadlineSeconds = &timeout
    	pod.Spec.Volumes[0].VolumeSource = v1.VolumeSource{
    		HostPath: &v1.HostPathVolumeSource{
    			Path: spec.PersistentVolume.Spec.HostPath.Path,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top