Maestro is a REPL development tool designed to simplify the management and monitoring of large quantities of containerized microservices. It provides functionalities for adding, listing, and updating container code, as well as checking container statuses.
Supported microservice frameworks:
- SpringBoot
- ...
TBD
HOMEBREW
Github Releases
List tracked containers (list or ls)
Maestro> ls
Stored containers:
==================
Container Name Code Location Status Last Updated
------------------- ---------------------------------------------- ---------- --------------------
my_container ~/projects/my_code (running) 5 minutes ago
another_container ~/workspace/another_project (stopped) 2 hours ago
Maestro>
Copy code to a container (c or copy)
Maestro> c my_container
Copying code to container: my_container from code workspace: ~/projects/my_code
Successfully copied 40MB to my_container:/
Maestro>
Configuring Maestro is simple. The easiest way is to provide a json file structured like the following:
{
"my_container": {
"container_working_dir": "",
"workspace": "~/projects/my_code"
},
"another_container": {
"container_working_dir": "usr/src/app/",
"workspace": "~/workspace/another_project"
}
...
}
And run the configure command in the CLI:
Maestro> configure
Enter the path to the configuration file: ~/MaestroConfig.json
Maestro successfully configured.
Maestro>
The other option is to go through the CLI's add command...
TBD