共用方式為


Get-AksHciAutoScalerProfile

概要

擷取系統中可用的自動調整程式組態設定檔清單,或特定自動調整程式組態設定檔及其設定。

Syntax

擷取自動調整程式組態設定檔的清單

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 參考