Skip to content

[AKS] fix: avoid clearing the autoscaler profile when its not specified - #1527

Merged
Xiaojian Xu (arrownj) merged 1 commit into
Azure:masterfrom
marwanad:avoid-clearing-profile-if-not-specified
Apr 13, 2020
Merged

[AKS] fix: avoid clearing the autoscaler profile when its not specified#1527
Xiaojian Xu (arrownj) merged 1 commit into
Azure:masterfrom
marwanad:avoid-clearing-profile-if-not-specified

Conversation

@marwanad

Copy link
Copy Markdown
Contributor

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Description for Change:
Before any aks update command that doesn't specify the autoscaler profile would lead to clearing it because if cluster_autoscaler_profile is truthful. This changes that to only clear the profile when an empty string is passed as the autoscaler profile --cluster-autoscaler-profile "", else it would preserve it.

@yonzhan

Copy link
Copy Markdown
Collaborator

add to S168

@arrownj
Xiaojian Xu (arrownj) merged commit d56c776 into Azure:master Apr 13, 2020
Nilay Chheda (mit2nil) pushed a commit to mit2nil/azure-cli-extensions that referenced this pull request Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants