将模型部署到Kubernetes

时间:2020-07-28 05:23:57

标签: azure azure-machine-learning-studio azure-machine-learning-service azureml

我正在尝试将模型部署到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."
        }
    ]
}

2 个答案:

答案 0 :(得分:0)

我知道这个问题是关于另一个错误的,但是调试步骤仍然应该相同。 AML - Web service TimeoutError

答案 1 :(得分:0)

这似乎是一个错误,今天已被自行纠正。现在结束这个问题