Label Studio Integration with Open Data Hub
-
git clone git@github.com:opendatahub-io-contrib/label-studio-integration.git -
cd label-studio-integration -
cd label-studio -
oc apply -f deploy/openshift/postgres -
Wait for postgres pod to be up and running. Once the pod is running grab the pod ip and enter it as the
postgres-hostin the deploy/openshift/labelstudio/deployment.yaml as follows (Note: this is currently a workaround)
- name: POSTGRE_HOST
value: [127.0.0.1] //replace ip with the pod ip of the postgres pod
-
oc apply -f deploy/openshift/nginx -
oc apply -f deploy/openshift/postgres
TODOs:
- Fix the postgres deployment so that labelstudio can discover postgres using a
hostnamerather than the static ip of the pod. This is a temp workaround. - Implement readycheck for the postgres deployment.
- Implement a livenessprobe for the labelstudio route