Skip to content

BlueLens/bl-api-index

Repository files navigation

bl-api-index

A API server for image gettring, preprocessing and indexing in BlueLens.

Setup

Login to GCP(Google Cloud Platform) to upload docker image.

$ gcloud auth login

Setup for BlueLens project

$ gcloud config set project bluelens-11b9b

Create the bl-api-index Service & Deployment

kubectl create -f kubernetes/config.yaml

Release

release.sh

# ./release.sh {TAG}
# sample
$ ./release.sh latest

MongoDB

Connecting to the MongoDB Replica Set

Each MongoDB Replica Set will have its own DNS address. This will take the format .. The DNS addresses to use will be:

bl-db-image-0.bl-db-image.mongo
bl-db-image-1.bl-db-image.mongo
bl-db-image-2.bl-db-image.mongo

Put these in your connection url. For example:

mongodb://bl-db-image-0.bl-db-image.mongo bl-db-image-1.bl-db-image.mongo bl-db-image-2.bl-db-image.mongo:27017/dbname_?'

Troubleshooting

ERROR: Docker CLI operation failed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors