Skip to content

Commit

Permalink
addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sssash18 committed Jul 24, 2024
1 parent 91eb8e9 commit 25fbdc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cluster-autoscaler/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
Session.vim
.netrwhist
.vscode
./integration/logs
2 changes: 1 addition & 1 deletion cluster-autoscaler/SYNC-CHANGES/SYNC_CHANGES-1.30.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- [Others](#others)


# v1.29.0
# v1.30.0


## Synced with which upstream CA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func (c *Checker) unremovableReasonAndNodeUtilization(context *context.Autoscali
}

// FORK-CHANGE: log added to identify underutilized nodes
klog.V(2).Infof("Node %s is underutilized: %s requested (%.6g%% of allocatable) is below the scale-down utilization threshold", node.Name, utilInfo.ResourceName, utilInfo.Utilization*100)
klogx.V(2).UpTo(utilLogsQuota).Infof("Node %s - %s requested is %.6g%% of allocatable", node.Name, utilInfo.ResourceName, utilInfo.Utilization*100)

return simulator.NoReason, &utilInfo
Expand Down

0 comments on commit 25fbdc1

Please sign in to comment.