Documentation
¶
Index ¶
Constants ¶
View Source
const ( AgentRegistrationRetry = time.Minute * 1 AgentSecretTimeout = time.Minute * 1 ClusterImportTokenTTL = time.Hour * 12 ClusterRegisterDelay = time.Second * 15 ClusterRegisterJitterMax = time.Second * 60 ClusterRegistrationDeleteDelay = time.Minute * 40 ClusterSecretRetry = time.Second * 2 ContentPurgeInterval = time.Minute * 5 CreateClusterSecretTimeout = time.Minute * 30 DefaultClusterCheckInterval = time.Minute * 15 DefaultImageInterval = time.Minute * 15 DefaultRequeueAfter = time.Second * 5 DefaultResyncAgent = time.Minute * 30 FailureRateLimiterBase = time.Millisecond * 5 FailureRateLimiterMax = time.Second * 60 SlowFailureRateLimiterBase = time.Second * 2 SlowFailureRateLimiterMax = time.Minute * 10 // hit after 10 failures in a row GarbageCollect = time.Minute * 15 RestConfigTimeout = time.Second * 15 ServiceTokenSleep = time.Second * 2 TokenClusterEnqueueDelay = time.Second * 2 // TriggerSleep is the delay before the driftdetect mini controller // starts watching deployed resources for changes TriggerSleep = time.Second * 5 // GitRepoStatusDelay gives the gitjob controller some time to update // the gitrepo status first, before the status controller looks at // bundledeployments. GitRepoStatusDelay = time.Second * 5 // HelmOpStatusDelay gives the helmop controller some time to update // the helmop status first, before the status controller looks at // bundledeployments. HelmOpStatusDelay = time.Second * 5 // StatusConflictRequeue is how long a status controller waits before // recomputing a status whose write lost an optimistic lock. A conflict // means the object was just written, so its cache entry is refreshed // almost immediately and there is no reason to wait a full status delay. StatusConflictRequeue = time.Second // WaitForDependenciesReadyRequeueInterval is the wait time after the Fleet agent finds a BundleDeployment has non-ready dependencies WaitForDependenciesReadyRequeueInterval = time.Second * 15 // NamespacePermissionRequeueInterval is the wait time after the Fleet // agent is denied permission to patch a target namespace's // labels/annotations. Granting the missing namespace RBAC does not trigger // a reconcile on its own, so the agent requeues at this interval to // converge once the permission is added. NamespacePermissionRequeueInterval = time.Minute * 2 // StaleCacheRequeue is how long the Fleet agent waits before looking again // at a BundleDeployment which is missing from its cache but still present // on the API server. It doubles on every further attempt, up to // StaleCacheRequeueMax. StaleCacheRequeue = time.Second * 30 // StaleCacheRequeueMax caps the wait between those attempts, so that a // cache which never catches up polls the API server with this periodicity. StaleCacheRequeueMax = time.Minute * 10 // BundleEventsDebounce lets a burst of bundle deployment failures settle // before it is reported as an event, so that the event describes the // whole burst instead of only its first failure. BundleEventsDebounce = time.Second * 5 // BundleEventsMinInterval is the minimum time between two events about // the deployment state of the same object. BundleEventsMinInterval = time.Minute * 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.