CLI client tool for deploying workloads to Racetrack
Project description
Racetrack client context
racetrack-client is a CLI client tool for deploying workloads to Racetrack.
Racetrack system allows to deploy jobs in a one step. It transforms your code to in-operation workloads, e.g. Kubernetes workloads. You write some code according to a set of coventions, you include the manifest file which explains the code, and you submit it to Racetrack. A short while after, the service calling your code is in operation.
Quickstart
- Install
racetrackclient:pip3 install racetrack-client - Configure access token to your git repository:
racetrack config credentials set REPO_URL USERNAME TOKEN - Deploy your job to Racetrack:
racetrack deploy . https://racetrack.platform.example.com/lifecycle - You will see the URL of your deployed job in the output.
Installation
Install racetrack-client using pip:
pip3 install racetrack-client
Python 3.8+ is required. So if you have any troubles, try with:
sudo apt install python3.8 python3.8-dev python3.8-venv
python3.8 -m pip install racetrack-client
This will install racetrack CLI tool. Verify installation by running racetrack.
Usage
Run racetrack --help to see usage.
Deploying
To deploy a job, just run in the place where fatman.yaml is located:
racetrack deploy . https://racetrack.platform.example.com/lifecycle
racetrack deploy [WORKDIR] [RACETRACK_URL] has 2 optional arguments:
WORKDIR- a place where thefatman.yamlis, by default it's current directoryRACETRACK_URL- URL address to Racetrack server, where a job should be deployed. If not given, it will be deployed to a URL configured in a local client config, by default it's set to a local cluster athttp://localhost:7002.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file racetrack-client-2.6.0.tar.gz.
File metadata
- Download URL: racetrack-client-2.6.0.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
256409a873765f0d63133ffb4872da56fc85cdbd123f19f991bd1b914ef8b267
|
|
| MD5 |
7677cfc529c710ecb4c197b505eb10d8
|
|
| BLAKE2b-256 |
116c148e38e22aa2ec2096b384be4e4cef826b098174e9e22c9f04267e76df9a
|
File details
Details for the file racetrack_client-2.6.0-py3-none-any.whl.
File metadata
- Download URL: racetrack_client-2.6.0-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4456ca991e931f4a64f5e42952c1dcc587dff4f28159721cedf1d9ef483df18
|
|
| MD5 |
f7c10723c11daa66021860ca3326e520
|
|
| BLAKE2b-256 |
0bbc951c7b6ddcbcfbce4846461a19704fd38cc4572ba361047ff12351b8ce61
|