Skip to content

Commit 14b33f2

Browse files
authored
AutoscalingProfile was set to optimize_utilization (#565)
1 parent e776c29 commit 14b33f2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/xpk/commands/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ def run_gke_cluster_create_command(
842842
f' {args.custom_cluster_arguments}'
843843
f' {rapid_release_cmd}'
844844
' --enable-dns-access'
845+
' --autoscaling-profile=optimize-utilization'
845846
)
846847

847848
enable_ip_alias = False

src/xpk/core/nap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def enable_autoprovisioning_on_cluster(
9999
f' --region={zone_to_region(args.zone)} --enable-autoprovisioning'
100100
' --autoprovisioning-config-file'
101101
f' {autoprovisioning_config.config_filename}'
102+
' --autoscaling-profile=optimize-utilization'
102103
)
103104
task = 'Update cluster with autoprovisioning enabled'
104105
return_code = run_command_with_updates(command, task, args)

0 commit comments

Comments
 (0)