Commit graph

150 commits

Author SHA1 Message Date
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
6ce6411ee0
Updating dependencies. 2018-11-16 21:52:45 -08:00
Renan DelValle
c03901c0f1
Upgrading dependencies to include logrus. 2018-11-09 15:59:12 -08:00
Renan DelValle
bc28198c2d
Adding ability to print out responses as JSON. 2018-11-09 15:58:26 -08:00
Renan DelValle
dcb27f64c2
Release 0.0.5 2018-10-25 19:41:23 -07:00
Renan DelValle
d4f442d05c
Adding config file to /etc/aurora 2018-10-25 17:30:01 -07:00
Renan DelValle
1a046b30af
Initial support for australis as a debian package. Sample config file should be added. Using docker to build. 2018-10-25 12:35:28 -07:00
Renan DelValle
032ee08af1
Adding sample config. 2018-10-23 23:35:08 -07:00
Renan DelValle
cdb4b5a1d0
Checking in vendor folder for ease of using go get. 2018-10-23 23:32:59 -07: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
88ca728041
Adding Viper as a dependency. 2018-10-23 23:28:27 -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
b2942d3314
Adding changelog. 2018-10-23 15:14:10 -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
10d5e595f1
Updating dependencies. 2018-10-23 12:54:00 -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
Renan DelValle
91d962f481
Merge pull request #2 from njayachandran/master
Included fetch status command to get the maintenance status of a node…
2018-09-21 19:10:56 -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
40d14588b8
Updating README to reflect new operations available through the CLI. 2018-09-16 21:28:12 -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
ce71939546
Updating dependencies on gorealis and thrift. 2018-09-16 21:22:35 -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
1dd630ad4e
Add some sample commands. 2018-04-29 18:56:13 -04:00
Renan DelValle
88b0314665
Add skip verify flag to Australis. 2018-04-29 18:55:59 -04:00
Renan DelValle
f4d86536c3
Adding support for communicating with Aurora using TLS. 2018-04-26 15:15:42 -07:00
Renan DelValle
72692b5dd7
Updating readme to reflect added functionality. 2018-03-13 17:05:02 -07:00
Renan DelValle
becb32c7ff
Adding command to fetch leader given zookeeper endpoints. 2018-03-13 17:00:38 -07:00
Renan DelValle
0a93854a52
Upgrading to latest gorealis. 2018-03-13 17:00:13 -07:00
Renan DelValle
d38f2f967a
Updating to the latest version of gorealis and introducing the fect command to get task configurations. 2018-01-25 15:31:43 -08:00
Renan DelValle
92fa1f140c
Kill command now works. Added a choice to use a direct address to the Aurora scheduler. 2018-01-23 17:51:42 -08:00
Renan DelValle
df6dbadf68
Pinning down go thrift library at 0.10.0 as 0.11.0 is not compatible with the code base. 2018-01-23 17:48:38 -08:00
Renan DelValle
118f98e86c
Adding dep dependency management. 2018-01-23 17:26:09 -08:00
Renan DelValle
d9810a8279 Adding basic readme. 2017-12-03 12:49:06 -08: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
Renan DelValle
51ff20165e Adding skeleton for the drain command. 2017-12-02 15:53:45 -08:00
Renan DelValle
a097ba092d Root changed to not run anything. 2017-12-02 15:53:29 -08:00
Renan DelValle
74b416c109 Added flags required for the execution of the kill command, environment, role, and name. 2017-12-02 15:52:56 -08:00
Renan DelValle
cc4c95d55a Initial commit of client. 2017-12-02 15:08:43 -08:00