-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: obaydullahmhs <[email protected]>
- Loading branch information
1 parent
0b33f1b
commit 71eccb5
Showing
10 changed files
with
1,933 additions
and
636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
345 changes: 345 additions & 0 deletions
345
vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_clickhouseautoscalers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,345 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/name: kubedb | ||
name: clickhouseautoscalers.autoscaling.kubedb.com | ||
spec: | ||
group: autoscaling.kubedb.com | ||
names: | ||
categories: | ||
- datastore | ||
- kubedb | ||
- appscode | ||
kind: ClickHouseAutoscaler | ||
listKind: ClickHouseAutoscalerList | ||
plural: clickhouseautoscalers | ||
shortNames: | ||
- chscaler | ||
singular: clickhouseautoscaler | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
type: string | ||
kind: | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
compute: | ||
properties: | ||
clickhouse: | ||
properties: | ||
containerControlledValues: | ||
enum: | ||
- RequestsAndLimits | ||
- RequestsOnly | ||
type: string | ||
controlledResources: | ||
items: | ||
type: string | ||
type: array | ||
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 | ||
resourceDiffPercentage: | ||
format: int32 | ||
type: integer | ||
trigger: | ||
type: string | ||
type: object | ||
nodeTopology: | ||
properties: | ||
name: | ||
type: string | ||
scaleDownDiffPercentage: | ||
default: 25 | ||
format: int32 | ||
type: integer | ||
scaleUpDiffPercentage: | ||
default: 15 | ||
format: int32 | ||
type: integer | ||
type: object | ||
type: object | ||
databaseRef: | ||
properties: | ||
name: | ||
default: "" | ||
type: string | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
opsRequestOptions: | ||
properties: | ||
apply: | ||
default: IfReady | ||
enum: | ||
- IfReady | ||
- Always | ||
type: string | ||
timeout: | ||
type: string | ||
type: object | ||
storage: | ||
properties: | ||
clickhouse: | ||
properties: | ||
expansionMode: | ||
enum: | ||
- Offline | ||
- Online | ||
type: string | ||
scalingRules: | ||
items: | ||
properties: | ||
appliesUpto: | ||
type: string | ||
threshold: | ||
type: string | ||
required: | ||
- appliesUpto | ||
- threshold | ||
type: object | ||
type: array | ||
scalingThreshold: | ||
format: int32 | ||
type: integer | ||
trigger: | ||
type: string | ||
upperBound: | ||
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 | ||
usageThreshold: | ||
format: int32 | ||
type: integer | ||
required: | ||
- expansionMode | ||
type: object | ||
type: object | ||
required: | ||
- databaseRef | ||
type: object | ||
status: | ||
properties: | ||
checkpoints: | ||
items: | ||
properties: | ||
cpuHistogram: | ||
properties: | ||
bucketWeights: | ||
items: | ||
properties: | ||
index: | ||
type: integer | ||
weight: | ||
format: int32 | ||
type: integer | ||
required: | ||
- index | ||
- weight | ||
type: object | ||
type: array | ||
x-kubernetes-preserve-unknown-fields: true | ||
referenceTimestamp: | ||
format: date-time | ||
nullable: true | ||
type: string | ||
totalWeight: | ||
format: double | ||
type: number | ||
type: object | ||
firstSampleStart: | ||
format: date-time | ||
nullable: true | ||
type: string | ||
lastSampleStart: | ||
format: date-time | ||
nullable: true | ||
type: string | ||
lastUpdateTime: | ||
format: date-time | ||
nullable: true | ||
type: string | ||
memoryHistogram: | ||
properties: | ||
bucketWeights: | ||
items: | ||
properties: | ||
index: | ||
type: integer | ||
weight: | ||
format: int32 | ||
type: integer | ||
required: | ||
- index | ||
- weight | ||
type: object | ||
type: array | ||
x-kubernetes-preserve-unknown-fields: true | ||
referenceTimestamp: | ||
format: date-time | ||
nullable: true | ||
type: string | ||
totalWeight: | ||
format: double | ||
type: number | ||
type: object | ||
ref: | ||
properties: | ||
containerName: | ||
type: string | ||
vpaObjectName: | ||
type: string | ||
type: object | ||
totalSamplesCount: | ||
type: integer | ||
version: | ||
type: string | ||
type: object | ||
type: array | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
reason: | ||
type: string | ||
severity: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
observedGeneration: | ||
format: int64 | ||
type: integer | ||
phase: | ||
enum: | ||
- InProgress | ||
- Current | ||
- Terminating | ||
- Failed | ||
type: string | ||
vpas: | ||
items: | ||
properties: | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
recommendation: | ||
properties: | ||
containerRecommendations: | ||
items: | ||
properties: | ||
containerName: | ||
type: string | ||
lowerBound: | ||
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 | ||
target: | ||
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 | ||
uncappedTarget: | ||
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 | ||
upperBound: | ||
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 | ||
required: | ||
- target | ||
type: object | ||
type: array | ||
type: object | ||
vpaName: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
required: | ||
- spec | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
Oops, something went wrong.