Skip to content

Commit

Permalink
Add Coordinator spec
Browse files Browse the repository at this point in the history
Signed-off-by: ashraful <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed May 13, 2024
1 parent ab2246d commit 72a8192
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apis/ops/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apis/ops/v1alpha1/singlestore_ops_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ type SinglestoreVerticalScalingSpec struct {
Aggregator *PodResources `json:"aggregator,omitempty"`
// Resource spec for Leaf
Leaf *PodResources `json:"leaf,omitempty"`
// Resource spec for Coordinator container
Coordinator *ContainerResources `json:"coordinator,omitempty"`
}

// SinglestoreVolumeExpansionSpec is the spec for Singlestore volume expansion
Expand Down
5 changes: 5 additions & 0 deletions apis/ops/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions crds/ops.kubedb.com_singlestoreopsrequests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,40 @@ spec:
- value
type: object
type: object
coordinator:
properties:
resources:
properties:
claims:
items:
properties:
name:
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
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
requests:
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
type: object
type: object
leaf:
properties:
nodeSelectionPolicy:
Expand Down

0 comments on commit 72a8192

Please sign in to comment.