TidbClusterAutoScaler
TidbClusterAutoScaler is the control script’s spec
Field | Description |
---|
apiVersion string | pingcap.com/v1alpha1 |
kind string | TidbClusterAutoScaler |
metadata Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the metadata field. |
spec TidbClusterAutoScalerSpec | Spec describes the state of the TidbClusterAutoScaler
cluster TidbClusterRef | TidbClusterRef describe the target TidbCluster | metricsUrl string | (Optional) We used prometheus to fetch the metrics resources until the pd could provide it. MetricsUrl represents the url to fetch the metrics info | monitor TidbMonitorRef | (Optional) TidbMonitorRef describe the target TidbMonitor, when MetricsUrl and Monitor are both set, Operator will use MetricsUrl | tikv TikvAutoScalerSpec | (Optional) TiKV represents the auto-scaling spec for tikv | tidb TidbAutoScalerSpec | (Optional) TiDB represents the auto-scaling spec for tidb |
|
status TidbClusterAutoSclaerStatus | Status describe the status of the TidbClusterAutoScaler |