-
Notifications
You must be signed in to change notification settings - Fork 9
PLAT-620 Add JeMPI services #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
3e472d2
added more jempi services base compose files
Mark-Labuschagne ec4a700
missed service name prefix for rate
Mark-Labuschagne 67f3763
combined some services into one compose file
Mark-Labuschagne 54ac2d1
swarm.sh changes to launch some services
Mark-Labuschagne 1eaaf89
aligned kafka topics with JeMPI repo
Mark-Labuschagne c219609
removed accidentally inserted code
Mark-Labuschagne bb25206
added jempi-api to MPI package
Mark-Labuschagne 00521f9
loop through service names for jempi
Mark-Labuschagne 182f3a0
JeMPI launches dgraph-zero first
Mark-Labuschagne 8cf0da7
jeMPI package in config.yml
Mark-Labuschagne 93f4846
prefixed env vars with JEMPI_
Mark-Labuschagne 0ece303
Merge branch 'main' into PLAT-620-add-jempi-services
Mark-Labuschagne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,9 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-api: | ||
| ports: | ||
| - published: 50000 | ||
| target: 50000 | ||
| protocol: tcp | ||
| mode: host |
This file contains hidden or 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,12 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-api: | ||
| image: jembi/jempi-api:${API_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${API_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${API_MEMORY_RESERVE} |
This file contains hidden or 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,23 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-sync-receiver: | ||
| ports: | ||
| - published: 50040 | ||
| target: 50000 | ||
| protocol: tcp | ||
| mode: host | ||
|
|
||
| jempi-controller: | ||
| ports: | ||
| - published: 50020 | ||
| target: 50000 | ||
| protocol: tcp | ||
| mode: host | ||
|
|
||
| jempi-linker: | ||
| ports: | ||
| - published: 50010 | ||
| target: 50000 | ||
| protocol: tcp | ||
| mode: host |
This file contains hidden or 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,62 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-async-receiver: | ||
| image: jembi/jempi-async-receiver:${ASYNC_RECEIVER_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${ASYNC_RECEIVER_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${ASYNC_RECEIVER_MEMORY_RESERVE} | ||
|
|
||
| jempi-sync-receiver: | ||
| image: jembi/jempi-sync-receiver:${SYNC_RECEIVER_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${SYNC_RECEIVER_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${SYNC_RECEIVER_MEMORY_RESERVE} | ||
|
|
||
| jempi-pre-processor: | ||
| image: jembi/jempi-pre-processor:${PRE_PROCESSOR_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${PRE_PROCESSOR_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${PRE_PROCESSOR_MEMORY_RESERVE} | ||
|
|
||
| jempi-controller: | ||
| image: jembi/jempi-controller:${CONTROLLER_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${CONTROLLER_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${CONTROLLER_MEMORY_RESERVE} | ||
|
|
||
| jempi-em-calculator: | ||
| image: jembi/jempi-em-calculator:${EM_CALCULATOR_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${EM_CALCULATOR_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${EM_CALCULATOR_MEMORY_RESERVE} | ||
|
|
||
| jempi-linker: | ||
| image: jembi/jempi-linker:${LINKER_IMAGE_TAG} | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${LINKER_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${LINKER_MEMORY_RESERVE} |
This file contains hidden or 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 hidden or 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 hidden or 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,8 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-zero-01: | ||
| deploy: | ||
| placement: | ||
| constraints: | ||
| - node.hostname == node-1 |
This file contains hidden or 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,13 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-zero-01: | ||
| ports: | ||
| - published: 5080 | ||
| target: 5080 | ||
| protocol: tcp | ||
| mode: host | ||
| - published: 6080 | ||
| target: 6080 | ||
| protocol: tcp | ||
| mode: host |
This file contains hidden or 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,21 @@ | ||
| version: '3.9' | ||
|
|
||
| services: | ||
| jempi-zero-01: | ||
| image: dgraph/dgraph:v22.0.0 | ||
| volumes: | ||
| - jempi-zero-01-data:/dgraph | ||
| deploy: | ||
| replicas: 1 | ||
| resources: | ||
| limits: | ||
| memory: ${ZERO_01_MEMORY_LIMIT} | ||
| reservations: | ||
| memory: ${ZERO_01_MEMORY_RESERVE} | ||
| restart_policy: | ||
| condition: on-failure | ||
| command: dgraph zero --my=jempi-zero-01:5080 --replicas 1 | ||
|
|
||
| volumes: | ||
| jempi-zero-01-data: | ||
|
|
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.