README.md

December 15, 2021 · View on GitHub

Build Status Coverage Status License

The kiosk-autoscaler turns on GPU resources when they are required and turns them back off when they are not needed, minimizing GPU costs for the DeepCell Kiosk.

This repository is part of the DeepCell Kiosk. More information about the Kiosk project is available through Read the Docs and our FAQ page.

Configuration

The Autoscaler is configured using environment variables. Please find a table of all environment variables and their descriptions below.

NameDescriptionDefault Value
RESOURCE_NAMEREQUIRED: The name of the resource to scale.""
RESOURCE_TYPEThe resource type of RESOURCE_NAME, one of "deployment" or "job"."deployment"
RESOURCE_NAMESPACEThe Kubernetes namespace of RESOURCE_NAME."default"
QUEUESA QUEUE_DELIMITER separated list of work queues to monitor."predict,track"
QUEUE_DELIMITERA string used to separate a list of queue names in QUEUES.","
INTERVALHow frequently the autoscaler checks for required resources, in seconds.5
REDIS_HOSTThe IP address or hostname of Redis."redis-master"
REDIS_PORTThe port used to connect to Redis.6379
REDIS_INTERVALTime to wait between Redis ConnectionErrors, in seconds.1
MAX_PODSThe maximum number of pods to scale up. Should be 1.1
MIN_PODSThe minimum number of pods to scale down. Should be 0.0
KEYS_PER_PODThe number of work keys per instance of RESOURCE_NAME. Should be 1.1

Contribute

We welcome contributions to the kiosk-console and its associated projects. If you are interested, please refer to our Developer Documentation, Code of Conduct and Contributing Guidelines.

License

This software is license under a modified Apache-2.0 license. See LICENSE for full details.

Copyright © 2018-2021 The Van Valen Lab at the California Institute of Technology (Caltech), with support from the Paul Allen Family Foundation, Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. All rights reserved.