- Python 3.10: Ensure that Python 3.10 is installed on your system before running the application.
- kubectl installed and configured for your cluster
cd mlops-toolkit
make proto
- You should have configured your kubectl to connect to the k8s cluster.
- Make sure you have selected the correct cluster
kubectl config set current-context <name-of-oyour-cluster>
- Run the download_certs.sh script.
./scripts/download_certs.sh [MLOPS_PREFIX] [MLOPS_K8_NAMESPACE]
ex: For xy-test platform instances
./scripts/download_certs.sh mlops default
Verify that after running the script, three files named ca
, certificate
, and key
have been downloaded into the certs
directory from the specified cluster.
- You have to start kubectl port-forwarding for storage.
kubectl port-forward service/<mlops-storage-service-name> 9999:9999
- Then set the following envs for the app.
export STORAGE_URL=<storage-url-with-port>
ex:
export STORAGE_URL=localhost:9999
make run