ProcessConfig

tasks.elastic.process.ProcessConfig

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def contexts: Seq[Config]

The Config object must have the following fields:

The Config object must have the following fields:

  • context: String
  • hostname: String,
  • externalHostname: String, optional, defaults to None
  • cpu: Int, optional, defaults to 1
  • memory: Int, optional defaults to 2000
  • scratch: Int, optional, defaults to 20000
  • gpu: Seq[Int], optional, defaults to Nil

context is the handle which is passed to the spawn and shutdown commands

hostname is the hostname to which the spawn process will bind externalHostname is the hostname to which the spawn process will bind and is reachable from outside of the system. This is relevant if there are multiple NICs

Attributes