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
6e505c0c
Commit
6e505c0c
authored
8 years ago
by
Matthew Mosesohn
Browse files
Options
Downloads
Patches
Plain Diff
Fix delegate tasks for kubectl and etcdctl
parent
e9a294fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes/master/tasks/post-upgrade.yml
+1
-0
1 addition, 0 deletions
roles/kubernetes/master/tasks/post-upgrade.yml
roles/upgrade/pre-upgrade/tasks/main.yml
+1
-0
1 addition, 0 deletions
roles/upgrade/pre-upgrade/tasks/main.yml
with
2 additions
and
0 deletions
roles/kubernetes/master/tasks/post-upgrade.yml
+
1
−
0
View file @
6e505c0c
...
...
@@ -3,4 +3,5 @@
command
:
"
{{
bin_dir
}}/etcdctl
--endpoints={{
etcd_access_addresses
}}
rm
-r
/registry"
environment
:
ETCDCTL_API
:
2
delegate_to
:
"
{{groups['etcd'][0]}}"
when
:
kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false)
This diff is collapsed.
Click to expand it.
roles/upgrade/pre-upgrade/tasks/main.yml
+
1
−
0
View file @
6e505c0c
...
...
@@ -2,6 +2,7 @@
-
name
:
See if node is in ready state
command
:
"
kubectl
get
nodes
|
grep
{{
inventory_hostname
}}"
register
:
kubectl_nodes
delegate_to
:
"
{{
groups['kube-master'][0]
}}"
ignore_errors
:
true
-
set_fact
:
...
...
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