Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2a3c8d58
Unverified
Commit
2a3c8d58
authored
Oct 01, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 01, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68678 from deads2k/agg-01-availability
tighten maximum retry loop for aggregate api availability
parents
c847a1f0
ed6b5a77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
available_controller.go
...aggregator/pkg/controllers/status/available_controller.go
+6
-1
No files found.
staging/src/k8s.io/kube-aggregator/pkg/controllers/status/available_controller.go
View file @
2a3c8d58
...
...
@@ -88,7 +88,12 @@ func NewAvailableConditionController(
endpointsLister
:
endpointsInformer
.
Lister
(),
endpointsSynced
:
endpointsInformer
.
Informer
()
.
HasSynced
,
serviceResolver
:
serviceResolver
,
queue
:
workqueue
.
NewNamedRateLimitingQueue
(
workqueue
.
DefaultControllerRateLimiter
(),
"AvailableConditionController"
),
queue
:
workqueue
.
NewNamedRateLimitingQueue
(
// We want a fairly tight requeue time. The controller listens to the API, but because it relies on the routability of the
// service network, it is possible for an external, non-watchable factor to affect availability. This keeps
// the maximum disruption time to a minimum, but it does prevent hot loops.
workqueue
.
NewItemExponentialFailureRateLimiter
(
5
*
time
.
Millisecond
,
30
*
time
.
Second
),
"AvailableConditionController"
),
}
// construct an http client that will ignore TLS verification (if someone owns the network and messes with your status
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment