1

我正在尝试在 Azure Machine Learning Studio 中将模型部署到 Kubernetes,它工作了一段时间,但现在,它在部署过程中失败,错误消息如下:

Deploy: Failed on step WaitServiceCreating. Details: AzureML service API error. 
Your container application crashed. This may be caused by errors in your scoring file's init() function.
Please check the logs for your container instance: pipeline-created-on-07-28-2020-r.
From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs.
You can also try to run image viennaglobal.azurecr.io/azureml/azureml_6ae744633f749472feb283065055dc2c:latest locally.
Please refer to http://aka.ms/debugimage#service-launch-fails for more information.
{
    "code": "KubernetesDeploymentFailed",
    "statusCode": 400,
    "message": "Kubernetes Deployment failed",
    "details": [
        {
            "code": "CrashLoopBackOff",
            "message": "Your container application crashed. This may be caused by errors in your scoring file's init() function.
Please check the logs for your container instance: pipeline-created-on-07-28-2020-r. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. \nYou can also try to run image viennaglobal.azurecr.io/azureml/azureml_6ae744633f749472feb283065055dc2c:latest locally. Please refer to http://aka.ms/debugimage#service-launch-fails for more information."
        }
    ]
}
4

2 回答 2

0

I know this question is about a different error, but the debugging steps should still be the same. AML - Web service TimeoutError

于 2020-07-28T06:05:26.277 回答
0

好像是个bug,今天自己纠正了。现在结束这个问题

于 2020-07-30T10:23:55.683 回答