Merge pull request #804 from mattymo/inventory_builder

Add inventory builder python script
This commit is contained in:
Matthew Mosesohn
2016-12-23 13:22:41 +03:00
committed by GitHub
11 changed files with 543 additions and 1 deletions

View File

@@ -17,3 +17,16 @@ kargo aws --instances 3
```
kargo deploy --aws -u centos -n calico
```
Building your own inventory
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ansible inventory can be stored in 3 formats: YAML, JSON, or inifile. There is
an example inventory located
[here](https://github.com/kubernetes-incubator/kargo/blob/master/inventory/inventory.example).
You can use an
[inventory generator](https://github.com/kubernetes-incubator/kargo/blob/master/contrib/inventory_generator/inventory_generator.py)
to create or modify an Ansible inventory. Currently, it is limited in
functionality and is only use for making a basic Kargo cluster, but it does
support creating large clusters.