- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 221 for BackOff (0.16 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go
"k8s.io/client-go/rest" "k8s.io/klog/v2" ) // DefaultRetryBackoff returns the default backoff parameters for webhook retry. func DefaultRetryBackoff() *wait.Backoff { backoff := webhook.DefaultRetryBackoffWithInitialDelay(500 * time.Millisecond) return &backoff } // Ensure WebhookTokenAuthenticator implements the authenticator.Token interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 11.5K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/timeout.go
// the operation. Consecutive errors will result in exponential backoff to a // maxBackoff timeout. type Timeout struct { // Resync is the default timeout duration when there are no errors. Resync time.Duration // MaxBackoff is the maximum timeout when in a error backoff state. MaxBackoff time.Duration // InitialRetry is the initial retry interval when an error is reported.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 20:48:08 UTC 2018 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepository.java
LOGGER.debug("Error while accessing remote repository {}. Waiting {}ms before next retry. {} retries left", repositoryName, backoff, maxTentativesCount - retries, failure); try { Thread.sleep(backoff); backoff *= 2; } catch (InterruptedException e) { throw UncheckedException.throwAsUncheckedException(e);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/security/retry.go
} // grpcretry has no hooks to trigger logic on failure (https://github.com/grpc-ecosystem/go-grpc-middleware/issues/375) // Instead, we can wrap the backoff hook to log/increment metrics before returning the backoff result. func wrapBackoffWithMetrics(bf retry.BackoffFunc) retry.BackoffFunc { return func(attempt uint) time.Duration { wait := bf(attempt)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
maxControlledAttrCacheSize = 10000 ) // DefaultRetryBackoff returns the default backoff parameters for webhook retry. func DefaultRetryBackoff() *wait.Backoff { backoff := webhook.DefaultRetryBackoffWithInitialDelay(500 * time.Millisecond) return &backoff } // Ensure Webhook implements the authorizer.Authorizer interface. var _ authorizer.Authorizer = (*WebhookAuthorizer)(nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/delegating.go
DenyCacheTTL time.Duration // WebhookRetryBackoff specifies the backoff parameters for the authorization 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: Fri Mar 01 22:41:27 UTC 2024 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authorization.go
s.ClientTimeout = timeout } // WithCustomRetryBackoff sets the custom backoff parameters for the authorization webhook retry logic. func (s *DelegatingAuthorizationOptions) WithCustomRetryBackoff(backoff wait.Backoff) { s.WebhookRetryBackoff = &backoff } // WithCustomRoundTripper allows for specifying a middleware function for custom HTTP behaviour for the authorization webhook client.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 9.3K bytes - Viewed (0) -
pkg/kubelet/config/file_linux.go
type retryableError struct { message string } func (e *retryableError) Error() string { return e.message } func (s *sourceFile) startWatch() { backOff := flowcontrol.NewBackOff(retryPeriod, maxRetryPeriod) backOffID := "watch" go wait.Forever(func() { if backOff.IsInBackOffSinceUpdate(backOffID, time.Now()) { return } if err := s.doWatch(); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 17:27:26 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go
func retryOnError(err error) bool { if err != nil { return true } return false } func loadWebhook(configFile string, groupVersion schema.GroupVersion, retryBackoff wait.Backoff, customDial utilnet.DialFunc) (*webhook.GenericWebhook, error) { clientConfig, err := webhook.LoadKubeconfig(configFile, customDial) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:13:31 UTC 2022 - 4.5K bytes - Viewed (0) -
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)