laniakea-api-agent
Cloud deployment worker agent for the Laniakea orchestration platform. Consumes jobs from Redis queues and orchestrates VM provisioning via Terraform and Ansible.
Installation
pip install laniakea-api-agent
Configuration
Create a .env file in your working directory:
# Redis
REDIS_HOST=your-redis-host
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
# Laniakea API
LANIAKEA_API_URL=https://your-api-host:8443/laniakea_core/v1.0
AGENT_MASTER_PASSWORD=your-shared-secret
AGENT_ID=laniakea-agent-1
# Vault
VAULT_ADDR=https://your-vault:8200
VAULT_TOKEN=your-vault-token
# Logs
DEPLOYMENT_LOG_DIR=/var/log/laniakea-agent
Usage
# listen on openstack queue (default)
laniakea-agent
# listen on a specific queue
laniakea-agent --queue openstack
# listen on multiple queues
laniakea-agent --queue openstack --queue aws
# use a custom .env file
laniakea-agent --env /etc/laniakea/agent.env
Requirements
- Python 3.10+
- Docker (for Terraform containers)
- Ansible installed on the host
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
laniakea_api_agent-0.6.5.tar.gz
(31.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file laniakea_api_agent-0.6.5.tar.gz.
File metadata
- Download URL: laniakea_api_agent-0.6.5.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10055bee100f30f3c569c4bc0b30e4e310caad1e88eb334957979916589e02de
|
|
| MD5 |
a48f00c55cdae73b57a5d2f5e1202359
|
|
| BLAKE2b-256 |
dd7bd12e4e313f566140fbfb59f8389f0792c1a1da54d64446184bf7a9b8ebc4
|
File details
Details for the file laniakea_api_agent-0.6.5-py3-none-any.whl.
File metadata
- Download URL: laniakea_api_agent-0.6.5-py3-none-any.whl
- Upload date:
- Size: 43.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f08f3c6e8fce7a16b0323a38f5b2b63b90b2d5c43efb32cb448d15b904dce1
|
|
| MD5 |
ec7d038d6aa5aca98b516daf381ff217
|
|
| BLAKE2b-256 |
358060f3edf67bbc60c9c2f5770401904d5938f760cd7175c8cef0eb2ccea803
|