Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy Hughes <[email protected]>
  • Loading branch information
tchughesiv committed Jan 8, 2025
1 parent 68c3b95 commit 3d76829
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 58 deletions.
109 changes: 53 additions & 56 deletions examples/operator-quickstart/01-Install.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"secret/feast-data-stores created\n",
"featurestore.feast.dev/example created\n"
"secret/feast-data-stores configured\n",
"featurestore.feast.dev/example unchanged\n"
]
}
],
Expand All @@ -227,49 +227,44 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME STATUS AGE\n",
"example Ready 8s\n",
"example Ready 7m45s\n",
"\u001b[33;1mWarning:\u001b[0m apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+\n",
"NAME READY STATUS RESTARTS AGE\n",
"pod/feast-example-offline-74f8d97ff6-lwjqr 0/1 Init:0/1 0 9s\n",
"pod/feast-example-online-749776976-22qrr 0/1 Init:0/1 0 9s\n",
"pod/feast-example-registry-d9c595c99-tmt8q 0/1 ContainerCreating 0 9s\n",
"pod/postgres-6f5c76d9b5-5zqq4 1/1 Running 0 37s\n",
"pod/redis-574b9b57-z6hj2 1/1 Running 0 5m22s\n",
"NAME READY STATUS RESTARTS AGE\n",
"pod/feast-example-66f8cccd7f-5khms 3/3 Running 0 4m24s\n",
"pod/postgres-7ccc445fc7-vncw4 1/1 Running 0 4m39s\n",
"pod/redis-574b9b57-z6hj2 1/1 Running 0 12m\n",
"\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/feast-example-offline ClusterIP 172.30.87.99 <none> 443/TCP 9s\n",
"service/feast-example-online ClusterIP 172.30.136.246 <none> 443/TCP 9s\n",
"service/feast-example-registry ClusterIP 172.30.215.124 <none> 443/TCP 9s\n",
"service/postgres ClusterIP 172.30.175.127 <none> 5432/TCP 5m23s\n",
"service/redis ClusterIP 172.30.176.203 <none> 6379/TCP 5m22s\n",
"service/feast-example-offline ClusterIP 172.30.87.99 <none> 443/TCP 7m46s\n",
"service/feast-example-online ClusterIP 172.30.136.246 <none> 443/TCP 7m46s\n",
"service/feast-example-registry ClusterIP 172.30.215.124 <none> 443/TCP 7m46s\n",
"service/postgres ClusterIP 172.30.175.127 <none> 5432/TCP 13m\n",
"service/redis ClusterIP 172.30.176.203 <none> 6379/TCP 12m\n",
"\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/feast-example-offline 0/1 1 0 9s\n",
"deployment.apps/feast-example-online 0/1 1 0 9s\n",
"deployment.apps/feast-example-registry 0/1 1 0 9s\n",
"deployment.apps/postgres 1/1 1 1 5m23s\n",
"deployment.apps/redis 1/1 1 1 5m22s\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/feast-example 1/1 1 1 6m24s\n",
"deployment.apps/postgres 1/1 1 1 13m\n",
"deployment.apps/redis 1/1 1 1 12m\n",
"\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/feast-example-offline-74f8d97ff6 1 1 0 9s\n",
"replicaset.apps/feast-example-online-749776976 1 1 0 9s\n",
"replicaset.apps/feast-example-registry-d9c595c99 1 1 0 9s\n",
"replicaset.apps/postgres-5c66fcd4c6 0 0 0 4m12s\n",
"replicaset.apps/postgres-6f5c76d9b5 1 1 1 37s\n",
"replicaset.apps/postgres-7c68ddcbbc 0 0 0 5m23s\n",
"replicaset.apps/redis-574b9b57 1 1 1 5m22s\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/feast-example-66f8cccd7f 1 1 1 6m24s\n",
"replicaset.apps/postgres-5c66fcd4c6 0 0 0 11m\n",
"replicaset.apps/postgres-6f5c76d9b5 0 0 0 8m14s\n",
"replicaset.apps/postgres-7c68ddcbbc 0 0 0 13m\n",
"replicaset.apps/postgres-7ccc445fc7 1 1 1 4m39s\n",
"replicaset.apps/redis-574b9b57 1 1 1 12m\n",
"\n",
"NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD\n",
"route.route.openshift.io/feast-example-client feast-example-client-feast.apps.cluster-gkgh6.gkgh6.sandbox2789.opentlc.com feast-example-client 8501 None\n",
"Error from server (NotFound): deployments.apps \"feast-example\" not found\n"
"deployment.apps/feast-example condition met\n"
]
}
],
Expand All @@ -288,7 +283,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand All @@ -303,7 +298,7 @@
" type: redis\n",
" connection_string: redis.feast.svc.cluster.local:6379\n",
"registry:\n",
" path: postgresql+psycopg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres.feast.svc.cluster.local:5432/${POSTGRES_DB}\n",
" path: postgresql+psycopg://postgres@postgres.feast.svc.cluster.local:5432/feast\n",
" registry_type: sql\n",
" cache_ttl_seconds: 60\n",
" sqlalchemy_config_kwargs:\n",
Expand All @@ -321,7 +316,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -336,7 +331,7 @@
" type: redis\n",
" connection_string: redis.feast.svc.cluster.local:6379\n",
"registry:\n",
" path: postgresql+psycopg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres.feast.svc.cluster.local:5432/${POSTGRES_DB}\n",
" path: postgresql+psycopg://postgres@postgres.feast.svc.cluster.local:5432/feast\n",
" registry_type: sql\n",
" cache_ttl_seconds: 60\n",
" sqlalchemy_config_kwargs:\n",
Expand All @@ -354,7 +349,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand All @@ -369,7 +364,7 @@
" type: redis\n",
" connection_string: redis.feast.svc.cluster.local:6379\n",
"registry:\n",
" path: postgresql+psycopg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres.feast.svc.cluster.local:5432/${POSTGRES_DB}\n",
" path: postgresql+psycopg://postgres@postgres.feast.svc.cluster.local:5432/feast\n",
" registry_type: sql\n",
" cache_ttl_seconds: 60\n",
" sqlalchemy_config_kwargs:\n",
Expand All @@ -394,7 +389,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -436,35 +431,35 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" List of relations\n",
" Schema | Name | Type | Owner \n",
"--------+-------------------------+-------+-------\n",
" public | data_sources | table | feast\n",
" public | entities | table | feast\n",
" public | feast_metadata | table | feast\n",
" public | feature_services | table | feast\n",
" public | feature_views | table | feast\n",
" public | managed_infra | table | feast\n",
" public | on_demand_feature_views | table | feast\n",
" public | permissions | table | feast\n",
" public | projects | table | feast\n",
" public | saved_datasets | table | feast\n",
" public | stream_feature_views | table | feast\n",
" public | validation_references | table | feast\n",
" List of relations\n",
" Schema | Name | Type | Owner \n",
"--------+-------------------------+-------+----------\n",
" public | data_sources | table | postgres\n",
" public | entities | table | postgres\n",
" public | feast_metadata | table | postgres\n",
" public | feature_services | table | postgres\n",
" public | feature_views | table | postgres\n",
" public | managed_infra | table | postgres\n",
" public | on_demand_feature_views | table | postgres\n",
" public | permissions | table | postgres\n",
" public | projects | table | postgres\n",
" public | saved_datasets | table | postgres\n",
" public | stream_feature_views | table | postgres\n",
" public | validation_references | table | postgres\n",
"(12 rows)\n",
"\n"
]
}
],
"source": [
"!kubectl exec deploy/postgres -- psql -h localhost -U feast feast -c '\\dt'"
"!kubectl exec deploy/postgres -- psql -h localhost -U postgres feast -c '\\dt'"
]
},
{
Expand All @@ -476,13 +471,15 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Feast SDK Version: \"0.42.0\"\n",
"Feast SDK Version: \"0.42.0\"\n",
"Feast SDK Version: \"0.42.0\"\n"
]
}
Expand Down
3 changes: 1 addition & 2 deletions examples/operator-quickstart/02-Client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
],
"source": [
"!kubectl wait --for=condition=available deploy/feast-example-client --timeout=2m\n",
"# !kubectl logs deploy/feast-example-client -c feast-apply\n",
"!kubectl exec deploy/postgres -- psql -h localhost -U feast feast -c 'create database feast'"
"# !kubectl logs deploy/feast-example-client -c feast-apply"
]
},
{
Expand Down

0 comments on commit 3d76829

Please sign in to comment.