Renán I. Del Valle
5f510b74ea
Changing dependencies to point to aurora-scheduler organization ( #9 )
...
* Removing support for dep as we should now only be building with go1.13+ and mod.
* Ignoring go.sum being created. Use the database instead.
* Upgrading dependencies to their latest versions.
* Replacing thrift dependency temporarily with a patched thrift dependency while we wait for 0.14.0 to be released.
* Change location of gorealis to point to auora-scheduler repository.
* Update .gitignore to contain DS_Store.
* Adding changelog.
* Putting unreleased back into the changelog as this isn't a release PR.
2020-02-19 12:18:50 -08:00
Renan I. Del Valle
f94a055b47
JSON support for taking in host list ( #8 )
...
* Bumping up the version.
* Adding flags to take in JSON from the command line.
* go.sum no longer strictly necessary since go1.13
* Adding support for reading JSON list of hosts to drain from STDIN or from a file.
* Adding changes to changelogs
2020-02-07 18:41:59 -08:00
Renan I. Del Valle
fa0179292a
Refactoring start sla-drain ( #7 )
...
Changing sla-drain command to be less cumbersome. sla-drain command now takes --count or --percentage and they are mutually exclusive.
2020-01-29 16:12:53 -08:00
Renan DelValle
125025157b
Hides a perviously exported struct. Shortens a line that was too long.
2019-06-28 10:21:51 -07:00
Renan DelValle
6e6934a3d3
Adding Apache v2 license.
2019-03-25 17:36:24 -07:00
Renan DelValle
af21dd67c7
bug fix: wrong monitor value being used for slaPercentage.
2019-03-25 13:00:58 -07:00
Renan DelValle
c1abfd5c01
Adding more sane initial values to sla drain commands.
2019-03-25 12:09:41 -07:00
Renan DelValle
3c817a7ffc
Workaround for intervals and timeout being dependent on the init execution order.
2019-03-25 11:38:17 -07:00
Renan DelValle
d1097f33ac
bugfix: monitor variables were dependent on order in which commands were initialized inside on init(). Using PreRun we can control the value per command called by having the function run only when the function is executed.
2019-03-22 20:47:42 -07:00
Renan DelValle
fee20090d0
Making SLA-Aware to plain Drain timeout configurable.
...
Upgraded Dockerbuild for debian package to use go1.12.1
2019-03-22 19:01:20 -07:00
Renan DelValle
616d4bc57e
goimports style fixes.
2019-03-19 15:28:24 -07:00
Renan DelValle
4551231644
Adding fetch task status. Changed how logrus is used to be able to be passed down to gorealis.
2019-03-19 15:27:20 -07:00
Renan DelValle
5056eff933
Adding version number to imports in several files.
2019-01-31 18:15:11 -08:00
Renan DelValle
6ab5c9334d
gorealis v2 refactor ( #5 )
...
* Changing default timeout for start maintenance.
* Upgrading dependencies to gorealis v2 and thrift 0.12.0
* Refactored to update to gorealis v2.
2018-12-27 11:31:51 -08:00
Renan DelValle
38630d8b94
Increase timeouts for drain monitors.
2018-12-04 16:21:12 -08:00
Renan DelValle
ef76abd73c
Changing timeouts to Duration types for giving the user an easier time setting high amoutns of time. Added support for sla-drain count and percentage policies. Coordination policy is to be implemented. Bumped up version number and fixed eimplicit recon calling the wrong API function.
2018-11-20 20:11:21 -08:00
Renan DelValle
a559137fe3
Adding initial support for printing results in JSON format. Adding Logrus logging and adding a logging level argument. Adding StartMaintenance API.
2018-11-16 21:54:18 -08:00
Renan DelValle
bc28198c2d
Adding ability to print out responses as JSON.
2018-11-09 15:58:26 -08:00
Renan DelValle
1818d629ef
Created new verb force. Moved snapshot and backup to this new verb as it reflects the nature of the command. Added implicit and explicit reconciliation.
2018-10-23 15:13:23 -07:00
Renan DelValle
7f64de61de
Style fix for the description of Snapshot and Backup.
2018-09-16 21:30:04 -07:00
Renan DelValle
b50fdf8fff
Adding ability to force a snapshot and to force a backup.
2018-09-16 21:22:00 -07:00
Renan DelValle
51daad88eb
Adding interval and timeout flags for start and stop drain.
2018-05-30 18:15:16 -07:00
Renan DelValle
afa7a5d14f
Change drain monitor to only return on DRAINED based on feedback from users.
2018-05-30 17:50:53 -07:00
Renan DelValle
8e0988513a
Adding new verbs and fleshing out the skeleton. Drain works while Kill has an error tha requires a deeper dive.
2017-12-03 12:41:23 -08:00