From 66202bd908482be3894de0b31a283924b56661ec Mon Sep 17 00:00:00 2001
From: Florent Poinsard
+(Appears on:
+VitessCellGatewaySpec)
+
+ AutoscalerSpec defines the vtgate’s pod autoscaling specification.AutoscalerSpec
+
+
Field | +Description | +
---|---|
+minReplicas
+
+int32
+
+ |
+
+(Optional)
+ MinReplicas is the minimum number of instances of vtgate to run in +this cell when autoscaling is enabled. + |
+
+maxReplicas
+
+int32
+
+ |
+
+ MaxReplicas is the maximum number of instances of vtgate to run in +this cell when autoscaling is enabled. + |
+
+metrics
+
+
+[]Kubernetes autoscaling/v2.MetricSpec
+
+
+ |
+
+(Optional)
+ Metrics is meant to provide a customizable way to configure HPA metrics. +currently the only supported custom metrics is type=Pod. +Use TargetCPUUtilization or TargetMemoryUtilization instead if scaling on these common resource metrics. + |
+
+behavior
+
+
+Kubernetes autoscaling/v2.HorizontalPodAutoscalerBehavior
+
+
+ |
+
+(Optional)
+ Behavior specifies the scaling behavior of the target in both Up and Down directions. + |
+
@@ -3335,6 +3409,21 @@ int32
autoscaler
+
+
+AutoscalerSpec
+
+
+Autoscaler specifies the pod autoscaling configuration to use +for the vtgate workload.
+resources
@@ -3612,6 +3701,30 @@ string
ServiceName is the name of the Service for this cell’s vtgate.
labelSelector
+
+string
+
+LabelSelector is required by the Scale subresource, which is used by +HorizontalPodAutoscaler when reading pod metrics.
+replicas
+
+int32
+
+Replicas is required by the Scale subresource, which is used by +HorizontalPodAutoscaler to determine the current number of replicas.
+
VitessKeyspaceTemplateImages specifies user-definable container images to -use for this keyspace.
+use for this keyspace. The images defined here by the user will override +those defined at the top-level in VitessCluster.spec.images. +While this field allows you to set a different Vitess version for some +components than the version defined at the top level, it is important to +note that Vitess only ensures compatibility between one version and the +next and previous one. For instance: N is only guaranteed to be compatible +with N+1 and N-1. Do be careful when specifying multiple versions across +your cluster so that they respect this compatibility rule.
+Note: this structure is a copy of VitessKeyspaceImages, once we have gotten +rid of MysqldImage and replaced it by MysqldImageNew (planned for v2.15), we +should be able to remove VitessKeyspaceTemplateImages entirely and just use +VitessKeyspaceImages instead as it contains exactly the same fields.
+vttablet
+
+string
+
+ |
+
+ Vttablet is the container image (including version tag) to use for Vitess Tablet instances. + |
+
+vtorc
+
+string
+
+ |
+
+ Vtorc is the container image (including version tag) to use for Vitess Orchestrator instances. + |
+
+vtbackup
+
+string
+
+ |
+
+ Vtbackup is the container image (including version tag) to use for Vitess Backup jobs. + |
+
mysqld
@@ -6575,6 +6732,17 @@ compatible with. Only one flavor image may be provided at a time.
mysqld running alongside each tablet.
|
|
+mysqldExporter
+
+string
+
+ |
+
+ MysqldExporter specifies the container image for mysqld-exporter. + |
+