Commit graph

91 commits

Author SHA1 Message Date
lawwong1
464db4e5cc
Implement Australis api to restart a task (#43) 2022-09-22 20:05:19 -07:00
ananaysingh
589e337e28
Updated kill.go (#42)
in killTask function, null check removed for instances, as it is a mandatory parameter in the killTask command. Also made changes to improve language consistency
2022-09-15 10:37:02 -07:00
nhatle
b08640f26a fix duplicated flags -i 2022-08-31 15:04:55 -07:00
nhatle
3d49194ccd release 1.0.5 2022-08-31 13:44:08 -07:00
lawwong1
a19c7e1fb5
API to get master nodes for mesos and aurora (#38) 2022-08-24 10:25:49 -07:00
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
lenhattan86
23e9c904d6
Adds fetch quota command (#24) 2021-09-16 18:36:42 -07:00
Renán Del Valle
154a4e1e87
v1.0.2 Release 2021-01-11 17:59:13 -08:00
Abdul Qadeer
b21211552f
Default to local Mesos agent if no ZK nodes are provided (#20)
* Update go version

* Fetches master flag from local mesos agent in order to get current leader from ZK if no arguments are provided.
2020-12-01 09:49:03 -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
d5d19cf448
Changing default value of monitor to true. 2020-09-30 16:46:14 -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
2df6672acc
Adding schedule command to schedule cron jobs.
Adding example of a cron job.

Removing functions since they've been moved elsewhere.
2020-05-07 16:28:55 -07:00
Renán I. Del Valle
4806936c71
Adding ability to start an update (#12)
* Adding ability to start an update.

* Refactoring Job parsing code to be re-usable.
2020-05-07 15:40:22 -07:00
Renan DelValle
d7db155d88
Refactoring project to be more similar to other go project. 2020-05-07 10:09:45 -07:00
Renan DelValle
bbccabcd27
Moving internal types to the right location. 2020-05-06 18:30:22 -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
b65ac55c1c
Adding the ability to pulse a job update. 2019-12-05 17:50:50 -08:00
Renan DelValle
68cea84182
Adding the ability to resume a paused update. 2019-10-23 12:59:15 -07:00
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