TidbMonitorSpec
(Appears on: TidbMonitor)
TidbMonitor spec encode the desired state of tidb monitoring component
Field | Description |
---|---|
clusters []TidbClusterRef | |
prometheus PrometheusSpec | |
grafana GrafanaSpec | (Optional) |
reloader ReloaderSpec | |
initializer InitializerSpec | |
imagePullPolicy Kubernetes core/v1.PullPolicy | |
persistent bool | (Optional) |
storageClassName string | (Optional) |
storage string | (Optional) |
nodeSelector map[string]string | (Optional) |
annotations map[string]string | (Optional) |
tolerations []Kubernetes core/v1.Toleration | (Optional) |
kubePrometheusURL string | (Optional) kubePrometheusURL is where tidb-monitoring get the common metrics of kube-prometheus. Ref: https://github.com/coreos/kube-prometheus |
alertmanagerURL string | (Optional) alertmanagerURL is where tidb-monitoring push alerts to. Ref: https://prometheus.io/docs/alerting/alertmanager/ |