yr.config.GroupOptions.strategy

yr.config.GroupOptions.strategy#

GroupOptions.strategy: str = ''#

The strategy to create the group None: No strategy. SPREAD: Distribute multiple instances across different nodes as much as possible. STRICT_PACK: All instances must be placed on the same node, otherwise creation fails. PACK: Pack multiple instances into the same node as much as possible. STRICT_SPREAD: All instances must be placed on different nodes, otherwise creation fails. Default: None.