Commit graph

49 commits

Author SHA1 Message Date
ananaysingh
b0743636a1
KillTask API (#37) 2022-08-18 10:27:57 -07:00
lawwong1
2c703978bb
given a task status, list all tasks that have that status in the cluster (#35) 2022-08-15 13:35:04 -07:00
nhatle
47644c13c2 release 1.0.4 2022-08-02 10:48:45 -07:00
Tan N. Le
14691698f6
fetch capacity and simulate task fitting (#33) 2022-08-02 10:37:31 -07:00
Renán Del Valle
154a4e1e87
v1.0.2 Release 2021-01-11 17:59:13 -08:00
lenhattan86
2f05111192
Fetch mesos leader through zookeeper (#19)
Adds support for fetching current Mesos leader through Zookeeper
2020-11-17 12:39:51 -08:00
Renan DelValle
cea39ddd88
Fixing all files to conform with goimports. 2020-10-14 20:46:50 -07:00
Renan DelValle
7967188513
Fixing issue where duration variable was accidentally multiplied by seconds again. 2020-10-14 20:17:43 -07:00
lenhattan86
bb370151e6
Add gorealis timeout flag (#14)
Flag was added to control gorealis timeout
2020-10-08 09:01:56 -07:00
Renan DelValle
2a76e3e2b4
1.0.1 release 2020-09-30 16:47:53 -07:00
Renan DelValle
deaddd2953
Bumping up release number in root.go so that version command returns the right version. Fixing some bugs in the debian packaging scripts. Bumping up golang version we're building with to 1.15.2 2020-09-30 16:34:02 -07:00
lenhattan86
5efbbce6c7
skip monitoring create/kill jobs (#13)
Added flag -m and --monitor that can be set in order to monitor a job creation or a job kill. By default monitor is set to true.
2020-09-30 16:32:53 -07:00
Renan DelValle
d7db155d88
Refactoring project to be more similar to other go project. 2020-05-07 10:09:45 -07:00
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 DelValle
08c68935e7
Changing version to unreleased 0.1.1 2020-02-10 12:05:32 -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 DelValle
d63c719cef
Bumping up version to unreleased 0.0.10 2020-01-29 16:18:25 -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
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
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
ef935d58b8
Bumping up version for release. 2019-03-21 12:34:01 -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
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
7a1251853b
Adding ability to use a config file in order to reduce command length. 2018-10-23 23:32:28 -07:00
Renan DelValle
e4554309f4
Using builtin cobra version function. 2018-10-23 16:52:29 -07:00
Renan DelValle
112f172c64
Adding version command. 2018-10-23 15:24:29 -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
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
51daad88eb
Adding interval and timeout flags for start and stop drain. 2018-05-30 18:15:16 -07: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
0a93854a52
Upgrading to latest gorealis. 2018-03-13 17:00:13 -07: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
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
a097ba092d Root changed to not run anything. 2017-12-02 15:53:29 -08:00
Renan DelValle
cc4c95d55a Initial commit of client. 2017-12-02 15:08:43 -08:00