Install-AksHciMonitoring

概要

安裝 Prometheus 以在 AKS 混合式部署中進行監視。

語法

Install-AksHciMonitoring -name <String> 
                         -storageSizeGB <String> 
                         -retentionTimeHours <String>                        

描述

安裝 Prometheus 以在 AKS 混合式部署中進行監視。

範例

範例

Install-AksHciMonitoring -Name mycluster -storageSizeGB 100 -retentionTimeHours 240

參數

-name

Kubernetes 叢集的英數字元名稱。

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

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

-storage

儲存體數量 (GB)。

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

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

-retentionTime

所收集計量的保留時間 (小時)。

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

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

後續步驟

AksHci PowerShell 參考