Skip to content

Commit

Permalink
[CN-1029] Add support for scale subresource (#941)
Browse files Browse the repository at this point in the history
Signed-off-by: devOpsHelm <[email protected]>
  • Loading branch information
devOpsHelm committed Dec 1, 2023
1 parent b46b992 commit f93164e
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2290,6 +2290,10 @@ spec:
status:
description: HazelcastStatus defines the observed state of Hazelcast
properties:
clusterSize:
description: Number of Hazelcast members in the cluster.
format: int32
type: integer
hazelcastClusterStatus:
description: Status of the Hazelcast cluster
properties:
Expand Down Expand Up @@ -2393,11 +2397,19 @@ spec:
- Succeeded
type: string
type: object
selector:
description: Selector is a label selector used by HorizontalPodAutoscaler
to autoscale Hazelcast resource.
type: string
type: object
type: object
served: true
storage: true
subresources:
scale:
labelSelectorPath: .status.selector
specReplicasPath: .spec.clusterSize
statusReplicasPath: .status.clusterSize
status: {}
---
apiVersion: apiextensions.k8s.io/v1
Expand Down

0 comments on commit f93164e

Please sign in to comment.