autonomy.deploy.generators.kubernetes.base
Script to create environment for benchmarking n agents.
KubernetesGenerator Objects
class KubernetesGenerator(BaseDeploymentGenerator)
Kubernetes Deployment Generator.
build_
agent_
deployment
def build_agent_deployment(runtime_image: str,
agent_ix: int,
number_of_agents: int,
agent_vars: Dict[str, Any],
agent_ports: Optional[Dict[int, int]] = None,
resources: Optional[Resources] = None) -> str
Build agent deployment.
generate_
config_
tendermint
def generate_config_tendermint() -> "KubernetesGenerator"
Build configuration job.
generate
def generate(image_version: Optional[str] = None,
use_hardhat: bool = False,
use_acn: bool = False) -> "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.