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