Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for BackOff (0.15 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				t.Errorf("pod %v is not in the backoff queue", podID)
    			}
    
    			// Check backoff duration.
    			deadline := q.getBackoffTime(podInfo)
    			backoff := deadline.Sub(timestamp)
    			if backoff != step.wantBackoff {
    				t.Errorf("got backoff %s, want %s", backoff, step.wantBackoff)
    			}
    
    			// Simulate routine that continuously flushes the backoff queue.
    			cl.Step(time.Millisecond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    				t.Errorf("Backoff delay didn't last the whole waitout period.")
    			}
    
    			// Move to the backoff end time
    			fakeClock.Sleep(1 * time.Nanosecond)
    			if manager.failedPodsBackoff.IsInBackOffSinceUpdate(backoffKey, fakeClock.Now()) {
    				t.Fatal("Backoff delay hasn't been reset after the period has passed.")
    			}
    
    			// After backoff time, it will delete the failed pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    	// Maximum Number of Pods which can be run by this Kubelet
    	maxPods int
    
    	// Monitor Kubelet's sync loop
    	syncLoopMonitor atomic.Value
    
    	// Container restart Backoff
    	backOff *flowcontrol.Backoff
    
    	// Information about the ports which are opened by daemons on Node running this Kubelet server.
    	daemonEndpoints *v1.NodeDaemonEndpoints
    
    	// A queue used to trigger pod workers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    	}
    
    	return nil
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func simulateVolumeInUseUpdate(
    	volumeName v1.UniqueVolumeName,
    	stopCh <-chan struct{},
    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. go.sum

    github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
    github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
    github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
    github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
    github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation_test.go

    				},
    			},
    			opts: JobValidationOptions{RequirePrefixedLabels: true},
    		},
    		"spec.parallelism: Invalid value: 50000: must be less than or equal to 10000 when completions are above 100000 and used with backoff limit per index": {
    			job: batch.Job{
    				ObjectMeta: validJobObjectMeta,
    				Spec: batch.JobSpec{
    					Completions:          pointer.Int32(100_001),
    					Parallelism:          pointer.Int32(50_000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    			activePods:         3,
    			expectedDeletions:  0,
    			expectedPodPatches: 1,
    			expectedActive:     3,
    			expectedReady:      ptr.To[int32](0),
    		},
    		"failed + succeed pods: reset backoff delay": {
    			parallelism:        2,
    			completions:        5,
    			backoffLimit:       6,
    			activePods:         1,
    			succeededPods:      1,
    			failedPods:         1,
    			expectedCreations:  1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    					ContainerStatuses: []v1.ContainerStatus{
    						runningState("containerA"),
    						waitingStateWithLastTermination("containerB"),
    					},
    				},
    			},
    			false,
    			v1.PodRunning,
    			"backoff crashloop container with restart always",
    		},
    	}
    	for _, test := range tests {
    		status := getPhase(test.pod, test.pod.Status.ContainerStatuses, test.podIsTerminal)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    		pcm := kl.containerManager.NewPodContainerManager()
    		klog.V(3).InfoS("Clean up orphaned pod cgroups")
    		kl.cleanupOrphanedPodCgroups(pcm, cgroupPods, possiblyRunningPods)
    	}
    
    	// Cleanup any backoff entries.
    	kl.backOff.GC()
    	return nil
    }
    
    // filterTerminalPodsToDelete returns terminal pods which are ready to be
    // deleted by the status manager, but are not in pod workers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector_test.go

    					},
    				}),
    
    				// 18,19: observe delete of pod2 from step 14
    				// final state: virtual parent for inaccessible apiVersion and child of that parent remain in graph, queued for delete attempts with backoff
    				processEvent(makeDeleteEvent(pod2ns1)),
    				assertState(state{
    					graphNodes: []*node{
    						makeNode(deployment1extensions, virtual),
    						makeNode(pod1ns1, withOwners(deployment1extensions))},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top