Commit graph

23 commits

Author SHA1 Message Date
lawwong1
a19c7e1fb5
API to get master nodes for mesos and aurora (#38) 2022-08-24 10:25:49 -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
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
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
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
6e6934a3d3
Adding Apache v2 license. 2019-03-25 17:36:24 -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
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
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
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
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
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
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
3341fe8e11
Adding fetch jobs command. Currently only takes into account the role. 2018-06-15 16:12:35 -07:00
Renan DelValle
becb32c7ff
Adding command to fetch leader given zookeeper endpoints. 2018-03-13 17:00:38 -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