Skip to main content

Overview

The Stop Cluster endpoint allows you to stop running GPU clusters either gracefully (allowing running processes to complete) or forcefully (immediate termination). This is essential for cost management, maintenance, and resource optimization.

Endpoint

Path Parameters

Request Body

Request Examples

Response Schema

Stop Progress Phases

When stopping clusters, the system goes through several phases:

Use Cases

Cost Optimization

Automatically stop idle clusters to save costs.

Scheduled Maintenance

Stop clusters for scheduled maintenance windows.

Training Completion Handler

Stop training clusters when jobs complete with proper state preservation.

Batch Cluster Management

Stop multiple clusters with different strategies based on their usage patterns.

Error Handling

Security Considerations

  • Data Protection: Always preserve important data before stopping clusters
  • Process Safety: Use appropriate grace periods for critical workloads
  • Access Control: Verify permissions before stopping shared clusters
  • Audit Logging: Include stop reasons for compliance and troubleshooting

Best Practices

  1. Graceful Shutdown: Always prefer graceful stops over forced termination
  2. State Preservation: Create snapshots for important work states
  3. Cost Monitoring: Use stop operations for effective cost management
  4. Communication: Notify team members before stopping shared clusters
  5. Automation: Implement intelligent stopping based on usage patterns
  6. Data Backup: Ensure critical data is backed up before stopping clusters