Skip to content

Commit

Permalink
added doc comments describing replicas
Browse files Browse the repository at this point in the history
Signed-off-by: dandawg <[email protected]>
  • Loading branch information
dandawg committed Dec 11, 2024
1 parent 6051b7e commit 8036cef
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/feast-operator/api/v1alpha1/featurestore_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ type DefaultConfigs struct {
Image *string `json:"image,omitempty"`
}

// StoreServiceConfigs k8s deployment settings
type StoreServiceConfigs struct {
// Replicas determines the number of pods for the feast service.
// When Replicas > 1, persistence should be configured to provide central storage
Replicas *int32 `json:"replicas,omitempty"`
ServiceConfigs `json:",inline"`
}
Expand Down
12 changes: 12 additions & 0 deletions infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ spec:
- message: One selection required between file or store.
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -749,6 +752,9 @@ spec:
- message: One selection required between file or store.
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -1621,6 +1627,9 @@ spec:
rule: '[has(self.file), has(self.store)].exists_one(c,
c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -2007,6 +2016,9 @@ spec:
rule: '[has(self.file), has(self.store)].exists_one(c,
c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down
12 changes: 12 additions & 0 deletions infra/feast-operator/dist/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ spec:
- message: One selection required between file or store.
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -757,6 +760,9 @@ spec:
- message: One selection required between file or store.
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -1629,6 +1635,9 @@ spec:
rule: '[has(self.file), has(self.store)].exists_one(c,
c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down Expand Up @@ -2015,6 +2024,9 @@ spec:
rule: '[has(self.file), has(self.store)].exists_one(c,
c)'
replicas:
description: |-
Replicas determines the number of pods for the feast service.
When Replicas > 1, persistence should be configured to provide central storage
format: int32
type: integer
resources:
Expand Down

0 comments on commit 8036cef

Please sign in to comment.