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
45f00e24
Commit
45f00e24
authored
Jan 22, 2019
by
Darren Shepherd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for kube-apiserver for 2 minutes for slow (ARM) systems
parent
19dd8cac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
controllermanager.go
cmd/kube-controller-manager/app/controllermanager.go
+1
-1
No files found.
cmd/kube-controller-manager/app/controllermanager.go
View file @
45f00e24
...
...
@@ -449,7 +449,7 @@ func CreateControllerContext(s *config.CompletedConfig, rootClientBuilder, clien
// If apiserver is not running we should wait for some time and fail only then. This is particularly
// important when we start apiserver and controller manager at the same time.
if
err
:=
genericcontrollermanager
.
WaitForAPIServer
(
versionedClient
,
10
*
time
.
Second
);
err
!=
nil
{
if
err
:=
genericcontrollermanager
.
WaitForAPIServer
(
versionedClient
,
1
2
0
*
time
.
Second
);
err
!=
nil
{
return
ControllerContext
{},
fmt
.
Errorf
(
"failed to wait for apiserver being healthy: %v"
,
err
)
}
...
...
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