Is there a way to set for some shiny applications a deployment preference for a particular node in a running swarm back-end.
This makes sense when the docker swarm runs over heterogeneous nodes.
The solution can use the “Placement constraints” and/or " Placement preferences" docker swarm option ?
Maybe by providing an additional field in application.yml :
specs:
- id: 01_hello
container-cmd: [“R”, “-e”, “shinyproxy::run_01_hello()”]
container-image: openanalytics/shinyproxy-demo
access-groups: [scientists, mathematicians]
placement-pref: BigMemoryNode - id: 06_tabsets
container-cmd: [“R”, “-e”, “shinyproxy::run_06_tabsets()”]
container-image: openanalytics/shinyproxy-demo
access-groups: [scientists]
placement-pref: BigStorageNode