Skip to content

Commit 8036cef

Browse files
committed
added doc comments describing replicas
Signed-off-by: dandawg <12484302+dandawg@users.noreply.github.com>
1 parent 6051b7e commit 8036cef

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

infra/feast-operator/api/v1alpha1/featurestore_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,10 @@ type DefaultConfigs struct {
297297
Image *string `json:"image,omitempty"`
298298
}
299299

300+
// StoreServiceConfigs k8s deployment settings
300301
type StoreServiceConfigs struct {
302+
// Replicas determines the number of pods for the feast service.
303+
// When Replicas > 1, persistence should be configured to provide central storage
301304
Replicas *int32 `json:"replicas,omitempty"`
302305
ServiceConfigs `json:",inline"`
303306
}

infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ spec:
370370
- message: One selection required between file or store.
371371
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
372372
replicas:
373+
description: |-
374+
Replicas determines the number of pods for the feast service.
375+
When Replicas > 1, persistence should be configured to provide central storage
373376
format: int32
374377
type: integer
375378
resources:
@@ -749,6 +752,9 @@ spec:
749752
- message: One selection required between file or store.
750753
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
751754
replicas:
755+
description: |-
756+
Replicas determines the number of pods for the feast service.
757+
When Replicas > 1, persistence should be configured to provide central storage
752758
format: int32
753759
type: integer
754760
resources:
@@ -1621,6 +1627,9 @@ spec:
16211627
rule: '[has(self.file), has(self.store)].exists_one(c,
16221628
c)'
16231629
replicas:
1630+
description: |-
1631+
Replicas determines the number of pods for the feast service.
1632+
When Replicas > 1, persistence should be configured to provide central storage
16241633
format: int32
16251634
type: integer
16261635
resources:
@@ -2007,6 +2016,9 @@ spec:
20072016
rule: '[has(self.file), has(self.store)].exists_one(c,
20082017
c)'
20092018
replicas:
2019+
description: |-
2020+
Replicas determines the number of pods for the feast service.
2021+
When Replicas > 1, persistence should be configured to provide central storage
20102022
format: int32
20112023
type: integer
20122024
resources:

infra/feast-operator/dist/install.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,9 @@ spec:
378378
- message: One selection required between file or store.
379379
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
380380
replicas:
381+
description: |-
382+
Replicas determines the number of pods for the feast service.
383+
When Replicas > 1, persistence should be configured to provide central storage
381384
format: int32
382385
type: integer
383386
resources:
@@ -757,6 +760,9 @@ spec:
757760
- message: One selection required between file or store.
758761
rule: '[has(self.file), has(self.store)].exists_one(c, c)'
759762
replicas:
763+
description: |-
764+
Replicas determines the number of pods for the feast service.
765+
When Replicas > 1, persistence should be configured to provide central storage
760766
format: int32
761767
type: integer
762768
resources:
@@ -1629,6 +1635,9 @@ spec:
16291635
rule: '[has(self.file), has(self.store)].exists_one(c,
16301636
c)'
16311637
replicas:
1638+
description: |-
1639+
Replicas determines the number of pods for the feast service.
1640+
When Replicas > 1, persistence should be configured to provide central storage
16321641
format: int32
16331642
type: integer
16341643
resources:
@@ -2015,6 +2024,9 @@ spec:
20152024
rule: '[has(self.file), has(self.store)].exists_one(c,
20162025
c)'
20172026
replicas:
2027+
description: |-
2028+
Replicas determines the number of pods for the feast service.
2029+
When Replicas > 1, persistence should be configured to provide central storage
20182030
format: int32
20192031
type: integer
20202032
resources:

0 commit comments

Comments
 (0)