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
ee0f1e9d
Unverified
Commit
ee0f1e9d
authored
3 years ago
by
Samuel Liu
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update etcd-servers for apiserver (#8253)
parent
a24162f5
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/control-plane/tasks/kubeadm-fix-apiserver.yml
+7
-0
7 additions, 0 deletions
.../kubernetes/control-plane/tasks/kubeadm-fix-apiserver.yml
with
7 additions
and
0 deletions
roles/kubernetes/control-plane/tasks/kubeadm-fix-apiserver.yml
+
7
−
0
View file @
ee0f1e9d
...
...
@@ -15,3 +15,10 @@
-
"
Master
|
Restart
kube-controller-manager"
-
"
Master
|
Restart
kube-scheduler"
-
"
Master
|
reload
kubelet"
-
name
:
Update etcd-servers for apiserver
lineinfile
:
dest
:
"
{{
kube_config_dir
}}/manifests/kube-apiserver.yaml"
regexp
:
'
^
-
--etcd-servers='
line
:
'
-
--etcd-servers={{
etcd_access_addresses
}}'
when
:
not etcd_kubeadm_enabled | default(false)
This diff is collapsed.
Click to expand it.
Дмитрий Сафронов
@zimniy
mentioned in commit
81a3f81a
·
1 year ago
mentioned in commit
81a3f81a
mentioned in commit 81a3f81aa1dbaf7e067544a81c1e85f9c16304f5
Toggle commit list
Дмитрий Сафронов
@zimniy
mentioned in commit
0e971a37
·
1 year ago
mentioned in commit
0e971a37
mentioned in commit 0e971a37aa1c50a58975b615870c313590eebfcd
Toggle commit list
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