Kevin Klopfenstein
c3b78c3255
bootstrap-os for remove-node ( #6154 )
4 years ago
nniehoff
eb69f126de
* add proxy_env definition to remove_node.yml resolving #6430 ( #6431 )
4 years ago
Alexander Petermann
7712bd0c76
remove ectd node in pre step, instead of post step ( #6099 )
4 years ago
Florent Monbillard
dca3bf0e80
Fix first etcd member exclusion in host group pattern ( #6109 )
4 years ago
Sergey
aead0e3a69
bump minimal ansible version to 2.8.0 ( #5984 )
* bump minimal ansible version to 2.8.0
* check ansible version in separate playbook
4 years ago
Lovro Seder
27a268df33
Gather just the necessary facts ( #5955 )
* Gather just the necessary facts
* Move fact gathering to separate playbook.
4 years ago
holmesb
46f6c09d21
Fixes issue #5160 ( #5171 )
5 years ago
Matthew Mosesohn
a44235d11b
Refactor remove node to allow removing dead nodes and etcd members ( #5009 )
Change-Id: I1c59249f08f16d0f6fd60df6ab61f17a0a7df189
5 years ago
Timoses
53032a6695
Use kubespray-defaults in remove-node role ( #4946 )
5 years ago
Maxime Guyot
f69b5f7f33
Upgrade to Ansible 2.7.8 ( #4535 )
5 years ago
Maxime Guyot
a4e65c7ceb
Upgrade to Ansible >2.7.0 ( #4471 )
5 years ago
Andrey Zhelnin
c66e9a6d62
Disable become for localhost ( #4287 )
5 years ago
Chad Swenson
80379f6cab
Fix kube-proxy configuration for kubeadm ( #3958 )
- Creates and defaults an ansible variable for every configuration option in the `kubeproxy.config.k8s.io/v1alpha1` type spec
- Fixes vars that were orphaned by removing non-kubeadm
- Fixes previously harcoded kubeadm values
- Introduces a `main` directory for role default files per component (requires ansible 2.6.0+)
- Split out just `kube-proxy.yml` in this first effort
- Removes the kube-proxy server field patch task
We should continue to pull out other components from `main.yml` into their own defaults files as I did here for `defaults/main/kube-proxy.yml`. I hope for and will need others to join me in this refactoring across the project until each component config template has a matching role defaults file, with shared defaults in `kubespray-defaults` or `downloads`
6 years ago
Egor
13af4c1f40
remove-node: fix assert for ansible_version ( #3703 )
6 years ago
Antoine Legrand
3dcb914607
Remove Vault ( #3684 )
* Remove Vault
* Remove reference to 'kargo' in the doc
* change check order
6 years ago
Wong Hoi Sing Edison
ce5a34d86c
ansible: Upgrade to 2.7.1 ( #3618 )
Only exclude buggy Ansible v2.7.0 (https://github.com/ansible/ansible/issues/46600#issuecomment-433863628 )
Fixup #3589
6 years ago
Antoine Legrand
90d8f7aa6a
Assert if ansible 2.7 is used ( #3589 )
6 years ago
Mark Eisenblaetter
b548f6f320
move node selection from --limit to --extra-vars=node<nodename>"
6 years ago
Iqbal Farabi
52ffd5dae4
Fix issue #2702 : 'docker_bin_dir' is undefined when running ansible-playbook remove-node.yml
6 years ago
Giri Kuncoro
1eaa6925b9
Fix privilege escalation timeout for remove-node playbook
6 years ago
Iqbal Farabi
86212d59ae
Fix issue #2702 : 'docker_bin_dir' is undefined when running ansible-playbook remove-node.yml
6 years ago
rong.zhang
12c78e622b
Remove nodes
Drain node except daemonsets resource
Use reset cluser for delete deploy data
Then delete node
6 years ago