Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
75f0aaf4
Unverified
Commit
75f0aaf4
authored
4 years ago
by
Dmitry Chusovitin
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed waiting for scheduler and controller manager (#6893)
parent
c36df6a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/master/handlers/main.yml
+6
-2
6 additions, 2 deletions
roles/kubernetes/master/handlers/main.yml
with
6 additions
and
2 deletions
roles/kubernetes/master/handlers/main.yml
+
6
−
2
View file @
75f0aaf4
...
...
@@ -92,8 +92,10 @@
when
:
container_manager in ['containerd', 'crio']
-
name
:
Master | wait for kube-scheduler
vars
:
endpoint
:
"
{{
kube_scheduler_bind_address
if
kube_scheduler_bind_address
!=
'0.0.0.0'
else
'localhost'
}}"
uri
:
url
:
https://
localhost
:10259/healthz
url
:
https://
{{ endpoint }}
:10259/healthz
validate_certs
:
no
register
:
scheduler_result
until
:
scheduler_result.status ==
200
...
...
@@ -101,8 +103,10 @@
delay
:
1
-
name
:
Master | wait for kube-controller-manager
vars
:
endpoint
:
"
{{
kube_controller_manager_bind_address
if
kube_controller_manager_bind_address
!=
'0.0.0.0'
else
'localhost'
}}"
uri
:
url
:
https://
localhost
:10257/healthz
url
:
https://
{{ endpoint }}
:10257/healthz
validate_certs
:
no
register
:
controller_manager_result
until
:
controller_manager_result.status ==
200
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment