Commit graph

60 commits

Author SHA1 Message Date
Renan DelValle
63d7c4c1aa
Adding support for creating jobs which use executorless docker containers.Note, that this feature must be enabled on the aurora-scheduler manually. 2019-07-24 16:43:00 -07: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
cbac86cb20
Adding job restart command. 2019-06-28 10:20:56 -07:00
Renan DelValle
6e6934a3d3
Adding Apache v2 license. 2019-03-25 17:36:24 -07:00
Renan DelValle
178e12bcc9
Bumping up version for continuing development. 2019-03-25 17:25:21 -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
ddc9bc408a
Hide commands that aren't terribly useful to end users. 2019-03-25 08:30:25 -07:00
Renan DelValle
1a18f21e46
Removing stub for kill entire cluster command. 2019-03-25 08:27:47 -07:00
Renan DelValle
0409d1cd5d
Changing incorrect description of docs verb. 2019-03-22 20:54:13 -07:00
Renan DelValle
724fdd8799
Updating documentation and adding monitor verb and noun. 2019-03-22 20:50:41 -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
0f19631c9a
Upgrading version of go australis is built with. Added script to build debian package inside of docker container for easy distribution in a debian environment. 2019-03-21 16:09:44 -07:00
Renan DelValle
0a5607d5b4
Adding auto-generated docs. 2019-03-21 15:49:40 -07:00
Renan DelValle
ef935d58b8
Bumping up version for release. 2019-03-21 12:34:01 -07:00
Renan DelValle
7286d2fc9f
Adding rudimentary support for creating jobs on Aurora. 2019-03-21 12:26:14 -07:00
Renan DelValle
ada7eb3aa1
Changing fetch task status to only return live instances. 2019-03-19 17:04:14 -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
2abd691a1c
Adding support for triggering an update rollback. 2019-03-19 14:55:22 -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
ad4dd9606e
Added filename outoput for autocomplete verb. Modified debian package generator to include autocomplete. Added instructions to readme to build debian package. 2018-12-05 15:12:49 -08:00
Renan DelValle
61d78cb77e
Adding set quota command. 2018-12-04 18:37:05 -08:00
Renan DelValle
2bd703b2db
Bug fix, print results instead of details. 2018-12-04 18:36:47 -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
2de607464f
Adding bash completion generation. 2018-11-16 22:15:36 -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
7a1251853b
Adding ability to use a config file in order to reduce command length. 2018-10-23 23:32:28 -07:00
Renan DelValle
fa111ccee4
Hide global flags for fetch leader as they're not needed. Allow for arbitrary zkPath to be passed to fetch leader unde --zkPath. Change command use to be more informative. 2018-10-23 17:42:52 -07:00
Renan DelValle
e4554309f4
Using builtin cobra version function. 2018-10-23 16:52:29 -07:00
Renan DelValle
50ec7cad2c
Using cobra mechanism to restrict number of arguments given to explicit recon. 2018-10-23 15:30:41 -07:00
Renan DelValle
112f172c64
Adding version command. 2018-10-23 15:24:29 -07: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
579bc33936
Simplifying command since gorealis now handles error case scenarios and we don't care about resp code here. 2018-10-23 12:54:34 -07:00
Renan DelValle
71a1eab1d1
Bug fix: Adding insecureSkipVerify option to realis options and moving realis options out of the zookeeper path only. 2018-10-19 12:29:17 -07:00
Natarajan, Jayachandran
e1c403f585 Included fetch status command to get the maintenance status of a node in Aurora 2018-09-21 14:29:31 +05:30
Renan DelValle
7f64de61de
Style fix for the description of Snapshot and Backup. 2018-09-16 21:30:04 -07:00
Renan DelValle
255546beb4
Explicitly initializing string pointers for env, role, and name since flag library does not do this. 2018-09-16 21:26:31 -07:00
Renan DelValle
0a3288a1dd
Changing role, env, and name to be string pointers. This is due to the fact that TaskQuery can now take nil pointers to ignore certain fields. This allows querying for all jobs of a certain environment, all jobs from a certain role, and all jobs with a certain name. 2018-09-16 21:23:36 -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
3341fe8e11
Adding fetch jobs command. Currently only takes into account the role. 2018-06-15 16:12:35 -07:00
Renan DelValle
09469f3216
Adding interval configuration to stop command. 2018-06-15 16:07:11 -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
88b0314665
Add skip verify flag to Australis. 2018-04-29 18:55:59 -04:00