Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: 1gtm <1gtm@appscode.com>

Signed-off-by: 1gtm <1gtm@appscode.com>
  • Loading branch information
1gtm committed Nov 12, 2022
1 parent c0473ea commit be777e8
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 632 deletions.
366 changes: 51 additions & 315 deletions charts/kubedb-crds/crds/autoscaling.kubedb.com_proxysqlautoscalers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
listKind: ProxySQLAutoscalerList
plural: proxysqlautoscalers
shortNames:
- pxscaler
- prxscaler
singular: proxysqlautoscaler
scope: Namespaced
versions:
Expand All @@ -32,336 +32,72 @@ spec:
type: object
spec:
properties:
behavior:
compute:
properties:
scaleDown:
proxysql:
properties:
policies:
items:
properties:
periodSeconds:
format: int32
type: integer
type:
type: string
value:
format: int32
type: integer
required:
- periodSeconds
- type
- value
type: object
type: array
selectPolicy:
containerControlledValues:
enum:
- RequestsAndLimits
- RequestsOnly
type: string
stabilizationWindowSeconds:
format: int32
type: integer
type: object
scaleUp:
properties:
policies:
controlledResources:
items:
properties:
periodSeconds:
format: int32
type: integer
type:
type: string
value:
format: int32
type: integer
required:
- periodSeconds
- type
- value
type: object
type: string
type: array
selectPolicy:
inMemoryStorage:
properties:
scalingFactorPercentage:
format: int32
type: integer
usageThresholdPercentage:
format: int32
type: integer
type: object
maxAllowed:
additionalProperties:
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
type: object
minAllowed:
additionalProperties:
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
type: object
podLifeTimeThreshold:
type: string
stabilizationWindowSeconds:
resourceDiffPercentage:
format: int32
type: integer
trigger:
type: string
type: object
type: object
maxReplicas:
format: int32
type: integer
metrics:
items:
properties:
containerResource:
properties:
container:
type: string
name:
type: string
target:
properties:
averageUtilization:
format: int32
type: integer
averageValue:
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
type:
type: string
value:
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:
- type
type: object
required:
- container
- name
- target
type: object
external:
properties:
metric:
properties:
name:
type: string
selector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
target:
properties:
averageUtilization:
format: int32
type: integer
averageValue:
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
type:
type: string
value:
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:
- type
type: object
required:
- metric
- target
type: object
object:
properties:
describedObject:
properties:
apiVersion:
type: string
kind:
type: string
name:
type: string
required:
- kind
- name
type: object
metric:
properties:
name:
type: string
selector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
target:
properties:
averageUtilization:
format: int32
type: integer
averageValue:
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
type:
type: string
value:
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:
- type
type: object
required:
- describedObject
- metric
- target
type: object
pods:
properties:
metric:
properties:
name:
type: string
selector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
required:
- name
type: object
target:
properties:
averageUtilization:
format: int32
type: integer
averageValue:
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
type:
type: string
value:
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:
- type
type: object
required:
- metric
- target
type: object
resource:
properties:
name:
type: string
target:
properties:
averageUtilization:
format: int32
type: integer
averageValue:
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
type:
type: string
value:
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:
- type
type: object
required:
- name
- target
type: object
type:
type: string
required:
- type
type: object
type: array
minReplicas:
format: int32
type: integer
scaleTargetRef:
databaseRef:
properties:
name:
type: string
type: object
x-kubernetes-map-type: atomic
opsRequestOptions:
properties:
apply:
default: IfReady
enum:
- IfReady
- Always
type: string
timeout:
type: string
type: object
required:
- maxReplicas
- scaleTargetRef
- databaseRef
type: object
status:
properties:
Expand Down
Loading

0 comments on commit be777e8

Please sign in to comment.