Commit graph

41 commits

Author SHA1 Message Date
lenhattan86
fe664178ce
Add tier & production in task config (#14) 2021-10-15 12:18:26 -07:00
lenhattan86
425faf28b8
Adds priority for aurora-scheduler (#13)
Adds priority for task config
2021-09-16 16:29:25 -07:00
Renán I. Del Valle
02710e5434
Moving repository to aurora-scheduler organization. (#2)
gorealis v2 will now live in the aurora-scheduler organization
2020-02-19 11:40:40 -08:00
Renan DelValle
dbad078d95 Adding missing indirection for adding GPU requirements to task. 2019-09-25 17:20:30 -07:00
Robert Allen
c553f67d4e Adding support for PartitionPolicy. 2019-09-25 17:20:30 -07:00
Renan DelValle
e13349db26
Initial support for Thermos and GPU resources. 2019-01-07 14:39:47 -08:00
Renan DelValle
51597ecb32
Changing paths to refer to gorealis v2 in order for dependencies to be correct. 2018-12-27 10:09:22 -08:00
Renan DelValle
e1906542a6
Allowing task and job to return job keys. Job keys are now passed around as concrete types (not pointers) due to the possiblity of side effects being cause if pointers to job keys inside of another struct are passed around. Cloning now uses the TaskFromThrift method to do a deep copy of an AuroraTask. 2018-12-12 14:01:26 -08:00
Renan DelValle
98b4061513
Renamed Task to AuroraTask to avoid confusion with Mesos tasks. Added constants to access certain resources to avoid confusion and to ensure compile time safety. 2018-12-11 16:51:50 -08:00
Renan DelValle
5836ede37b
Splitting off Aurora task from Aurora Job since Update mechanism only needs task. 2018-12-10 18:57:16 -08:00
Renan DelValle
76300782ba
Renaming RealisClient to Client to avoid stuttering. Moving monitors under Client. Making configuration object private. Deleted legacy code to generate configuration object. 2018-12-08 08:57:15 -08:00
Renan DelValle
133938b307
Adding Tier. 2018-12-07 16:01:23 -08:00
Renan DelValle
7967270b3b
Refactoring NewJob to use struct literals for clarity. 2018-11-29 17:06:45 -08:00
Renan DelValle
59e3a7065e
Refactoring code to be compatible with Thrift 0.12.0 generated code. Tests are still not refactored. 2018-11-27 18:45:10 -08:00
Renan DelValle
8a9a97c150
Removing unnecessary interface from Aurora Job. 2018-11-22 12:22:26 -08:00
Renan DelValle
2eaa60f681
Support Drain SLA API (#88)
* Bringing thrift API up to date with Aurora 0.21.0.

* Adding support for SLA Drain Host API.
2018-11-16 11:41:09 -08:00
Renan DelValle
231793df71
Adding a separate function to add dedicated attributes. (#80)
Dedicated wrapper for "dedicated" constraints
2018-10-11 09:43:35 -07:00
Renan DelValle
8d445c1c77
Moving from govendor to dep, updated dependencies (#48)
* Moving from govendor to dep.

* Making the pull request template more friendly.

* Fixing akward space in PR template.

* goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")`

source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
2018-01-07 13:13:47 -08:00
PRADYUMNA KAUSHIK
9631aa3aab Specify field names when initializing structs (#47)
* Added field names to struct initializations.
2017-12-23 10:33:42 -08:00
PRADYUMNA KAUSHIK
ff545e8aa6 Fixing semantic errors in docs/getting-started.md (#44)
* fixed semantics. Earlier mentioned that 'Pystachio does yet support...'. Changed now to mention 'Pystachio does not yet support...'

* fixed grammatical mistake.

* Ran gofmt on project.
2017-12-22 08:53:05 -08:00
Renan DelValle
e614e04f27
Code cleanup, added ability to attach logger, added CreateService api
* Code cleanup: Deleted multiple functions which have become stale. Removed cluster example as we replaced the need to create the Cluster object.

* Cleaned up ZK connection code by using the backoff function. Added a test to the end to end to test that we're getting the host correctly from ZK. Changed clusters test to be an outside package.

* Added LeaderFromZKURL test to end to end tests.

* Added logger to realisConfig so that users can attach their own Loggers to the client. Logger is an interface that shadows most popular logging libraries. Only Print, Println, and Printf are needed to be a realis.Logger type. Example in the client uses the std library log.

* Moved most fmt.Print* calls to be redirected to user provided logger. Logger by default is a no-op logger.

* Adding CreateService to realis interface. Uses the StartJobUpdate API to create services instead of the createJobs API.

* Bumping up version number inside client in anticipation of new release.
2017-11-30 12:02:50 -08:00
Renan DelValle
a1350c6d55 out with the old (address) in with the new (address) 2017-10-12 17:11:01 -07:00
Renan DelValle
f301affdd0 Initializing CPU, RAM, and DISK resources to have an address when a new job object is created so that were able to modify the values when constructing job updates. 2017-09-18 16:10:10 -07:00
Renan DelValle
13cc103faa Changing AuroraJob to *AuroraJob in order to not create new objects so that UpdateJob is able to change parameters. 2017-09-14 16:38:26 -07:00
Renan DelValle
d7efa913b1 Initial support for Mesos Containerizer 2017-02-23 14:21:04 -05:00
Renan DelValle
3bf2e8a831 Updating zookeeper dependency since logging problem has been solved in main repository. Go fmt run on project to tidy it up. 2016-11-02 20:41:43 -04:00
Renan DelValle
76b404e087 Submission of docker containers without an executor (aka running container as a task) is now supported 2016-11-02 15:24:06 -04:00
Renan DelValle
66a2868aab Adding support for configuring tasks with Docker Containers 2016-11-01 21:24:15 -04:00
Renan DelValle
15c2472ffd API for scheduling, descheduling, and starting cron jobs has been created. New response helper added for ScheduleStatusResult. 2016-09-30 01:24:49 -04:00
Renan DelValle
3a78e32e27 Changing location from where to get thrift bidnings to that it points to github location. Ran go fmt on the entire project. 2016-09-19 15:34:56 -04:00
Renan DelValle
928fc42fc2 Updated thrift API to the latest in the Aurora respository.
Added new monitors for watching number of instances get to a certain count using polling.
Added new commands to sample client which give some statistics.
2016-08-26 16:35:31 -07:00
Renan DelValle
dba42611d7 Added Job interface 2016-08-24 11:59:01 -07:00
Renan DelValle
e3c5a8c6be Changing prefix of un-named ports 2016-08-15 12:33:17 -07:00
Renan DelValle
c610974208 Moved Realis to be an interface for future testing classes. Removed AddURI API as AddURIs is able to do the same thing 2016-08-12 12:48:42 -07:00
Misho Krastev
80f11cf78b minor corrections to documentation and comments 2016-08-11 21:21:47 -07:00
Renan DelValle
403abcd684 Adding ability to add named ports to job configuration 2016-08-10 11:59:04 -07:00
Renan DelValle
bf890bf9b0 Updating documentation for release
Moving godoc reference button

changing casing of top title
2016-08-09 16:20:40 -07:00
Renan DelValle
a83956cb24 Minor style changes 2016-08-09 13:31:15 -07:00
Renan DelValle
93297f8c1a Shortening API 2016-08-02 13:06:36 -07:00
Renan DelValle
ab057e793b Shortening API by removing redundant words 2016-08-02 11:53:44 -07:00
Renan DelValle
327c6c369d Public release of gorealis 2016-08-02 11:42:00 -07:00