Remous-Aris Koutsiamanis
27958e4247
Fix "Prevent inventory.py from configuring an even number of nodes in etcd" #4399 ( #4465 )
by making clusters with fewer than 3 nodes have only 1 etcd node
5 years ago
Maxime Guyot
9155339cf0
Fix pep8 warnings ( #4368 )
5 years ago
tikitavi
1babba753d
adapt inventory script to python 2.7 version ( #4407 )
5 years ago
tikitavi
2560c4dda3
fixing dump of ordered dictionaries in inventory script ( #4343 )
5 years ago
tikitavi
254a0ab69d
fix inventory script ( #4342 )
hosts are ordered dictionary
remove ansible_user from inventory file
5 years ago
tikitavi
7b3e59ed0a
fix inventory script ( #4339 )
- fix order of entries when the new yaml file is created
- fix group in case there are no hosts in it
5 years ago
tikitavi
44de04be89
update inventory builder for public and private IP per node ( #4323 )
5 years ago
tikitavi
b73f009c07
rewrite inventory script to create inventory file in YAML format ( #4303 )
* rewrite inventory script to create inventory file in YAML format
* minor fixes to inventory script
* change requirments for the inventory script
5 years ago
tikitavi
befa8a6cbd
fix error with delete host in inventory.py script ( #4203 )
* fix error with delete host in inventory.py script
* minor fix
5 years ago
tikitavi
263c8731f2
add to inventory.py script ability to indicate ip ranges ( #4182 )
* add to inventory.py script ability to indicate ip ranges
* add test for range2ip function for inventory.py script
some fixes
* add negative test for range2ip function for inventory.py script
5 years ago
Đào Hoàng Sơn
01cd4cf1c6
Remove vault role from inventory_builder. ( #3863 )
Related to https://github.com/kubernetes-sigs/kubespray/pull/3684
6 years ago
Paul Montero
3f1887316b
Set widely used header for python for different OS
6 years ago
Wong Hoi Sing Edison
4a36b091f4
Update default CONFIG_FILE for contrib/inventory_builder/inventory.py
6 years ago
Matthew Mosesohn
2645e88b0c
Fix vault setup partially ( #1531 )
This does not address per-node certs and scheduler/proxy/controller-manager
component certs which are now required. This should be handled in a
follow-up patch.
7 years ago
Spencer Smith
83265b7f75
renaming kargo-cli to kubespray-cli
7 years ago
Matthew Mosesohn
f742fc3dd1
Add scale thresholds to split etcd and k8s-masters
Also adds calico-rr group if there are standalone etcd nodes.
Now if there are 50 or more nodes, 3 etcd nodes will be standalone.
If there are 200 or more nodes, 2 kube-masters will be standalone.
If thresholds are exceeded, kube-node group cannot add nodes that
belong to etcd or kube-master groups (according to above statements).
7 years ago
Matthew Mosesohn
24cbf2287c
Update inventory.py
8 years ago
Matthew Mosesohn
95e14ffb54
Add yaml/json loader for inventory
8 years ago
Matthew Mosesohn
7b86b87dca
Add inventory builder python script
Includes tox support for running unit tests.
Small note added to getting-started guide for using
inventory_builder.py
Also adds manual-only unit test.
8 years ago