2 releases
| 0.1.1 | Oct 14, 2025 |
|---|---|
| 0.1.0 | Oct 14, 2025 |
#46 in #cluster
135KB
3K
SLoC
Polaris CLI
Command-line interface for the Polaris distributed compute framework.
Installation
cargo install eshanized-polaris-cli
Usage
Initialize a New Project
polaris init my-project
cd my-project
cargo run
Start a Local Development Cluster
polaris dev --nodes 3
Join an Existing Cluster
polaris join 10.0.0.1:7001
Submit a Job
polaris submit ./my-job --replicas 5
Check Cluster Status
polaris status
Stream Logs
# All logs
polaris logs
# Specific job
polaris logs job-123 --follow
Validate Configuration
polaris config validate cluster.toml
Generate Certificates
polaris cert generate --output ./certs
Commands
| Command | Description |
|---|---|
init |
Initialize a new Polaris project |
new |
Create a new cluster configuration |
dev |
Start a local development cluster |
join |
Join an existing cluster |
submit |
Submit a job to the cluster |
status |
Show cluster status |
logs |
Stream logs |
config |
Configuration validation |
cert |
Certificate management |
Configuration
The CLI looks for configuration in:
./polaris.toml~/.config/polaris/config.toml/etc/polaris/config.toml
License
MIT - See LICENSE for details.
Dependencies
~35–55MB
~894K SLoC