Globally import Tabs and TabItem

This commit is contained in:
Billy Tat
2022-12-07 14:39:54 -08:00
parent 3d15613ef2
commit baf8137c7f
257 changed files with 131 additions and 594 deletions
@@ -2,7 +2,6 @@
title: 示例
---
### ServiceMonitor
你可以在[此处](https://github.com/prometheus-operator/prometheus-operator/blob/master/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml)找到 ServiceMonitor 自定义资源的示例。
@@ -2,7 +2,6 @@
title: Helm Chart 选项
---
## 配置资源限制和请求
安装 `rancher-monitoring` 时可以配置资源请求和限制。
@@ -2,9 +2,6 @@
title: 接收器配置
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
[Alertmanager Config](https://prometheus.io/docs/alerting/latest/configuration/#configuration-file) Secret 包含 Alertmanager 实例的配置,该实例根据 Prometheus 发出的告警发送通知。
:::note
@@ -2,9 +2,6 @@
title: 路由配置
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
路由(Route)配置是 Alertmanager 自定义资源的一部分,用于控制 Prometheus 触发的告警在到达接收器之前的分组和过滤方式。
当路由更改时,Prometheus Operator 会重新生成 Alertmanager 自定义资源以反映更改。