@@ -74,9 +74,9 @@ type FeatureStoreServices struct {
7474
7575// OfflineStore configures the deployed offline store service
7676type OfflineStore struct {
77- ServiceConfigs `json:",inline"`
78- Persistence * OfflineStorePersistence `json:"persistence,omitempty"`
79- TLS * OfflineTlsConfigs `json:"tls,omitempty"`
77+ StoreServiceConfigs `json:",inline"`
78+ Persistence * OfflineStorePersistence `json:"persistence,omitempty"`
79+ TLS * OfflineTlsConfigs `json:"tls,omitempty"`
8080 // LogLevel sets the logging level for the offline store service
8181 // Allowed values: "debug", "info", "warning", "error", "critical".
8282 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
@@ -134,9 +134,9 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
134134
135135// OnlineStore configures the deployed online store service
136136type OnlineStore struct {
137- ServiceConfigs `json:",inline"`
138- Persistence * OnlineStorePersistence `json:"persistence,omitempty"`
139- TLS * TlsConfigs `json:"tls,omitempty"`
137+ StoreServiceConfigs `json:",inline"`
138+ Persistence * OnlineStorePersistence `json:"persistence,omitempty"`
139+ TLS * TlsConfigs `json:"tls,omitempty"`
140140 // LogLevel sets the logging level for the online store service
141141 // Allowed values: "debug", "info", "warning", "error", "critical".
142142 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
@@ -297,6 +297,14 @@ type DefaultConfigs struct {
297297 Image * string `json:"image,omitempty"`
298298}
299299
300+ // StoreServiceConfigs k8s deployment settings
301+ type StoreServiceConfigs struct {
302+ // Replicas determines the number of pods for the feast service.
303+ // When Replicas > 1, persistence is recommended.
304+ Replicas * int32 `json:"replicas,omitempty"`
305+ ServiceConfigs `json:",inline"`
306+ }
307+
300308// OptionalConfigs k8s container settings that are optional
301309type OptionalConfigs struct {
302310 Env * []corev1.EnvVar `json:"env,omitempty"`
0 commit comments