Get-AksHciAutoScalerProfile

摘要

检索系统中可用的自动缩放程序配置文件列表,或特定的自动缩放程序配置文件及其设置。

语法

检索一系列自动缩放程序配置文件

Get-AksHciAutoScalerProfile
Name                    Cluster
----------              --------------
default                 myCluster, clusterProd2,...
myProfile2              staging3,dev3,dev2,...
myProfile4              myCluster2

检索某个特定自动缩放程序配置文件的设置

Get-AksHciAutoScalerProfile -name myProfile
ProfileSetting                   Value
--------------                   ---------
name                             myProfile
scan-interval                    10 seconds
scale-down-delay-after-add       10 minutes
scale-down-delay-after-delete    10 seconds
scale-down-delay-after-failure   3 minutes 
scale-down-unneeded-time         10 minutes
scale-down-unready-time          20 minutes
scale-down-utilization-threshold 0.5
max-graceful-termination-sec     600 seconds
balance-similar-node-groups      false     
expander                         random 
skip-nodes-with-local-storage    true
skip-nodes-with-system-pods      true 
max-empty-bulk-delete            10 nodes  
new-pod-scale-up-delay           0 seconds
max-total-unready-percentage     45%
max-node-provision-time          15 minutes      
ok-total-unready-count           3 nodes   
clusters                         [myCluster1,dev2,dev3,...]

参数

-name

自动缩放程序配置文件的字母数字名称。

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

后续步骤

AksHci PowerShell 参考