v1.0.17 - Comprehensive Cluster Management
What's Changed
π New Features
- Comprehensive cluster management: Automatically start existing cluster or create new one if needed
- Smart cluster state detection: Checks if cluster is TERMINATED, RUNNING, or in other states
- Enhanced debugging: Detailed logging of cluster operations and states
π Technical Details
- Cluster existence check: Uses to find existing cluster
- State-aware management:
- If TERMINATED β Starts the cluster
- If RUNNING β Leaves it running
- If doesn't exist β Creates new cluster with full configuration
- Automatic cluster creation: Uses with JSON configuration
- Extended wait time: 90 seconds for cluster readiness
π‘ Why This Solves the Issue
The previous approach only tried to start existing clusters. This new approach:
- β Checks if cluster exists - Uses proper JSON parsing
- β Handles all cluster states - TERMINATED, RUNNING, etc.
- β Creates cluster if missing - Full configuration with On-Demand instances
- β Provides detailed logging - Shows exactly what's happening
This release should ensure a cluster is always available and running for the app deployment.