I was trying to deploy
https://hub.docker.com/r/dbpedia/spotlight-english
I pushed this docker image into google container registry and tried deploying it to Kubernetes Engine and Cloud run, but both failed.
I think maybe i should deploy it with some additional parametres? Does anybody know?
The error:
nginx-2
Pod errors: CrashLoopBackOff
Does not have minimum availability
but there is nothing in the logs
1 Like
As far as I can tell this has nothing to do with Spotlight but rather that you don’t have sufficient resources on your cluster (the first link when searching for “Does not have minimum availability” gcp is https://devops.stackexchange.com/questions/3980/what-does-does-not-have-minimum-availability-in-k8s-mean and says precisely this).
Apart from that I don’t know where your nginx-2 comes from because Spotlight doesn’t use nginx. But I suppose that’s just the name you gave to the deployment.
1 Like
Deploying Docker images to Google Cloud can be tricky sometimes, especially with Kubernetes Engine and Cloud Run.
The error you’re seeing, CrashLoopBackOff, typically indicates that the container is failing to start properly.Make sure you’ve configured your Kubernetes or Cloud Run YAML files correctly, including any necessary environment variables and resource allocations. Sometimes, additional parameters like memory limits or readiness probes can resolve such issues.If you’re still troubleshooting, I recently found a method on how to migrate from Sage 100, which might offer insights applicable to handling cloud deployment challenges. Check out more details at acupower.co.uk.
I haven’t tried deploying DBpedia Spotlight on Google Cloud, but I’ve heard it’s pretty straightforward once you get the hang of it. From what I gather, setting it up involves a few steps, like configuring your VM instance, setting up the necessary environment, and then deploying the Spotlight service itself