Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/project-codeflare/codeflare-cli
https://github.com/project-codeflare/codeflare-cli
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/project-codeflare/codeflare-cli
- Owner: project-codeflare
- License: apache-2.0
- Created: 2022-05-27T13:30:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T16:39:24.000Z (about 1 year ago)
- Last Synced: 2024-05-07T18:28:46.526Z (8 months ago)
- Language: TypeScript
- Size: 7.5 MB
- Stars: 12
- Watchers: 2
- Forks: 12
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![CLI Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/cli.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/cli.yml)
[![UI Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/ui.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/ui.yml)
[![Kube Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/kind.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/kind.yml)
[![Self-test Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/self-test.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/self-test.yml)# The CodeFlare CLI
[CodeFlare](https://codeflare.dev) simplifies the integration, scaling
and acceleration of complex multi-step analytics and machine learning
pipelines on the cloud.This repository houses the CodeFlare CLI, `codeflare`, which helps
you to submit and observe jobs in a Kubernetes cluster.[Check out some use cases in motion](./docs/scenarios/README.md#readme).
## How `codeflare` Works
The `codeflare` CLI is programmed with a set of tasks. Each task knows
how to **guide** you through the complexities of running against a
remote cluster. For example, `codeflare` tasks include submitting a
Ray job to a Kubernetes cluster, or observing such a running job.The way `codeflare` guides you is by asking you questions. It tries
to formulate each question as a choice from a list of
possibilities. In this example, it attempts to list your available
Kubernetes clusters, and you need only select from that list. It does
the same kind of thing for S3 data (e.g. showing you a list of
available S3 buckets). Some questions require more free-form
responses. For example, when asking for the resource requirements of
your job, it presents a form that you can edit to specify how many
GPUs you need.### Managing Profiles
The `codeflare` CLI remembers your answers to these questions in a
**profile**. This allows you to easily re-run a task using the same
answers as before: `codeflare -y/--yes`, which auto-accepts your prior
answers, as long as those answers are still valid. To run with a
profile name of your choosing, use the `-p/--profile` command line
option. In doing so, you may thus quickly switch between variants,
e.g. different input data, or different Kubernetes clusters.To manage your profiles, use the `codeflare profile
` command lines.## Installation
Visit the
[Releases](https://github.com/project-codeflare/codeflare-cli/releases/latest)
page. Download the package for your platform, unpack it, and place the
enclosed `bin/` directory on your `PATH`. macOS users may use
[HomeBrew](https://brew.sh/):brew tap project-codeflare/codeflare-cli https://github.com/project-codeflare/codeflare-cli
brew install codeflare## Contributing
Want to help out? Check out the [developer guide](./docs/development/README.md).