forked from feast-dev/feast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: File persistence definition and implementation (feast-dev#4742)
* File persistence definition and implementation Signed-off-by: Daniele Martinoli <[email protected]> * removed optional and default markers Signed-off-by: Daniele Martinoli <[email protected]> * removed global cfg variable Signed-off-by: Daniele Martinoli <[email protected]> * reviewed ApplyDefaultsToStatus Signed-off-by: Daniele Martinoli <[email protected]> * extended checks in ApplyDefaultsToStatus Signed-off-by: Daniele Martinoli <[email protected]> * removed var error Signed-off-by: Daniele Martinoli <[email protected]> * added IsValidOfflineStoreFilePersistenceType to the API definitions Signed-off-by: Daniele Martinoli <[email protected]> * moved IsValidOfflineStoreFilePersistenceType to services package and use it in deploy flow Signed-off-by: Daniele Martinoli <[email protected]> * renamed isValidOfflineStoreFilePersistenceType to checkOfflineStoreFilePersistenceType Signed-off-by: Daniele Martinoli <[email protected]> * adding controller tests for ephemeral stores Signed-off-by: Daniele Martinoli <[email protected]> * using slices package Signed-off-by: Daniele Martinoli <[email protected]> --------- Signed-off-by: Daniele Martinoli <[email protected]>
- Loading branch information
Showing
15 changed files
with
1,218 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
120 changes: 120 additions & 0 deletions
120
infra/feast-operator/api/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
infra/feast-operator/config/samples/v1alpha1_featurestore_ephemeral_persistence.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: feast.dev/v1alpha1 | ||
kind: FeatureStore | ||
metadata: | ||
name: sample-ephemeral-persistence | ||
spec: | ||
feastProject: my_project | ||
services: | ||
onlineStore: | ||
persistence: | ||
file: | ||
path: /data/online_store.db | ||
offlineStore: | ||
persistence: | ||
file: | ||
type: dask | ||
registry: | ||
local: | ||
persistence: | ||
file: | ||
path: /data/registry.db |
Oops, something went wrong.