Setup
Installation and Credentials Setup
These steps should be completed after receiving access to a Trainy k8s cluster.
Installation
We maintain a nightly build of our latest client on PyPi konduktor-nightly
(Optional) Setup Cloud Storage Credentials
We currently support the following cloud object stores for syncing files —> workloads with more incoming!
- Google Cloud Storage
gs
- Supported ✅ - Amazon S3
s3
- Supported ✅ - Cloudflare R2
r2
- Coming soon 🚧
Google Cloud Storage Requirements
-
Install with
pip install konduktor-nightly
-
Check that your GCP user or service account has the minimal GCP permissions.
-
Ensure that
~/.konduktor/config.yaml
is configured correctly for GS:
-
Use local credentials OR set env variables: Coming soon 🚧
-
Confirm your GS credentials and setup with:
Amazon S3 Requirements
-
Install with
pip install konduktor-nightly[s3]
-
Check that your AWS user has the minimal AWS user permissions.
-
Ensure that
~/.konduktor/config.yaml
is configured correctly for S3:
- Use local
~/.aws/
credentials OR set env variables:
~/.aws/config
~/.aws/credentials
OR
- Confirm your S3 credentials and setup with:
(Optional) Setup Private Container Registry Credentials
To have your Trainy jobs use images from private container registries (k8s docs), work with your Trainy administrator to set your registry credentials and set the following in ~/.konduktor/config.yaml