oc port-forward postgresql-1-fgn46 5432
cd feature_repo
feast apply
- Verify that the Postgres DB is updated with the Feast Registry.
Set the environment variables in feature_store.yaml and its will be to look like as
project: feast_postgres
provider: local
registry:
registry_store_type: PostgreSQLRegistryStore
path: feast_registry
host: postgresql.feast.svc.cluster.local
port: 5432
database: feast
db_schema: feast
user: ${PG_USERNAME}
password: ${PG_PASSWORD}
online_store:
type: postgres
host: postgresql.feast.svc.cluster.local
port: 5432
database: feast
db_schema: feast
user: ${PG_USERNAME}
password: ${PG_PASSWORD}
offline_store:
type: postgres
host: postgresql.feast.svc.cluster.local
port: 5432
database: feast
db_schema: feast
user: ${PG_USERNAME}
password: ${PG_PASSWORD}
entity_key_serialization_version: 2-
Add Permissions to Security Context Constraint (SCC):
oc adm policy add-scc-to-user anyuid -z default -n <namespace>>
-
Add the Feast Helm repository and update:
helm repo add feast-charts https://feast-helm-charts.storage.googleapis.com helm repo update
-
Deploy Feast on Openshift using Helm, by setting
feature_store.yamlfile as a base64 string from feature_repo directory:helm install feast-release feast-charts/feast-feature-server \ --set feature_store_yaml_base64=$(base64 < feature_store.yaml)




