Let's consider how the mariadb kolla container is configured and run in both kolla and kolla-kubernetes, as of today 2016/06/08.
Common Steps:
- Operator edits /etc/kolla/globals.yml and sets the interface to which API services will bind. By default, the setting is: network_interface: "eth0".
- Operator edits the ansible inventory file within ./ansible/inventory/{inventory_file}, and sets the target hostgroups which will run the mariadb kolla container.
- Operator runs 'kolla-ansible genconfig' which gathers networking facts on each host and resolves the 'network_interface' setting as the IP address to which the service to bind. This IP address is hard-coded within configuration files deposited on each host in the directory '/etc/kolla/{component}'.