|
74 | 74 | "output_type": "stream",
|
75 | 75 | "text": [
|
76 | 76 | "NAME STATUS AGE\n",
|
77 |
| - "feast Active 10s\n" |
| 77 | + "feast Active 6s\n" |
78 | 78 | ]
|
79 | 79 | }
|
80 | 80 | ],
|
|
133 | 133 | },
|
134 | 134 | {
|
135 | 135 | "cell_type": "code",
|
136 |
| - "execution_count": 5, |
| 136 | + "execution_count": 4, |
137 | 137 | "metadata": {},
|
138 | 138 | "outputs": [
|
139 | 139 | {
|
140 | 140 | "name": "stdout",
|
141 | 141 | "output_type": "stream",
|
142 | 142 | "text": [
|
143 | 143 | "NAME READY STATUS RESTARTS AGE\n",
|
144 |
| - "pod/postgres-ff8d4cf48-6nqhs 1/1 Running 0 70s\n", |
145 |
| - "pod/redis-b4756b75d-nttdm 1/1 Running 0 68s\n", |
| 144 | + "pod/postgres-ff8d4cf48-c4znd 1/1 Running 0 2m17s\n", |
| 145 | + "pod/redis-b4756b75d-r9nfb 1/1 Running 0 2m15s\n", |
146 | 146 | "\n",
|
147 | 147 | "NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
|
148 |
| - "service/postgres ClusterIP 10.43.203.123 <none> 5432/TCP 70s\n", |
149 |
| - "service/redis ClusterIP 10.43.234.211 <none> 6379/TCP 67s\n", |
| 148 | + "service/postgres ClusterIP 10.43.151.129 <none> 5432/TCP 2m17s\n", |
| 149 | + "service/redis ClusterIP 10.43.169.233 <none> 6379/TCP 2m15s\n", |
150 | 150 | "\n",
|
151 | 151 | "NAME READY UP-TO-DATE AVAILABLE AGE\n",
|
152 |
| - "deployment.apps/postgres 1/1 1 1 70s\n", |
153 |
| - "deployment.apps/redis 1/1 1 1 69s\n", |
| 152 | + "deployment.apps/postgres 1/1 1 1 2m18s\n", |
| 153 | + "deployment.apps/redis 1/1 1 1 2m16s\n", |
154 | 154 | "\n",
|
155 | 155 | "NAME DESIRED CURRENT READY AGE\n",
|
156 |
| - "replicaset.apps/postgres-ff8d4cf48 1 1 1 70s\n", |
157 |
| - "replicaset.apps/redis-b4756b75d 1 1 1 68s\n" |
| 156 | + "replicaset.apps/postgres-ff8d4cf48 1 1 1 2m18s\n", |
| 157 | + "replicaset.apps/redis-b4756b75d 1 1 1 2m16s\n" |
158 | 158 | ]
|
159 | 159 | }
|
160 | 160 | ],
|
|
217 | 217 | },
|
218 | 218 | {
|
219 | 219 | "cell_type": "code",
|
220 |
| - "execution_count": 1, |
| 220 | + "execution_count": 5, |
221 | 221 | "metadata": {},
|
222 | 222 | "outputs": [
|
223 | 223 | {
|
|
243 | 243 | },
|
244 | 244 | {
|
245 | 245 | "cell_type": "code",
|
246 |
| - "execution_count": 4, |
| 246 | + "execution_count": 6, |
247 | 247 | "metadata": {},
|
248 | 248 | "outputs": [
|
249 | 249 | {
|
250 | 250 | "name": "stdout",
|
251 | 251 | "output_type": "stream",
|
252 | 252 | "text": [
|
253 |
| - "NAME READY STATUS RESTARTS AGE\n", |
254 |
| - "pod/feast-example-556689b95c-gb227 0/1 PodInitializing 0 6m41s\n", |
255 |
| - "pod/postgres-ff8d4cf48-6nqhs 1/1 Running 0 10m\n", |
256 |
| - "pod/redis-b4756b75d-nttdm 1/1 Running 0 10m\n", |
| 253 | + "NAME READY STATUS RESTARTS AGE\n", |
| 254 | + "pod/feast-example-bbdc6cb6-rzkb4 0/1 Init:0/1 0 3s\n", |
| 255 | + "pod/postgres-ff8d4cf48-c4znd 1/1 Running 0 4m49s\n", |
| 256 | + "pod/redis-b4756b75d-r9nfb 1/1 Running 0 4m47s\n", |
257 | 257 | "\n",
|
258 | 258 | "NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
|
259 |
| - "service/feast-example-online ClusterIP 10.43.254.136 <none> 80/TCP 6m43s\n", |
260 |
| - "service/postgres ClusterIP 10.43.203.123 <none> 5432/TCP 10m\n", |
261 |
| - "service/redis ClusterIP 10.43.234.211 <none> 6379/TCP 10m\n", |
| 259 | + "service/feast-example-online ClusterIP 10.43.143.216 <none> 80/TCP 4s\n", |
| 260 | + "service/postgres ClusterIP 10.43.151.129 <none> 5432/TCP 4m49s\n", |
| 261 | + "service/redis ClusterIP 10.43.169.233 <none> 6379/TCP 4m47s\n", |
262 | 262 | "\n",
|
263 | 263 | "NAME READY UP-TO-DATE AVAILABLE AGE\n",
|
264 |
| - "deployment.apps/feast-example 0/1 1 0 6m43s\n", |
265 |
| - "deployment.apps/postgres 1/1 1 1 10m\n", |
266 |
| - "deployment.apps/redis 1/1 1 1 10m\n", |
| 264 | + "deployment.apps/feast-example 0/1 1 0 5s\n", |
| 265 | + "deployment.apps/postgres 1/1 1 1 4m51s\n", |
| 266 | + "deployment.apps/redis 1/1 1 1 4m49s\n", |
267 | 267 | "\n",
|
268 |
| - "NAME DESIRED CURRENT READY AGE\n", |
269 |
| - "replicaset.apps/feast-example-556689b95c 1 1 0 6m43s\n", |
270 |
| - "replicaset.apps/postgres-ff8d4cf48 1 1 1 10m\n", |
271 |
| - "replicaset.apps/redis-b4756b75d 1 1 1 10m\n", |
| 268 | + "NAME DESIRED CURRENT READY AGE\n", |
| 269 | + "replicaset.apps/feast-example-bbdc6cb6 1 1 0 4s\n", |
| 270 | + "replicaset.apps/postgres-ff8d4cf48 1 1 1 4m51s\n", |
| 271 | + "replicaset.apps/redis-b4756b75d 1 1 1 4m49s\n", |
272 | 272 | "deployment.apps/feast-example condition met\n"
|
273 | 273 | ]
|
274 | 274 | }
|
|
287 | 287 | },
|
288 | 288 | {
|
289 | 289 | "cell_type": "code",
|
290 |
| - "execution_count": 5, |
| 290 | + "execution_count": 2, |
291 | 291 | "metadata": {},
|
292 | 292 | "outputs": [
|
293 | 293 | {
|
294 | 294 | "name": "stdout",
|
295 | 295 | "output_type": "stream",
|
296 | 296 | "text": [
|
297 | 297 | "NAME STATUS AGE\n",
|
298 |
| - "example Ready 7m39s\n" |
| 298 | + "example Ready 48m\n" |
299 | 299 | ]
|
300 | 300 | }
|
301 | 301 | ],
|
|
312 | 312 | },
|
313 | 313 | {
|
314 | 314 | "cell_type": "code",
|
315 |
| - "execution_count": 6, |
| 315 | + "execution_count": 8, |
316 | 316 | "metadata": {},
|
317 | 317 | "outputs": [
|
318 | 318 | {
|
|
343 | 343 | "!kubectl exec deploy/postgres -- psql -h localhost -U feast feast -c '\\dt'"
|
344 | 344 | ]
|
345 | 345 | },
|
346 |
| - { |
347 |
| - "cell_type": "markdown", |
348 |
| - "metadata": {}, |
349 |
| - "source": [ |
350 |
| - "Verify the client `feature_store.yaml` and create the sample feature store definitions." |
351 |
| - ] |
352 |
| - }, |
353 |
| - { |
354 |
| - "cell_type": "code", |
355 |
| - "execution_count": 7, |
356 |
| - "metadata": {}, |
357 |
| - "outputs": [ |
358 |
| - { |
359 |
| - "name": "stdout", |
360 |
| - "output_type": "stream", |
361 |
| - "text": [ |
362 |
| - "project: credit_scoring_local\n", |
363 |
| - "provider: local\n", |
364 |
| - "offline_store:\n", |
365 |
| - " type: duckdb\n", |
366 |
| - "online_store:\n", |
367 |
| - " type: redis\n", |
368 |
| - " connection_string: redis.feast.svc.cluster.local:6379\n", |
369 |
| - "registry:\n", |
370 |
| - " path: postgresql+psycopg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres.feast.svc.cluster.local:5432/${POSTGRES_DB}\n", |
371 |
| - " registry_type: sql\n", |
372 |
| - " cache_ttl_seconds: 60\n", |
373 |
| - " sqlalchemy_config_kwargs:\n", |
374 |
| - " echo: false\n", |
375 |
| - " pool_pre_ping: true\n", |
376 |
| - "auth:\n", |
377 |
| - " type: no_auth\n", |
378 |
| - "entity_key_serialization_version: 3\n", |
379 |
| - "/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", |
380 |
| - " DUMMY_ENTITY = Entity(\n", |
381 |
| - "/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", |
382 |
| - " driver = Entity(name=\"driver\", join_keys=[\"driver_id\"])\n", |
383 |
| - "Applying changes for project credit_scoring_local\n", |
384 |
| - "/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", |
385 |
| - " warnings.warn(\n", |
386 |
| - "Deploying infrastructure for \u001b[1m\u001b[32mdriver_hourly_stats\u001b[0m\n", |
387 |
| - "Deploying infrastructure for \u001b[1m\u001b[32mdriver_hourly_stats_fresh\u001b[0m\n" |
388 |
| - ] |
389 |
| - } |
390 |
| - ], |
391 |
| - "source": [ |
392 |
| - "!kubectl exec deploy/feast-example -itc online -- cat feature_store.yaml\n", |
393 |
| - "!kubectl exec deploy/feast-example -itc online -- feast apply" |
394 |
| - ] |
395 |
| - }, |
396 |
| - { |
397 |
| - "cell_type": "markdown", |
398 |
| - "metadata": {}, |
399 |
| - "source": [ |
400 |
| - "List the registered feast projects & feature views." |
401 |
| - ] |
402 |
| - }, |
403 |
| - { |
404 |
| - "cell_type": "code", |
405 |
| - "execution_count": 8, |
406 |
| - "metadata": {}, |
407 |
| - "outputs": [ |
408 |
| - { |
409 |
| - "name": "stdout", |
410 |
| - "output_type": "stream", |
411 |
| - "text": [ |
412 |
| - "/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", |
413 |
| - " DUMMY_ENTITY = Entity(\n", |
414 |
| - "/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", |
415 |
| - " entity = cls(\n", |
416 |
| - "/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", |
417 |
| - " entity = cls(\n", |
418 |
| - "NAME DESCRIPTION TAGS OWNER\n", |
419 |
| - "credit_scoring_local A project for driver statistics {}\n", |
420 |
| - "/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", |
421 |
| - " DUMMY_ENTITY = Entity(\n", |
422 |
| - "/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", |
423 |
| - " entity = cls(\n", |
424 |
| - "/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", |
425 |
| - " entity = cls(\n", |
426 |
| - "NAME ENTITIES TYPE\n", |
427 |
| - "driver_hourly_stats {'driver'} FeatureView\n", |
428 |
| - "driver_hourly_stats_fresh {'driver'} FeatureView\n", |
429 |
| - "transformed_conv_rate_fresh {'driver'} OnDemandFeatureView\n", |
430 |
| - "transformed_conv_rate {'driver'} OnDemandFeatureView\n" |
431 |
| - ] |
432 |
| - } |
433 |
| - ], |
434 |
| - "source": [ |
435 |
| - "!kubectl exec deploy/feast-example -itc online -- feast projects list\n", |
436 |
| - "!kubectl exec deploy/feast-example -itc online -- feast feature-views list" |
437 |
| - ] |
438 |
| - }, |
439 | 346 | {
|
440 | 347 | "cell_type": "markdown",
|
441 | 348 | "metadata": {},
|
|
454 | 361 | "text": [
|
455 | 362 | "/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",
|
456 | 363 | " DUMMY_ENTITY = Entity(\n",
|
457 |
| - "Feast SDK Version: \"0.45.0\"\n" |
| 364 | + "Feast SDK Version: \"0.46.0\"\n" |
458 | 365 | ]
|
459 | 366 | }
|
460 | 367 | ],
|
|
0 commit comments