Categories

Versions

You are viewing the RapidMiner Server documentation for version 9.1 - Check here for latest version

Docker image for Job Agent

The documentation below describes the following Docker image:

  • Job Agent for RapidMiner Server 9.1 (rapidminer-execution-jobagent)

For the latest Docker images and documentation released by RapidMiner, see Docker Hub.

Description

This image contains a Job Agent that can be attached to any RapidMiner Server with a matching version number.

Environment variables

The Job Agent accepts the following environment variables during startup:

  • RMSERVER_HOST: the hostname of RapidMiner Server
  • ACTIVEMQ_HOST: the hostname of the Active MQ (usually embedded in RapidMiner Server)
  • JOBAGENT_AUTH_SECRET: The auth secret used to authenticate to RapidMiner Server
  • JC_COUNT: The number of Job Containers assigned to the Job Agent
  • JOB_QUEUE: The name of the queue the Job Agent connects to
  • JOBAGENT_CONTAINER_MEMORYLIMIT: The amount of memory provided to the Job Containers

Volumes

The Job Agent requires a volume to be mounted and a valid license installed in the folder /rapidminer-jobagent/home/resources/licenses.

Docker-compose example configuration

The following example docker-compose.yml file can be used with docker-compose:

version: '3'
services:
  job-agent:
    image: rapidminer/rapidminer-execution-jobagent:9.1.0
    environment:
      - RMSERVER_HOST=host.of.the.rapidminer.server
      - ACTIVEMQ_HOST=host.of.the.rapidminer.server
      - JOBAGENT_AUTH_SECRET=some-auth-secret
      - JC_COUNT=1
      - JOB_QUEUE=DEFAULT
      - JOBAGENT_CONTAINER_MEMORYLIMIT=2048M
    volumes:
      - /path/to/licenses:/rapidminer-jobagent/home/resources/licenses