File tree Expand file tree Collapse file tree
crates/stackable-operator/crds Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : apiextensions.k8s.io/v1
3+ kind : CustomResourceDefinition
4+ metadata :
5+ name : scalers.autoscaling.stackable.tech
6+ spec :
7+ group : autoscaling.stackable.tech
8+ names :
9+ categories : []
10+ kind : Scaler
11+ plural : scalers
12+ shortNames : []
13+ singular : scaler
14+ scope : Namespaced
15+ versions :
16+ - additionalPrinterColumns : []
17+ name : v1alpha1
18+ schema :
19+ openAPIV3Schema :
20+ description : Auto-generated derived type for ScalerSpec via `CustomResource`
21+ properties :
22+ spec :
23+ properties :
24+ replicas :
25+ description : |-
26+ Desired replica count.
27+
28+ Written by the horizontal pod autoscaling mechanism via the /scale subresource.
29+
30+ NOTE: This and other replica fields)use a [`u16`] instead of a [`i32`] used by
31+ [`k8s_openapi`] types to force a non-negative replica count. All [`u16`]s can be
32+ converted losslessly to [`i32`]s where needed.
33+
34+ Upstream issues:
35+
36+ - https://github.com/kubernetes/kubernetes/issues/105533
37+ - https://github.com/Arnavion/k8s-openapi/issues/136
38+ format : uint16
39+ maximum : 65535.0
40+ minimum : 0.0
41+ type : integer
42+ required :
43+ - replicas
44+ type : object
45+ status :
46+ description : Status of a StackableScaler.
47+ nullable : true
48+ properties :
49+ lastTransitionTime :
50+ description : Timestamp indicating when the scaler state last transitioned.
51+ format : date-time
52+ type : string
53+ replicas :
54+ description : |-
55+ The current total number of replicas targeted by the managed StatefulSet.
56+
57+ Exposed via the `/scale` subresource for horizontal pod autoscaling consumption.
58+ format : uint16
59+ maximum : 65535.0
60+ minimum : 0.0
61+ type : integer
62+ selector :
63+ description : Label selector string for HPA pod counting. Written at `.status.selector`.
64+ nullable : true
65+ type : string
66+ state :
67+ description : The current state of the scaler state machine.
68+ properties :
69+ details :
70+ properties :
71+ failedIn :
72+ description : In which state the scaling operation failed.
73+ enum :
74+ - preScaling
75+ - scaling
76+ - postScaling
77+ type : string
78+ previous_replicas :
79+ maximum : 65535.0
80+ minimum : 0.0
81+ type : uint16
82+ reason :
83+ type : string
84+ type : object
85+ state :
86+ enum :
87+ - idle
88+ - preScaling
89+ - scaling
90+ - postScaling
91+ - failed
92+ type : string
93+ required :
94+ - state
95+ type : object
96+ required :
97+ - replicas
98+ - state
99+ - lastTransitionTime
100+ type : object
101+ required :
102+ - spec
103+ title : Scaler
104+ type : object
105+ served : true
106+ storage : true
107+ subresources :
108+ scale :
109+ labelSelectorPath : .status.selector
110+ specReplicasPath : .spec.replicas
111+ statusReplicasPath : .status.replicas
112+ status : {}
You can’t perform that action at this time.
0 commit comments