Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Operator - make onlineStore the default service #5044

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 53 additions & 48 deletions examples/operator-quickstart/01-Install.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"output_type": "stream",
"text": [
"NAME STATUS AGE\n",
"feast Active 3s\n"
"feast Active 10s\n"
]
}
],
Expand Down Expand Up @@ -133,28 +133,28 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME READY STATUS RESTARTS AGE\n",
"pod/postgres-ff8d4cf48-bqvfm 1/1 Running 0 99s\n",
"pod/redis-b4756b75d-fxkst 1/1 Running 0 98s\n",
"pod/postgres-ff8d4cf48-6nqhs 1/1 Running 0 70s\n",
"pod/redis-b4756b75d-nttdm 1/1 Running 0 68s\n",
"\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/postgres ClusterIP 10.43.197.94 <none> 5432/TCP 99s\n",
"service/redis ClusterIP 10.43.137.235 <none> 6379/TCP 98s\n",
"service/postgres ClusterIP 10.43.203.123 <none> 5432/TCP 70s\n",
"service/redis ClusterIP 10.43.234.211 <none> 6379/TCP 67s\n",
"\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/postgres 1/1 1 1 99s\n",
"deployment.apps/redis 1/1 1 1 98s\n",
"deployment.apps/postgres 1/1 1 1 70s\n",
"deployment.apps/redis 1/1 1 1 69s\n",
"\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/postgres-ff8d4cf48 1 1 1 99s\n",
"replicaset.apps/redis-b4756b75d 1 1 1 98s\n"
"replicaset.apps/postgres-ff8d4cf48 1 1 1 70s\n",
"replicaset.apps/redis-b4756b75d 1 1 1 68s\n"
]
}
],
Expand All @@ -171,7 +171,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -217,7 +217,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 1,
"metadata": {},
"outputs": [
{
Expand All @@ -243,34 +243,32 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME READY STATUS RESTARTS AGE\n",
"pod/feast-example-74d5c98984-sr9bs 0/3 Init:0/1 0 4m43s\n",
"pod/postgres-ff8d4cf48-bqvfm 1/1 Running 0 7m36s\n",
"pod/redis-b4756b75d-fxkst 1/1 Running 0 7m35s\n",
"NAME READY STATUS RESTARTS AGE\n",
"pod/feast-example-556689b95c-gb227 0/1 PodInitializing 0 6m41s\n",
"pod/postgres-ff8d4cf48-6nqhs 1/1 Running 0 10m\n",
"pod/redis-b4756b75d-nttdm 1/1 Running 0 10m\n",
"\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/feast-example-offline ClusterIP 10.43.81.130 <none> 80/TCP 4m44s\n",
"service/feast-example-online ClusterIP 10.43.74.219 <none> 80/TCP 4m43s\n",
"service/feast-example-registry ClusterIP 10.43.52.126 <none> 80/TCP 4m43s\n",
"service/postgres ClusterIP 10.43.197.94 <none> 5432/TCP 7m36s\n",
"service/redis ClusterIP 10.43.137.235 <none> 6379/TCP 7m35s\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/feast-example-online ClusterIP 10.43.254.136 <none> 80/TCP 6m43s\n",
"service/postgres ClusterIP 10.43.203.123 <none> 5432/TCP 10m\n",
"service/redis ClusterIP 10.43.234.211 <none> 6379/TCP 10m\n",
"\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/feast-example 0/1 1 0 4m43s\n",
"deployment.apps/postgres 1/1 1 1 7m36s\n",
"deployment.apps/redis 1/1 1 1 7m35s\n",
"deployment.apps/feast-example 0/1 1 0 6m43s\n",
"deployment.apps/postgres 1/1 1 1 10m\n",
"deployment.apps/redis 1/1 1 1 10m\n",
"\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/feast-example-74d5c98984 1 1 0 4m43s\n",
"replicaset.apps/postgres-ff8d4cf48 1 1 1 7m36s\n",
"replicaset.apps/redis-b4756b75d 1 1 1 7m35s\n",
"replicaset.apps/feast-example-556689b95c 1 1 0 6m43s\n",
"replicaset.apps/postgres-ff8d4cf48 1 1 1 10m\n",
"replicaset.apps/redis-b4756b75d 1 1 1 10m\n",
"deployment.apps/feast-example condition met\n"
]
}
Expand All @@ -289,15 +287,15 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME STATUS AGE\n",
"example Ready 10m\n"
"example Ready 7m39s\n"
]
}
],
Expand All @@ -314,7 +312,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -354,7 +352,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -383,16 +381,16 @@
"/feast-data/credit_scoring_local/feature_repo/example_repo.py:27: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n",
" driver = Entity(name=\"driver\", join_keys=[\"driver_id\"])\n",
"Applying changes for project credit_scoring_local\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/feature_store.py:578: RuntimeWarning: On demand feature view is an experimental feature. This API is stable, but the functionality does not scale well for offline retrieval\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/feature_store.py:579: RuntimeWarning: On demand feature view is an experimental feature. This API is stable, but the functionality does not scale well for offline retrieval\n",
" warnings.warn(\n",
"Deploying infrastructure for \u001b[1m\u001b[32mdriver_hourly_stats\u001b[0m\n",
"Deploying infrastructure for \u001b[1m\u001b[32mdriver_hourly_stats_fresh\u001b[0m\n"
]
}
],
"source": [
"!kubectl exec deploy/feast-example -itc registry -- cat feature_store.yaml\n",
"!kubectl exec deploy/feast-example -itc registry -- feast apply"
"!kubectl exec deploy/feast-example -itc online -- cat feature_store.yaml\n",
"!kubectl exec deploy/feast-example -itc online -- feast apply"
]
},
{
Expand All @@ -404,7 +402,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand All @@ -413,29 +411,29 @@
"text": [
"/opt/app-root/lib64/python3.11/site-packages/feast/feature_view.py:48: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity '__dummy'.\n",
" DUMMY_ENTITY = Entity(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n",
" entity = cls(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity '__dummy'.\n",
" entity = cls(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n",
" entity = cls(\n",
"NAME DESCRIPTION TAGS OWNER\n",
"credit_scoring_local A project for driver statistics {}\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/feature_view.py:48: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity '__dummy'.\n",
" DUMMY_ENTITY = Entity(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n",
" entity = cls(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity '__dummy'.\n",
" entity = cls(\n",
"/opt/app-root/lib64/python3.11/site-packages/feast/entity.py:173: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n",
" entity = cls(\n",
"NAME ENTITIES TYPE\n",
"driver_hourly_stats {'driver'} FeatureView\n",
"driver_hourly_stats_fresh {'driver'} FeatureView\n",
"transformed_conv_rate {'driver'} OnDemandFeatureView\n",
"transformed_conv_rate_fresh {'driver'} OnDemandFeatureView\n"
"transformed_conv_rate_fresh {'driver'} OnDemandFeatureView\n",
"transformed_conv_rate {'driver'} OnDemandFeatureView\n"
]
}
],
"source": [
"!kubectl exec deploy/feast-example -itc registry -- feast projects list\n",
"!kubectl exec deploy/feast-example -itc registry -- feast feature-views list"
"!kubectl exec deploy/feast-example -itc online -- feast projects list\n",
"!kubectl exec deploy/feast-example -itc online -- feast feature-views list"
]
},
{
Expand All @@ -447,7 +445,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand All @@ -456,13 +454,20 @@
"text": [
"/opt/app-root/lib64/python3.11/site-packages/feast/feature_view.py:48: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity '__dummy'.\n",
" DUMMY_ENTITY = Entity(\n",
"Feast SDK Version: \"0.43.0\"\n"
"Feast SDK Version: \"0.45.0\"\n"
]
}
],
"source": [
"!kubectl exec deployment/feast-example -itc registry -- feast version"
"!kubectl exec deployment/feast-example -itc online -- feast version"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Loading
Loading