Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 226 for Backoff (0.09 sec)

  1. pkg/kubelet/events/event.go

    	StartedContainer        = "Started"
    	FailedToCreateContainer = "Failed"
    	FailedToStartContainer  = "Failed"
    	KillingContainer        = "Killing"
    	PreemptContainer        = "Preempting"
    	BackOffStartContainer   = "BackOff"
    	ExceededGracePeriod     = "ExceededGracePeriod"
    )
    
    // Pod event reason list
    const (
    	FailedToKillPod                = "FailedKillPod"
    	FailedToCreatePodContainer     = "FailedCreatePodContainer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. pkg/backoff/exponential_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package backoff
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"testing"
    	"time"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestBackOff(t *testing.T) {
    	var (
    		testInitialInterval = 500 * time.Millisecond
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 05 16:03:30 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. LICENSES/vendor/github.com/cenkalti/backoff/v4/LICENSE

    = vendor/github.com/cenkalti/backoff/v4 licensed under: =
    
    The MIT License (MIT)
    
    Copyright (c) 2014 Cenk Altı
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 18 01:47:24 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. pkg/util/goroutinemap/goroutinemap_test.go

    	return func() error { return nil }
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    4,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func waitChannelWithTimeout(ch <-chan interface{}, timeout time.Duration) error {
    	timer := time.NewTimer(timeout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    		TokenRequestTimeout: 10 * time.Second,
    	}
    }
    
    // WithCustomRetryBackoff sets the custom backoff parameters for the authentication webhook retry logic.
    func (s *DelegatingAuthenticationOptions) WithCustomRetryBackoff(backoff wait.Backoff) {
    	s.WebhookRetryBackoff = &backoff
    }
    
    // WithRequestTimeout sets the given timeout for requests made by the authentication webhook client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/delegating.go

    	TokenAccessReviewTimeout time.Duration
    
    	// WebhookRetryBackoff specifies the backoff parameters for the authentication webhook retry logic.
    	// This allows us to configure the sleep time at each iteration and the maximum number of retries allowed
    	// before we fail the webhook call in order to limit the fan out that ensues when the system is degraded.
    	WebhookRetryBackoff *wait.Backoff
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 29 07:49:14 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubeapiserver/options/authorization_test.go

    	testCases := []struct {
    		name                 string
    		modes                []string
    		policyFile           string
    		webhookConfigFile    string
    		webhookRetryBackoff  *wait.Backoff
    		expectErr            bool
    		expectErrorSubString string
    	}{
    		{
    			name:                 "Unknown modes should return errors",
    			modes:                []string{"DoesNotExist"},
    			expectErr:            true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    	// failed:
    	// - If the previous operation has the same
    	//   generatedOperations.operationName:
    	//   - If the full exponential backoff period is satisfied, the operation is
    	//     allowed to proceed.
    	//   - Otherwise, an ExponentialBackoff error is returned.
    	// - Otherwise, exponential backoff is reset and operation is allowed to
    	//   proceed.
    
    	// Once the operation is complete, the go routine is terminated. If the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  10. releasenotes/notes/30261.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: security
    issue:
    - 30261
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 02 17:51:47 UTC 2021
    - 216 bytes
    - Viewed (0)
Back to top