diff --git a/infra/feast-operator/api/v1alpha1/featurestore_types.go b/infra/feast-operator/api/v1alpha1/featurestore_types.go index a51f100fe7..33901293bd 100644 --- a/infra/feast-operator/api/v1alpha1/featurestore_types.go +++ b/infra/feast-operator/api/v1alpha1/featurestore_types.go @@ -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"` } diff --git a/infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml b/infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml index e06e039eef..6c7790fd4c 100644 --- a/infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml +++ b/infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml @@ -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: @@ -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: @@ -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: @@ -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: diff --git a/infra/feast-operator/dist/install.yaml b/infra/feast-operator/dist/install.yaml index 5f4d69e774..4e01129111 100644 --- a/infra/feast-operator/dist/install.yaml +++ b/infra/feast-operator/dist/install.yaml @@ -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: @@ -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: @@ -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: @@ -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: