Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operators tidb-operator (1.3.1) #813

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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