Skip to content
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
k8s.io/client-go v0.32.3
k8s.io/klog/v2 v2.130.1
kmodules.xyz/client-go v0.32.7
kmodules.xyz/resource-metadata v0.36.0
kmodules.xyz/resource-metadata v0.37.0
sigs.k8s.io/controller-runtime v0.20.4
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ kmodules.xyz/go-containerregistry v0.0.14 h1:8MgLFa74HymAJEyjH7fyQJn5u2Ok6qPPFQX
kmodules.xyz/go-containerregistry v0.0.14/go.mod h1:xz0iGC3noyMi5NNAzXWTH6KqfiIgFWZAomw+U2zVOXs=
kmodules.xyz/offshoot-api v0.32.0 h1:gogc5scSZe2JoXtZof72UGRl3Tit0kFaFRMkLLT1D8o=
kmodules.xyz/offshoot-api v0.32.0/go.mod h1:tled7OxYZ3SkUJcrVFVVYyd+zXjsRSEm1R6Q3k4gcx0=
kmodules.xyz/resource-metadata v0.36.0 h1:KDVSrq4XcOoyAB8NTdHCqYduGfCUwP3AivRxkFdATJA=
kmodules.xyz/resource-metadata v0.36.0/go.mod h1:rwXNC2Byb0m0XJv9PxSxPJwMM6OdU+6uOidUCHu74zU=
kmodules.xyz/resource-metadata v0.37.0 h1:qOckR0Ae+ZGXAJSJ5RL0x8jQYm+rcQjUxZJUCA04DdY=
kmodules.xyz/resource-metadata v0.37.0/go.mod h1:rwXNC2Byb0m0XJv9PxSxPJwMM6OdU+6uOidUCHu74zU=
kmodules.xyz/resource-metrics v0.30.11-0.20250808121819-d4255c017e68 h1:Wzj3OzURb0qx/CeoFnA7U8xjBuPjW606txW83Rd1SZo=
kmodules.xyz/resource-metrics v0.30.11-0.20250808121819-d4255c017e68/go.mod h1:5K+0A0iU+4JBFPZEuj716/oSgI9xUTnVTANS+cwhHIs=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
creationTimestamp: null
labels:
k8s.io/group: autoscaling.kubedb.com
k8s.io/kind: IgniteAutoscaler
k8s.io/resource: igniteautoscalers
k8s.io/version: v1alpha1
name: autoscaling.kubedb.com-v1alpha1-igniteautoscalers
spec:
resource:
group: autoscaling.kubedb.com
kind: IgniteAutoscaler
name: igniteautoscalers
scope: Namespaced
version: v1alpha1
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
properties:
name:
description: 'Name must be unique within a namespace. Is required when
creating resources, although some resources may allow a client to
request the generation of an appropriate name automatically. Name
is primarily intended for creation idempotence and configuration definition.
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
type: string
namespace:
description: "Namespace defines the space within which each name must
be unique. An empty namespace is equivalent to the \"default\" namespace,
but \"default\" is the canonical representation. Not all objects are
required to be scoped to a namespace - the value of this field for
those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces"
type: string
labels:
additionalProperties:
type: string
description: 'Map of string keys and values that can be used to organize
and categorize (scope and select) objects. May match selectors of
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
type: object
annotations:
additionalProperties:
type: string
description: 'Annotations is an unstructured key value map stored with
a resource that may be set by external tools to store and retrieve
arbitrary metadata. They are not queryable and should be preserved
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
type: object
type: object
spec:
properties:
compute:
properties:
ignite:
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:
ignite:
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
required:
- spec
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
pgBouncer:
properties:
image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ spec:
required:
- image
type: object
gitSyncer:
properties:
image:
type: string
required:
- image
type: object
pgpool:
properties:
image:
Expand Down
Loading
Loading