monitor_spot_availability
Monitor GPU spot instance availability and optionally deploy automatically when resources become available. Polls Verda Cloud using configurable intervals and parameters for GPU type, count, and deployment settings.
Instructions
Monitor for spot GPU availability and optionally auto-deploy when available.
Polls using the official Verda SDK is_available() method until a spot becomes available.
Args: gpu_type: GPU type to monitor (default from config). gpu_count: Number of GPUs (default from config). check_interval: Seconds between checks (default: 30). max_checks: Maximum number of checks before giving up (default: 60 = 30 min). auto_deploy: If True, automatically deploy when available (default: False). volume_id: Volume to attach if auto-deploying (default from config). script_id: Startup script if auto-deploying (default from config).
Returns: Status updates and deployment info if auto_deploy is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu_type | No | ||
| gpu_count | No | ||
| check_interval | No | ||
| max_checks | No | ||
| auto_deploy | No | ||
| volume_id | No | ||
| script_id | No |