Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for activeDeadlineSeconds (0.65 sec)

  1. pkg/controller/job/job_controller.go

    	if util.IsJobFinished(curJob) {
    		jm.cleanupPodFinalizers(curJob)
    	}
    
    	// check if need to add a new rsync for ActiveDeadlineSeconds
    	if curJob.Status.StartTime != nil {
    		curADS := curJob.Spec.ActiveDeadlineSeconds
    		if curADS == nil {
    			return
    		}
    		oldADS := oldJob.Spec.ActiveDeadlineSeconds
    		if oldADS == nil || *oldADS != *curADS {
    			passed := jm.clock.Since(curJob.Status.StartTime.Time)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/kubelet/kubelet_test.go

    	startTime := metav1.NewTime(clock.Now())
    	pods[0].Status.StartTime = &startTime
    	pods[0].Spec.ActiveDeadlineSeconds = &exceededActiveDeadlineSeconds
    	pods[1].Status.StartTime = &startTime
    	pods[1].Spec.ActiveDeadlineSeconds = &notYetActiveDeadlineSeconds
    	pods[2].Status.StartTime = &startTime
    	pods[2].Spec.ActiveDeadlineSeconds = &exceededActiveDeadlineSeconds
    
    	kubelet.podManager.SetPods(pods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

      cat > "${PV_RECYCLER_OVERRIDE_TEMPLATE}" <<\EOF
    version: v1
    kind: Pod
    metadata:
      generateName: pv-recycler-
      namespace: default
    spec:
      activeDeadlineSeconds: 60
      restartPolicy: Never
      volumes:
      - name: vol
      containers:
      - name: pv-recycler
        image: registry.k8s.io/build-image/debian-base:bookworm-v1.0.3
        command:
        - /bin/sh
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top