runai-bgu delete Manual
Introduction
runai-bgu delete is a command-line interface (CLI) for deleting workloads on the BGU HPC cluster.
This command allows you to remove jobs that are no longer needed, freeing up cluster resources and cleaning up your workspace. The command automatically detects the workload type (workspace or training) and safely removes it from the cluster along with associated resources.
This manual explains how to use runai-bgu delete to remove workloads from the cluster.
Quick Start
To delete a workload, use:
$ runai-bgu delete my-workload
Deletes the specified workload from your default project.
Basic Usage
Understanding Delete Operation
When you delete a workload:
- Resource Release
-
All allocated CPU, memory, and GPU resources are immediately freed and returned to the cluster.
- Data Preservation
-
Data stored in persistent volumes remains intact, but temporary container storage is lost.
- Process Termination
-
All running processes within the workload are terminated.
- Network Cleanup
-
Associated network resources and port forwards are cleaned up.
Common Use Cases
Pre-Deletion Checklist
Before deleting a workload, consider:
- Save Important Data
-
Ensure any important results or logs are saved to persistent storage.
- Check Dependencies
-
Verify no other processes or team members depend on the workload.
- Review Logs
-
Extract any needed log information before deletion.
- Confirm Workload Name
-
Double-check the workload name to avoid accidental deletion.
Best Practices
Verify Workload Information
Always check workload details before deletion:
$ runai-bgu list
$ runai-bgu describe target-workload
$ runai-bgu delete target-workload
Save Important Output
Extract logs and results before deletion:
$ runai-bgu logs my-workload > workload-logs.txt
$ runai-bgu delete my-workload
Deletion Safety
Immediate Effect
Workload deletion is immediate and cannot be undone. The workload will:
-
Stop running immediately
-
Release all allocated resources
-
Remove associated network configurations
-
Clean up temporary storage
Troubleshooting Deletion
Alternative Actions
Before deleting, consider these alternatives:
- Suspend Instead
-
Use
runai-bgu suspendto temporarily stop the workload while preserving it for later use. - Resource Reduction
-
Some workload types allow resource modification without deletion.
- Scheduling Changes
-
Modify workload scheduling rather than deleting entirely.