- Sep 24, 2024
-
-
Max Gautier authored
-
Max Gautier authored
Remove unnecessary error handling. If the node ip is not defined, is does not change anything whether we fail early of late.
-
- Sep 21, 2024
-
-
Max Gautier authored
Testing for group membership with group names makes Kubespray more tolerant towards the structure of the inventory. Where 'inventory_hostname in groups["some_group"] would fail if "some_group" is not defined, '"some_group" in group_names' would not.
-
- Sep 06, 2024
-
-
Bogdan Sass authored
K8s is moving away from the "master" terminology, so kubespray should follow the same naming conventions. See https://github.com/kubernetes/community/blob/65d886bb3029e73d9729e1d4f27422a7985233ed/sig-architecture/naming/recommendations/001-master-control-plane.md
-
- Aug 31, 2024
-
-
ERIK authored
Signed-off-by:
bo.jiang <bo.jiang@daocloud.io>
-
- Aug 28, 2024
-
-
Vlad Korolev authored
Consistent boolean values in ansible playbooks
-
- Jul 26, 2023
-
-
Arthur Outhenin-Chalandre authored
* project: fix ansible-lint name Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
-
- Jul 05, 2023
-
-
Arthur Outhenin-Chalandre authored
* project: fix var-spacing ansible rule Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing on the beginning/end of jinja template Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing of default filter Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing between filter arguments Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix double space at beginning/end of jinja Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix remaining jinja[spacing] ansible-lint warning Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
-
- Jun 30, 2023
-
-
Arthur Outhenin-Chalandre authored
* project: fix outdated tag and experimental Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove no longer useful noqa 301 Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: replace unnamed-task by name[missing] Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix daemon-reload -> daemon_reload Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
-
- Jun 26, 2023
-
-
Arthur Outhenin-Chalandre authored
* project: update all dependencies including ansible Upgrade to ansible 7.x and ansible-core 2.14.x. There seems to be issue with ansible 8/ansible-core 2.15 so we remain on those versions for now. It's quite a big bump already anyway. Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * tests: install aws galaxy collection Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * ansible-lint: disable various rules after ansible upgrade Temporarily disable a bunch of linting action following ansible upgrade. Those should be taken care of separately. Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve deprecated-module ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve no-free-form ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve schema[meta] ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve schema[playbook] ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve schema[tasks] ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve risky-file-permissions ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve risky-shell-pipe ansible-lint error Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove deprecated warn args Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: use fqcn for non builtin tasks Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: resolve syntax-check[missing-file] for contrib playbook Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: use arithmetic inside jinja to fix ansible 6 upgrade Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by:
Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
-
- Jan 03, 2023
-
-
Ho Kim authored
-
- Oct 07, 2022
-
-
JSpon authored
-
- Sep 06, 2022
-
-
Ho Kim authored
-
- Jul 26, 2022
-
-
Ader Fu authored
Signed-off-by:
ydFu <ader.ydfu@gmail.com>
-
- May 10, 2022
-
-
Andrew Zagorodnuk authored
-
- May 04, 2022
-
-
Calin Cristian Andrei authored
-
- Feb 23, 2022
-
-
Florian Ruynat authored
-
Ilya Margolin authored
-
- Feb 18, 2022
-
-
Sander Klein authored
Since we are already on an etcd node while executing the commands, there is no need to find out an etcd IP because it is on localhost.
-
- Jan 11, 2022
-
-
forselli-stratio authored
* Fix etcd certificates reference to support etcd_kubeadm_enabled:true * Add retries to ETCD Join Member task * Fix etcd certificates reference when etcd_kubeadm_enabled:true * Fix conflicts
-
- Jan 05, 2022
-
-
Max Gautier authored
* Add kubectl variable * Replace kubectl usage by kubectl variable in roles * Remove redundant --kubeconfig on kubectl usage * Replace unecessary shell usage with command
-
- Jan 04, 2022
-
-
Max Gautier authored
- Use builtin task scheduling of ansible (same task on each host) instead of manual looping on master Benefits: - One less play in remove-node.yml playbook - Parralel node drain - Drain parameters (timeout, grace period, retries, allow_ungraceful_removal) can be adjusted separately for each node with ansible variables
-
- Dec 09, 2021
-
-
Florian Ruynat authored
Revert "remove no longer present etcd nodes from APIEndpoints list in kubeadm-config configmap (#8244)" (#8287) This reverts commit dc767c14.
-
- Dec 01, 2021
-
-
Alvaro Campesino authored
-
- Nov 08, 2021
-
-
Max Gautier authored
* Limit kubectl delete node to k8s nodes This avoids the use of `kubectl delete node` when removing etcd nodes which are not part of the cluser (separate etcd) * Take errors into account when deleting node There should not be error now that we're limiting the deletion to nodes actually in the cluster * Retrying on error
-
- Oct 14, 2021
-
-
Mohamed Zaian authored
-
- Sep 23, 2021
-
-
Kenichi Omichi authored
The path of kubeconfig should be configurable, and its default value is /etc/kubernetes/admin.conf. Most paths of the file are configurable but some were not. This make those configurable.
-
- Jul 12, 2021
-
-
Cristian Calin authored
* Ansible: move to Ansible 3.4.0 which uses ansible-base 2.10.10 * Docs: add a note about ansible upgrade post 2.9.x * CI: ensure ansible is removed before ansible 3.x is installed to avoid pip failures * Ansible: use newer ansible-lint * Fix ansible-lint 5.0.11 found issues * syntax issues * risky-file-permissions * var-naming * role-name * molecule tests * Mitogen: use 0.3.0rc1 which adds support for ansible 2.10+ * Pin ansible-base to 2.10.11 to get package fix on RHEL8
-
- Jun 07, 2021
-
-
forselli-stratio authored
* Improve scale flow * Add confirmation prompt again
-
- Apr 29, 2021
-
-
Cristian Calin authored
* rename ansible groups to use _ instead of - k8s-cluster -> k8s_cluster k8s-node -> k8s_node calico-rr -> calico_rr no-floating -> no_floating Note: kube-node,k8s-cluster groups in upgrade CI need clean-up after v2.16 is tagged * ensure old groups are mapped to the new ones
-
- Apr 08, 2021
-
-
Samuel Liu authored
* kubelet absolute path * kubelet absolute path
-
- Mar 30, 2021
-
-
Etienne Champetier authored
Signed-off-by:
Etienne Champetier <e.champetier@ateme.com>
-
- Mar 26, 2021
-
-
Etienne Champetier authored
Signed-off-by:
Etienne Champetier <e.champetier@ateme.com>
-
- Mar 24, 2021
-
-
Kenichi Omichi authored
This replaces kube-master with kube_control_plane because of [1]: The Kubernetes project is moving away from wording that is considered offensive. A new working group WG Naming was created to track this work, and the word "master" was declared as offensive. A proposal was formalized for replacing the word "master" with "control plane". This means it should be removed from source code, documentation, and user-facing configuration from Kubernetes and its sub-projects. NOTE: The reason why this changes it to kube_control_plane not kube-control-plane is for valid group names on ansible. [1]: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint/README.md#motivation
-
- Jan 16, 2021
-
-
David Louks authored
* Remove ignore_errors from drain tasks and enable retires * Fix lint error by checking if stdout length is not 0, ie string is not empty.
-
- Dec 30, 2020
-
-
seowon authored
-
- Oct 28, 2020
-
-
Mikhail Snetkov authored
-
- Sep 19, 2020
-
-
Florent Monbillard authored
-
- Sep 01, 2020
-
-
Florian Ruynat authored
-
- Aug 21, 2020
-
-
Lars authored
and add configuration to allow ungraceful removal
-