Skip to main content

GridFleet agent — runs on each host

Project description

GridFleet Agent

gridfleet-agent is the host-side service package for GridFleet device hosts.

This package currently provides the runnable agent service entry point:

gridfleet-agent serve

It also provides a safe installer preview:

gridfleet-agent install --dry-run --manager-url http://manager.example.com:8000

The dry run performs host-tool discovery and renders the planned config.env and service definition without writing files or starting services.

Real installs use a dedicated virtual environment under /opt/gridfleet-agent/venv:

python3 -m venv /opt/gridfleet-agent/venv
/opt/gridfleet-agent/venv/bin/pip install gridfleet-agent
/opt/gridfleet-agent/venv/bin/gridfleet-agent install --no-start --manager-url http://manager.example.com:8000

--no-start writes the config and service files but does not enable or start the host service yet.

To also enable/start the service and poll local health:

/opt/gridfleet-agent/venv/bin/gridfleet-agent install --start --manager-url http://manager.example.com:8000

After local health passes, --start also checks whether the host appears in the manager host list. Pending registration is reported as a warning because host approval may still require operator action.

For a one-command bootstrap from a release checkout or raw GitHub URL:

VERSION=0.3.0 sudo -E bash scripts/install-agent.sh --manager-url http://manager.example.com:8000

Inspect local installation state without changing anything:

gridfleet-agent status

The status command reads config.env, checks the local service manager when available, polls local health, and redacts stored secrets.

Upgrade the dedicated agent venv package and restart the host service:

sudo -E /opt/gridfleet-agent/venv/bin/gridfleet-agent update --to 0.3.0

The update command waits for local Appium nodes reported by /agent/health to drain before upgrading the package or restarting the service. Use gridfleet-agent update --dry-run --to 0.3.0 to preview the drain, pip upgrade, service restart, and local health-check steps.

Uninstall requires explicit confirmation:

gridfleet-agent uninstall --yes

Use --keep-config or --keep-agent-dir when you want to preserve local configuration or downloaded runtime state.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gridfleet_agent-0.1.0.tar.gz (184.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gridfleet_agent-0.1.0-py3-none-any.whl (80.9 kB view details)

Uploaded Python 3

File details

Details for the file gridfleet_agent-0.1.0.tar.gz.

File metadata

  • Download URL: gridfleet_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 184.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gridfleet_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 857c3bb050b4948d30638cdf1d1763075d838ab533724bbbc28541bf85a7643d
MD5 14467824034cca9c27d0d27182a2faa0
BLAKE2b-256 045058e4a0ab2420ed06b7c3e0c8cee4d46c0f0e0582565136a65e523b3f2799

See more details on using hashes here.

Provenance

The following attestation bundles were made for gridfleet_agent-0.1.0.tar.gz:

Publisher: publish-agent.yml on quidow/gridfleet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gridfleet_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gridfleet_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 891801d14cb45507e9791ad37c2e2530ff2f438a218bf9b423a0ac217790d4b8
MD5 f7c1cd048d445fa69b7da76aa03769d7
BLAKE2b-256 7f16198d0391aa538d9cc19f453300102880658704f570d3a5add33173662331

See more details on using hashes here.

Provenance

The following attestation bundles were made for gridfleet_agent-0.1.0-py3-none-any.whl:

Publisher: publish-agent.yml on quidow/gridfleet

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page