Skip to content

Commit

Permalink
Merge pull request #7330 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…7326-to-cluster-autoscaler-release-1.27

[cluster-autoscaler-release-1.27] azure: use AZURE_ENABLE_DETAILED_CSE_MESSAGE environment variable
  • Loading branch information
k8s-ci-robot authored Oct 3, 2024
2 parents d532f28 + 512d204 commit 0c597db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster-autoscaler/cloudprovider/azure/azure_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ func BuildAzureConfig(configReader io.Reader) (*Config, error) {
if _, err = assignBoolFromEnvIfExists(&cfg.EnableDynamicInstanceList, "AZURE_ENABLE_DYNAMIC_INSTANCE_LIST"); err != nil {
return nil, err
}
if _, err = assignBoolFromEnvIfExists(&cfg.EnableDetailedCSEMessage, "AZURE_ENABLE_DETAILED_CSE_MESSAGE"); err != nil {
return nil, err
}
if _, err = assignBoolFromEnvIfExists(&cfg.EnableVmssFlexNodes, "AZURE_ENABLE_VMSS_FLEX_NODES"); err != nil {
return nil, err
}
Expand Down

0 comments on commit 0c597db

Please sign in to comment.