yr.config.DeploymentConfig

Contents

yr.config.DeploymentConfig#

class yr.config.DeploymentConfig(cpu: int = 0, mem: int = 0, datamem: int = 0, spill_path: str = '', spill_limit: int = 0)[source]#

Bases: object

AutoDeploymentConfig.

Attributes

cpu

cpu acquired, the unit is millicpu.

datamem

data system mem acquired (MB).

mem

mem acquiored (MB).

spill_limit

spill size limit (MB).

spill_path

spill path, when out of memory will flush data to disk.

Methods