This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
在服务图中配置阈值
作为管理员,您可以为 Kubernetes 服务配置阈值。Citrix ADM 根据服务响应时间和错误计数显示服务状态(“严重”、“审查” 和 “良好”)。默认情况下,您可以查看应用于所有服务的 默认阈值 (服务响应时间 = 200 毫秒,错误计数 = 0)。
注意
您不能删除默认阈值。
要配置新阈值,请执行以下操作:
在服务图中:
-
单击设置图标并选择 阈值 选项卡。
-
单击 新阈值 可配置新阈值。
此时将显示 “ 新阈值 ” 页。
-
配置以下参数:
-
名称 — 指定阈值的名称。
-
在 微服务下,选择要应用阈值的服务
-
在 阈值下,为高响应时间和高误差选择 单 或 双精 度
-
指定阈值。
注意
如果选择双重阈值,请确保:
- 阈值 1 小于阈值 2 值。例如,如果将阈值 1 配置为 250 毫秒,则阈值 2 必须为 251 毫秒或更高。 - 阈值 1 值不得与阈值 2 值相同。
-
-
单击保存。
阈值已成功创建。您可以在 “阈值” 页中查看 阈值 详细信息。
单一阈值
假设您为高服务响应时间和高错误选择了单个阈值,并且根据以下示例超出阈值:
已配置阈值 | 超出阈值 |
---|---|
高服务响应时间 = 250 毫秒 | 高服务响应时间 = 330 毫秒 |
高错误 = 10 | 高错误 = 15 |
在这种情况下,Citrix ADM:
-
将当前响应时间 (330 毫秒) 和高错误 (15) 与服务响应时间 (250 毫秒) 和错误计数 (10) 的配置阈值进行比较
-
计算总罚款
-
根据罚金计算显示服务得分和服务状态
双阈值
考虑一种情况下,您为高服务响应时间和高错误选择了双阈值,具有以下配置:
已配置阈值 | 超出阈值 |
---|---|
高服务响应时间(阈值 1)= 250 毫秒,高服务响应时间(阈值 2)= 350 毫秒) | 高服务响应时间 = 330 毫秒 |
高误差(阈值 1)= 10,高误差(阈值 2)= 20 | 高错误 = 15 |
在这种情况下,Citrix ADM:
-
将当前响应时间 (300 ms) 和高误差 (15) 与配置的阈值进行比较。
-
计算总罚款
-
根据惩罚计算显示服务得分和服务状态。
分享:
分享:
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.