Skip to main content

Module clients.h2o_engine_profile.h2o_engine_profile_config

Classes

H2OEngineProfileConfig

class H2OEngineProfileConfig(h2o_engine_profile_id: str, node_count_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, cpu_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, gpu_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, memory_bytes_constraint: h2o_engine_manager.clients.constraint.profile_constraint_numeric.ProfileConstraintNumeric, max_idle_duration_constraint: h2o_engine_manager.clients.constraint.profile_constraint_duration.ProfileConstraintDuration, max_running_duration_constraint: h2o_engine_manager.clients.constraint.profile_constraint_duration.ProfileConstraintDuration, display_name: str = '', priority: int = 0, enabled: bool = True, assigned_oidc_roles_enabled: bool = True, assigned_oidc_roles: Optional[List[str]] = None, max_running_engines: Optional[int] = None, yaml_pod_template_spec: str = '', yaml_gpu_tolerations: str = '')

H2OEngineProfile configuration used as input for apply method.

Methods

to_h2o_engine_profile

def to_h2o_engine_profile(self)

Feedback