Skip to content

autonomy.deploy.generators.kubernetes.base

Script to create environment for benchmarking n agents.

KubernetesGenerator Objects

class KubernetesGenerator(BaseDeploymentGenerator)

Kubernetes Deployment Generator.

__init__

def __init__(service_spec: ServiceSpecification, build_dir: Path, dev_mode: bool = False, packages_dir: Optional[Path] = None, open_aea_dir: Optional[Path] = None, open_autonomy_dir: Optional[Path] = None) -> None

Initialise the deployment generator.

build_agent_deployment

def build_agent_deployment(runtime_image: str, agent_ix: int, number_of_agents: int, agent_vars: Dict[str, Any]) -> str

Build agent deployment.

generate_config_tendermint

def generate_config_tendermint() -> "KubernetesGenerator"

Build configuration job.

generate

def generate(image_version: Optional[str] = None) -> "KubernetesGenerator"

Generate the deployment.

write_config

def write_config() -> "KubernetesGenerator"

Write output to build dir

populate_private_keys

def populate_private_keys() -> "BaseDeploymentGenerator"

Populates private keys into a config map for the kubernetes deployment.

Back to top