Azure-docs: How to update the exiting web service with a new docker image?

Created on 11 Dec 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Hi everyone, I am working on Data Science work with Azure Machine Learning Services. I want to update the new docker image to the existing web service on Azure Container Instances. But I can't find the way to do it.

According to the documentation on "Update the service" topic (link), I can't figure out what is the type of property of new-image variable. I have also seen the Machine learning SDK (link). But the documentation doesn't tell that what are the parameters for update(*args) function.

Does anyone know how to figure out this problem? If you have. Could you please help me to figure out this?

Thank you for your help


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-bug machine-learninsvc triaged

All 5 comments

@thananstr Thanks for your feedback! We will investigate and update as appropriate.

@aashishb Hi, can you please make it clearer about what the type is "new-image" in the document? Thanks a lot!

@thananstr
I think you wanted to know how to update the existing web service when new image is added into the workspace.

  1. Use ContanerImage method to get the image by giving the name and id (This includes the version number).
  2. Update the service

Note: When you update the service, the url and keys remains the same. Make sure that your service status is popping as 'Healthy'
_print(service.state)_

image

Created a PR with this change

@thananstr
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jharbieh picture jharbieh  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

Ponant picture Ponant  Â·  3Comments

varma31 picture varma31  Â·  3Comments