5.3. 使用 OpenShift Container Platform 监控堆栈来监控 Knative Serving

本部分提供使用 OpenShift Container Platform 监控工具来可视化 Knative Serving Pod 自动扩展指标的示例说明。

先决条件

  • 必须已安装 OpenShift Container Platform 监控堆栈。

流程

  1. 导航到 OpenShift Container Platform Web 控制台并进行身份验证。
  2. 导航到 MonitoringMetrics
  3. 输入 Expression 并选择 Run queries。要监控 Knative Serving 自动扩展程序 Pod,请使用示例表达式。

    autoscaler_actual_pods

    您现在可在控制台中看到 Knative Serving 自动扩展程序 Pod 的监控信息。