From 9caa63a6709a6994139594901f217e3ba218d536 Mon Sep 17 00:00:00 2001 From: JennyPopova <41321295+JennyPopova@users.noreply.github.com> Date: Tue, 14 Dec 2021 18:34:20 +0100 Subject: [PATCH 1/2] Change AKS deployment configuration Deployment config changed from 1CPU/4GB to 0.5CPU/2GB so it fits a AKS created with default parameters --- diabetes_regression/scoring/deployment_config_aks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diabetes_regression/scoring/deployment_config_aks.yml b/diabetes_regression/scoring/deployment_config_aks.yml index 1299dc9d..cd81009d 100644 --- a/diabetes_regression/scoring/deployment_config_aks.yml +++ b/diabetes_regression/scoring/deployment_config_aks.yml @@ -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 From d4696ed0d157236fb456c436e64984a475e64c68 Mon Sep 17 00:00:00 2001 From: JennyPopova <41321295+JennyPopova@users.noreply.github.com> Date: Tue, 14 Dec 2021 18:41:11 +0100 Subject: [PATCH 2/2] Update custom_model.md --- docs/custom_model.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/custom_model.md b/docs/custom_model.md index 5c7f8f4a..28a15d78 100644 --- a/docs/custom_model.md +++ b/docs/custom_model.md @@ -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