-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New Scheduler] Run scheduler (#5194)
* Add Akka-cluster dependency * Update configurations to run the new scheduler. * Add gRPC handlers for activations. * Update Ansible scripts to run the new scheduler. * Increase the queue creation request timeout. * Add scheduler the ansible role. * Fix typo. * Change the loglevel config to logback's one. * Change the topic name * Remove unnecessary configs * Add a guide how to deploy the new scheduler. * Make ActorSystem for each test bind to a free port.
- Loading branch information
Showing
22 changed files
with
698 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# Remove scheduler containers. | ||
|
||
- name: get scheduler name | ||
set_fact: | ||
scheduler_name: "{{ name_prefix ~ host_group.index(inventory_hostname) }}" | ||
|
||
- name: remove scheduler | ||
docker_container: | ||
name: "{{ scheduler_name }}" | ||
state: absent | ||
ignore_errors: "True" | ||
|
||
- name: remove scheduler log directory | ||
file: | ||
path: "{{ whisk_logs_dir }}/{{ scheduler_name }}" | ||
state: absent | ||
become: "{{ logs.dir.become }}" | ||
|
||
- name: remove scheduler conf directory | ||
file: | ||
path: "{{ scheduler.confdir }}/{{ scheduler_name }}" | ||
state: absent | ||
become: "{{ scheduler.dir.become }}" |
Oops, something went wrong.