Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 226 for Backoff (0.1 sec)

  1. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	// queuings of an Endpoints resource.
    	//
    	// 1s, 2s, 4s, 8s, 16s, 32s, 64s, 100s (max)
    	maxRetries = 15
    
    	// defaultSyncBackOff is the default backoff period for syncEndpoints calls.
    	defaultSyncBackOff = 1 * time.Second
    	// maxSyncBackOff is the max backoff period for syncEndpoints calls.
    	maxSyncBackOff = 100 * time.Second
    
    	// controllerName is a unique value used with LabelManagedBy to indicated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			Name:      "foo",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    
    	backOff := flowcontrol.NewBackOff(time.Second, time.Minute)
    	result := m.SyncPod(context.Background(), pod, &kubecontainer.PodStatus{}, []v1.Secret{}, backOff)
    	assert.NoError(t, result.Error())
    	assert.Equal(t, 2, len(fakeRuntime.Containers))
    	assert.Equal(t, 2, len(fakeImage.Images))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. pkg/kubelet/container/testing/fake_runtime.go

    			pods = append(pods, fakePod.Pod)
    		}
    	}
    	return pods, f.Err
    }
    
    func (f *FakeRuntime) SyncPod(_ context.Context, pod *v1.Pod, _ *kubecontainer.PodStatus, _ []v1.Secret, backOff *flowcontrol.Backoff) (result kubecontainer.PodSyncResult) {
    	f.Lock()
    	defer f.Unlock()
    
    	f.CalledFunctions = append(f.CalledFunctions, "SyncPod")
    	f.StartedPods = append(f.StartedPods, string(pod.UID))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    				Obj: scheduling,
    			},
    			expectedHint: framework.QueueSkip,
    		},
    		"backoff-wrong-old-object": {
    			pod:         podWithClaimTemplate,
    			oldObj:      "not-a-scheduling-context",
    			newObj:      scheduling,
    			expectedErr: true,
    		},
    		"backoff-missed-wrong-old-object": {
    			pod: podWithClaimTemplate,
    			oldObj: cache.DeletedFinalStateUnknown{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. pkg/istio-agent/agent.go

    // It will not return until both workload cert and root cert are generated.
    //
    // TODO: evaluate replacing the STS server with a file data source, to simplify Envoy config
    // TODO: Fix this method with unused return value
    // nolint: unparam
    func (a *Agent) getWorkloadCerts(st *cache.SecretManagerClient) (sk *security.SecretItem, err error) {
    	b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. pkg/volume/util/types/types.go

    // supporting functions required for the operation executor
    type GeneratedOperations struct {
    	// Name of operation - could be used for resetting shared exponential backoff
    	OperationName     string
    	OperationFunc     func() (context OperationContext)
    	EventRecorderFunc func(*error)
    	CompleteFunc      func(CompleteFuncParam)
    }
    
    type OperationContext struct {
    	EventErr    error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. go.mod

    	github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24
    	github.com/Masterminds/semver/v3 v3.2.1
    	github.com/Masterminds/sprig/v3 v3.2.3
    	github.com/alecholmes/xfccparser v0.3.0
    	github.com/cenkalti/backoff/v4 v4.3.0
    	github.com/cespare/xxhash/v2 v2.3.0
    	github.com/cheggaaa/pb/v3 v3.1.5
    	github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b
    	github.com/containernetworking/cni v1.2.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/events.go

    	ScheduleAttemptFailure = "ScheduleAttemptFailure"
    	// BackoffComplete is the event when a pod finishes backoff.
    	BackoffComplete = "BackoffComplete"
    	// ForceActivate is the event when a pod is moved from unschedulablePods/backoffQ
    	// to activeQ. Usually it's triggered by plugin implementations.
    	ForceActivate = "ForceActivate"
    	// PodUpdate is the event when a pod is updated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. cluster/addons/dns/kube-dns/kube-dns.yaml.base

              # clusters, then set request = limit to keep this container in
              # guaranteed class. Currently, this container falls into the
              # "burstable" category so the kubelet doesn't backoff from restarting it.
              limits:
                memory: __DNS__MEMORY__LIMIT__
              requests:
                cpu: 100m
                memory: 70Mi
            livenessProbe:
              httpGet:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. cluster/addons/dns/kube-dns/kube-dns.yaml.in

              # clusters, then set request = limit to keep this container in
              # guaranteed class. Currently, this container falls into the
              # "burstable" category so the kubelet doesn't backoff from restarting it.
              limits:
                memory: 'dns_memory_limit'
              requests:
                cpu: 100m
                memory: 70Mi
            livenessProbe:
              httpGet:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top