Skip to content

Commit

Permalink
operators [CI] tidb-operator (1.3.1) (#860)
Browse files Browse the repository at this point in the history
* tidb operator v1.3.1

Signed-off-by: Shiori <sihao.yu@pingcap.com>

* tidb operator v1.3.1

Signed-off-by: Shiori <sihao.yu@pingcap.com>

* fix

Signed-off-by: Shiori <sihao.yu@pingcap.com>

* fix

Signed-off-by: Shiori <sihao.yu@pingcap.com>

* fix

Signed-off-by: Shiori <sihao.yu@pingcap.com>

* fix

Signed-off-by: Shiori <yshshihaoren@qq.com>

* fix

Signed-off-by: Shiori <yshshihaoren@qq.com>
  • Loading branch information
KanShiori authored Mar 28, 2022
1 parent 98e8668 commit aec5e31
Show file tree
Hide file tree
Showing 12 changed files with 37,467 additions and 2 deletions.
1,389 changes: 1,389 additions & 0 deletions operators/tidb-operator/1.3.1/backups.pingcap.com.crd.yaml

Large diffs are not rendered by default.

1,375 changes: 1,375 additions & 0 deletions operators/tidb-operator/1.3.1/backupschedules.pingcap.com.crd.yaml

Large diffs are not rendered by default.

7,668 changes: 7,668 additions & 0 deletions operators/tidb-operator/1.3.1/dmclusters.pingcap.com.crd.yaml

Large diffs are not rendered by default.

1,347 changes: 1,347 additions & 0 deletions operators/tidb-operator/1.3.1/restores.pingcap.com.crd.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.2
creationTimestamp: null
name: tidbclusterautoscalers.pingcap.com
spec:
group: pingcap.com
names:
kind: TidbClusterAutoScaler
listKind: TidbClusterAutoScalerList
plural: tidbclusterautoscalers
shortNames:
- ta
singular: tidbclusterautoscaler
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
cluster:
properties:
clusterDomain:
type: string
name:
type: string
namespace:
type: string
required:
- name
type: object
tidb:
properties:
external:
properties:
endpoint:
properties:
host:
type: string
path:
type: string
port:
format: int32
type: integer
tlsSecret:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
required:
- host
- path
- port
type: object
maxReplicas:
format: int32
type: integer
required:
- maxReplicas
type: object
resources:
additionalProperties:
properties:
count:
format: int32
type: integer
cpu:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
memory:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
storage:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
required:
- cpu
- memory
type: object
type: object
rules:
additionalProperties:
properties:
max_threshold:
type: number
min_threshold:
type: number
resource_types:
items:
type: string
type: array
required:
- max_threshold
type: object
type: object
scaleInIntervalSeconds:
format: int32
type: integer
scaleOutIntervalSeconds:
format: int32
type: integer
type: object
tikv:
properties:
external:
properties:
endpoint:
properties:
host:
type: string
path:
type: string
port:
format: int32
type: integer
tlsSecret:
properties:
name:
type: string
namespace:
type: string
required:
- name
- namespace
type: object
required:
- host
- path
- port
type: object
maxReplicas:
format: int32
type: integer
required:
- maxReplicas
type: object
resources:
additionalProperties:
properties:
count:
format: int32
type: integer
cpu:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
memory:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
storage:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
required:
- cpu
- memory
type: object
type: object
rules:
additionalProperties:
properties:
max_threshold:
type: number
min_threshold:
type: number
resource_types:
items:
type: string
type: array
required:
- max_threshold
type: object
type: object
scaleInIntervalSeconds:
format: int32
type: integer
scaleOutIntervalSeconds:
format: int32
type: integer
type: object
required:
- cluster
type: object
status:
properties:
tidb:
additionalProperties:
properties:
lastAutoScalingTimestamp:
format: date-time
type: string
type: object
type: object
tikv:
additionalProperties:
properties:
lastAutoScalingTimestamp:
format: date-time
type: string
type: object
type: object
type: object
required:
- metadata
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit aec5e31

Please sign in to comment.