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:
objectAutoDeploymentConfig.
Attributes
cpu acquired, the unit is millicpu.
data system mem acquired (MB).
mem acquiored (MB).
spill size limit (MB).
spill path, when out of memory will flush data to disk.
Methods