SessionContainer Class

Container definitions for the sessions of the session pool.

Constructor

SessionContainer(*args: Any, **kwargs: Any)

Variables

Name Description
image
str

Container image tag.

name
str

Custom container name.

command

Container start command.

args

Container start command arguments.

env

Container environment variables.

resources

Container resource requirements.

probes

List of probes for the container.

Attributes

args

Container start command arguments.

args: list[str] | None

command

Container start command.

command: list[str] | None

env

Container environment variables.

env: list['_models.EnvironmentVar'] | None

image

Container image tag.

image: str | None

name

Custom container name.

name: str | None

probes

List of probes for the container.

probes: list['_models.SessionProbe'] | None

resources

Container resource requirements.

resources: _models.SessionContainerResources | None