@@ -74,9 +74,9 @@ type FeatureStoreServices struct {
74
74
75
75
// OfflineStore configures the deployed offline store service
76
76
type 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"`
80
80
// LogLevel sets the logging level for the offline store service
81
81
// Allowed values: "debug", "info", "warning", "error", "critical".
82
82
// +kubebuilder:validation:Enum=debug;info;warning;error;critical
@@ -134,9 +134,9 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
134
134
135
135
// OnlineStore configures the deployed online store service
136
136
type 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"`
140
140
// LogLevel sets the logging level for the online store service
141
141
// Allowed values: "debug", "info", "warning", "error", "critical".
142
142
// +kubebuilder:validation:Enum=debug;info;warning;error;critical
@@ -297,6 +297,14 @@ type DefaultConfigs struct {
297
297
Image * string `json:"image,omitempty"`
298
298
}
299
299
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
+
300
308
// OptionalConfigs k8s container settings that are optional
301
309
type OptionalConfigs struct {
302
310
Env * []corev1.EnvVar `json:"env,omitempty"`
0 commit comments