Do any one know how to deal with the problem with this code segment? Error I receive when I use curl is that it has failed to parse a URL?
EXTERNAL_IP=[YOUR_SERVICE_IP]
curl -d @locust/request-body.json -X POST http://${EXTERNAL_IP}:8501/v1/models/image_classifier:predict
Hi,
you can manually set your service IP. Try this:
kubectl get svc image-classifier
and you get your external service IP, which you need to insert into the curl command.