Skip to content

Commit

Permalink
JP aks deployment fix (microsoft#388)
Browse files Browse the repository at this point in the history
* Change AKS deployment configuration

Deployment config changed from 1CPU/4GB to 0.5CPU/2GB so it fits a AKS created with default parameters

* Update custom_model.md

Co-authored-by: João Pedro Martins <[email protected]>
  • Loading branch information
JennyPopova and lokijota authored Dec 14, 2021
1 parent fa03633 commit d8e29cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diabetes_regression/scoring/deployment_config_aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ autoScaler:
targetUtilization: 70
authEnabled: True
containerResourceRequirements:
cpu: 1
memoryInGB: 4
cpu: 0.5
memoryInGB: 2
appInsightsEnabled: True
scoringTimeoutMs: 5000
maxConcurrentRequestsPerContainer: 2
Expand Down
1 change: 1 addition & 0 deletions docs/custom_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ If you want to keep scoring:
1. Update or replace `[project name]/scoring/score.py`
1. Add any dependencies required by scoring to `[project name]/conda_dependencies.yml`
1. Modify the test cases in the `ml_service/util/smoke_test_scoring_service.py` script to match the schema of the training features in your data
1. Check and modify [project name]/scoring/deployment_config_aks.yml if AKS deployment is planned. The deployment configuration shall suit custom model as well as AKS cluster size.

# Configure Custom Batch Scoring

Expand Down

0 comments on commit d8e29cc

Please sign in to comment.