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
後續步驟
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應