This directory contains manifests for the backend of the microservice that returns embeddings given an issue label and body. This backend is associated with associated with gh-issue-labeler.com/text.
This is currently running on a GKE cluster.
There is a dedicated instance running in
- GCP project: issue-label-bot-dev
- cluster: issue-label-bot
- namespace: label-bot-prod
See kubeflow/code-intelligence#70 for a log of how it was setup.
Deploying it
-
Use skaffold to build a new image.
skaffold build
-
Edit the image
cd deployment/overlays/prod kustomize edit set image gcr.io/issue-label-bot-dev/issue-embedding=gcr.io/issue-label-bot-dev/issue-embedding:${TAG}@${SHA}
-
Create the deployment
cd Label_Microservice/deployment/overlays/prod kustomize build | kubectl apply -f -