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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈