Skip to content

Commit

Permalink
Cleaned up cli.py, updated caribou version, simplified setup_all_timers
Browse files Browse the repository at this point in the history
  • Loading branch information
Danidite committed Nov 13, 2024
1 parent 021b305 commit 9f300d1
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 252 deletions.
15 changes: 8 additions & 7 deletions QUICK_START.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,14 @@ The user may simply set up all the component timers automatically through the fo
```bash
poetry run caribou setup_all_timers
```
You may also specify the time configurations of any of the following components:
- `provider_collector`: Use `--provider_collector` or `-prc`. By default, invokes the Lambda function at 12:05 AM on the first day of the month. Schedule expression: 'cron(5 0 1 * ? *)'
- `carbon_collector`: Use `--carbon_collector` or `-cac`. By default, invokes the Lambda function daily at 12:30 AM. Schedule expression: 'cron(30 0 * * ? *)'
- `performance_collector`: Use `--performance_collector` or `-pec`. By default, invokes the Lambda function daily at 12:30 AM. Schedule expression: 'cron(30 0 * * ? *)'
- `log_syncer`: Use `--log_syncer` or `-los`. By default, invokes the Lambda function daily at 12:05 AM. Schedule expression: 'cron(5 0 * * ? *)'
- `deployment_manager`: Use `--deployment_manager` or `-dma`. By default, invokes the Lambda function daily at 01:00 AM. Schedule expression: 'cron(0 1 * * ? *)'
- `deployment_migrator`: Use `--deployment_migrator` or `-dmi`. By default, invokes the Lambda function daily at 02:00 AM. Schedule expression: 'cron(0 2 * * ? *)'
This configures the timers in the default expressions listed below:
- `provider_collector`: By default, invokes the Lambda function at 12:05 AM on the first day of the month. Schedule expression: 'cron(5 0 1 * ? *)'
- `carbon_collector`: By default, invokes the Lambda function daily at 12:30 AM. Schedule expression: 'cron(30 0 * * ? *)'
- `performance_collector`: By default, invokes the Lambda function daily at 12:30 AM. Schedule expression: 'cron(30 0 * * ? *)'
- `log_syncer`: By default, invokes the Lambda function daily at 12:05 AM. Schedule expression: 'cron(5 0 * * ? *)'
- `deployment_manager`: By default, invokes the Lambda function daily at 01:00 AM. Schedule expression: 'cron(0 1 * * ? *)'
- `deployment_migrator`: By default, invokes the Lambda function daily at 02:00 AM. Schedule expression: 'cron(0 2 * * ? *)'


**Note:** Running this command will reset all previously customized time configurations.

Expand Down
2 changes: 1 addition & 1 deletion caribou/deployment/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from caribou.deployment.client.caribou_workflow import CaribouWorkflow


__version__ = "1.0.0"
__version__ = "1.1.0"
Loading

0 comments on commit 9f300d1

Please sign in to comment.