Skip to content

Commit d8e29cc

Browse files
JP aks deployment fix (microsoft#388)
* 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]>
1 parent fa03633 commit d8e29cc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

diabetes_regression/scoring/deployment_config_aks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ autoScaler:
77
targetUtilization: 70
88
authEnabled: True
99
containerResourceRequirements:
10-
cpu: 1
11-
memoryInGB: 4
10+
cpu: 0.5
11+
memoryInGB: 2
1212
appInsightsEnabled: True
1313
scoringTimeoutMs: 5000
1414
maxConcurrentRequestsPerContainer: 2

docs/custom_model.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ If you want to keep scoring:
9797
1. Update or replace `[project name]/scoring/score.py`
9898
1. Add any dependencies required by scoring to `[project name]/conda_dependencies.yml`
9999
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
100+
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.
100101

101102
# Configure Custom Batch Scoring
102103

0 commit comments

Comments
 (0)