Configuration
Mesos
export MESOS_MASTER=mesos-master.example.test:5050
export MESOS_SSL=true
export MESOS_VERIFY_SSL=true
export MESOS_USERNAME=principal-from-secret-store
export MESOS_PASSWORD=secret-from-secret-store
export MESOS_FRAMEWORK_ROLE=tensorflow
MESOS_SSL=true uses HTTPS for Mesos URLs; otherwise HTTP is used. MESOS_VERIFY_SSL controls certificate verification and defaults to enabled. Disable verification only in a controlled internal test environment.
Resources and image
Jobs must contain at least name and num; cpus, mem, and gpus are optional. The Docker image is read from DOCKER_IMAGE, defaulting to avhost/tensorflow-mesos:latest. Offer placement can be constrained with MESOS_ATTRIBUTES in the form key:value.
Task API
The task uses TFMESOS2_CLIENT_USERNAME, TFMESOS2_CLIENT_PASSWORD, TFMESOS2_VERIFY_SSL, and TFMESOS2_REQUEST_TIMEOUT. The default HTTP request timeout is 30 seconds.