Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Rudro-25 <rudro@appscode.com>
  • Loading branch information
Rudro-25 committed Sep 24, 2024
1 parent e11cb0a commit 03352b5
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require (
k8s.io/klog/v2 v2.130.1
kmodules.xyz/client-go v0.30.13
kmodules.xyz/custom-resources v0.30.0
kubedb.dev/apimachinery v0.47.1-0.20240916095012-c4598e143fee
kubedb.dev/apimachinery v0.47.1-0.20240924051141-f0421dd9f647
sigs.k8s.io/controller-runtime v0.18.4
xorm.io/xorm v1.3.6
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9
kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI=
kmodules.xyz/offshoot-api v0.30.0 h1:dq9F93pu4Q8rL9oTcCk+vGGy8vpS7RNt0GSwx7Bvhec=
kmodules.xyz/offshoot-api v0.30.0/go.mod h1:o9VoA3ImZMDBp3lpLb8+kc2d/KBxioRwCpaKDfLIyDw=
kubedb.dev/apimachinery v0.47.1-0.20240916095012-c4598e143fee h1:RMFhW05n0VbzB3sTt4H3UqlKocCWW6m3h7DCAVsEwKE=
kubedb.dev/apimachinery v0.47.1-0.20240916095012-c4598e143fee/go.mod h1:iD6XKg9Blvfd9iYEO0N9GKiSz6r+yzEPZnfkYdESNG4=
kubedb.dev/apimachinery v0.47.1-0.20240924051141-f0421dd9f647 h1:yRqO/MkRwf4FxE/LktLz6fgkHn58FSxiNrR4NAMDxdQ=
kubedb.dev/apimachinery v0.47.1-0.20240924051141-f0421dd9f647/go.mod h1:iD6XKg9Blvfd9iYEO0N9GKiSz6r+yzEPZnfkYdESNG4=
kubeops.dev/petset v0.0.5-0.20240603165102-e2d9decb8abe h1:uWyps3VIDFwGuL0yQa0eMGaLg4ofVwpy59U14Trxnz8=
kubeops.dev/petset v0.0.5-0.20240603165102-e2d9decb8abe/go.mod h1:A15vh0r979NsvL65DTIZKWsa/NoX9VapHBAEw1ZsdYI=
lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
Expand Down
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: cassandraautoscalers.autoscaling.kubedb.com
spec:
group: autoscaling.kubedb.com
names:
categories:
- autoscaler
- kubedb
- appscode
kind: CassandraAutoscaler
listKind: CassandraAutoscalerList
plural: cassandraautoscalers
shortNames:
- casscaler
singular: cassandraautoscaler
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
compute:
properties:
cassandra:
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:
cassandra:
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: {}
Loading

0 comments on commit 03352b5

Please sign in to comment.