Evgeniy L 98bb9923a2 Implement ensure mechanism for containers
Added workaround to stop containers which should
not be on the node, accouding to a file with list
of services which is filled in by ansible's tasks.

It allows to implement scale-down and resource
migration.
2015-04-23 16:07:31 +03:00
2015-03-27 16:58:47 -07:00
2015-03-27 15:54:19 -07:00
2015-04-07 17:15:50 -07:00
2015-04-16 17:07:11 -07:00

Setup development env

  • Install virtualbox
  • Install vagrant
  • Setup environment
$ cd fuel-ng
$ vagrant up
  • Login into vm, the code is available in /vagrant directory
$ vagrant ssh
$ solar --help

Solar usage

  • discover nodes, with standard file based discovery
solar discover
  • create profile (global config)
solar profile --create --id prf1 --tags env/test_env

  • assign nodes to profile with tags

  • edit nodes files, in the future we want to provide some cli in order to change the data

vim tmp/storage/nodes-id.yaml
  • add env/test_env in tags list
  • in order to assign resouce to the node use the same the same method, i.e. add in tags list for node your service e.g. service/docker, service/mariadb
  • perform deployment
solar configure --profile prf1 -pa run
Description
Resource management and orchestration engine for distributed systems
Readme 5.5 MiB
Languages
Python 91.4%
Shell 4.9%
Erlang 1.6%
Ruby 1.1%
HAProxy 0.6%
Other 0.3%