runai-bgu config Manual
Introduction
runai-bgu config is a command-line interface (CLI) for setting the default project on the BGU HPC cluster.
This command allows you to configure which project will be used by default for all subsequent runai-bgu operations, eliminating the need to specify the project flag repeatedly. This simplifies workflow management and reduces the chance of submitting workloads to the wrong project.
This manual explains how to use runai-bgu config to set your default project configuration.
Quick Start
To set your default project, use:
$ runai-bgu config my-project
Sets the specified project as your default for all future commands.
Basic Usage
Understanding Default Project
Setting a default project affects:
- Command Behavior
-
All runai-bgu commands will use this project unless overridden with the
-pflag. - Workload Submission
-
New workloads will be submitted to this project by default.
- Resource Visibility
-
Commands like
listanddescribewill show resources from this project by default. - Access Control
-
You must have appropriate permissions in the project to set it as default.
Common Use Cases
Workflow Integration
Troubleshooting Configuration
Project Not Found
If you receive an error that the project doesn’t exist:
$ runai-bgu projects # Verify project name and access
Check the project name spelling and ensure you have access permissions.
Best Practices
- Choose Actively Used Projects
-
Set your most frequently used project as the default to minimize command complexity.
- Regular Review
-
Periodically review and update your default project as your work focus changes.
- Team Coordination
-
When working on shared projects, coordinate with team members about project usage.
- Documentation
-
Keep track of which projects you use for different types of work.
Configuration Persistence
The default project setting:
- Persistent Storage
-
Configuration is stored in your local runai configuration files.
- Session Independence
-
The setting persists across login/logout cycles and terminal sessions.
- User-Specific
-
Each user maintains their own default project configuration.
- Override Capability
-
Individual commands can override the default using the
-pflag.