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
a3a7fe7c
Commit
a3a7fe7c
authored
5 years ago
by
刘旭
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix start CoreDNS when init secondary master (#4867)
parent
9b2d1766
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/master/tasks/kubeadm-secondary-legacy.yml
+1
-1
1 addition, 1 deletion
roles/kubernetes/master/tasks/kubeadm-secondary-legacy.yml
with
1 addition
and
1 deletion
roles/kubernetes/master/tasks/kubeadm-secondary-legacy.yml
+
1
−
1
View file @
a3a7fe7c
...
...
@@ -31,7 +31,7 @@
when
:
inventory_hostname != groups['kube-master']|first
-
name
:
kubeadm | Init other uninitialized masters
command
:
timeout -k 600s 600s {{ bin_dir }}/kubeadm init --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all
command
:
timeout -k 600s 600s {{ bin_dir }}/kubeadm init --config={{ kube_config_dir }}/kubeadm-config.yaml --ignore-preflight-errors=all
--skip-phases=addon/coredns
register
:
kubeadm_init
retries
:
10
until
:
kubeadm_init is succeeded or "field is immutable" in kubeadm_init.stderr
...
...
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