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 23, 2025
1 parent 347e29b commit 852ee0f
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 137 deletions.
122 changes: 50 additions & 72 deletions examples/operator-quickstart/01-Install.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand All @@ -132,30 +132,29 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\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-6b4b57959d-pvd98 3/3 Terminating 0 36m\n",
"pod/postgres-847c9b5c4f-f5jh7 1/1 Running 0 4s\n",
"pod/redis-574b9b57-pqlr2 1/1 Running 0 4s\n",
"NAME READY STATUS RESTARTS AGE\n",
"pod/postgres-847c9b5c4f-pgkb6 1/1 Running 0 3s\n",
"pod/redis-574b9b57-qv42v 1/1 Running 0 3s\n",
"\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/postgres ClusterIP 172.30.192.185 <none> 5432/TCP 4s\n",
"service/redis ClusterIP 172.30.85.230 <none> 6379/TCP 4s\n",
"service/postgres ClusterIP 172.30.154.200 <none> 5432/TCP 3s\n",
"service/redis ClusterIP 172.30.207.176 <none> 6379/TCP 3s\n",
"\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/postgres 1/1 1 1 4s\n",
"deployment.apps/redis 1/1 1 1 4s\n",
"deployment.apps/postgres 1/1 1 1 3s\n",
"deployment.apps/redis 1/1 1 1 3s\n",
"\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/postgres-847c9b5c4f 1 1 1 4s\n",
"replicaset.apps/redis-574b9b57 1 1 1 4s\n"
"replicaset.apps/postgres-847c9b5c4f 1 1 1 3s\n",
"replicaset.apps/redis-574b9b57 1 1 1 3s\n"
]
}
],
Expand All @@ -172,27 +171,27 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"namespace/feast-operator-system unchanged\n",
"customresourcedefinition.apiextensions.k8s.io/featurestores.feast.dev unchanged\n",
"serviceaccount/feast-operator-controller-manager unchanged\n",
"role.rbac.authorization.k8s.io/feast-operator-leader-election-role unchanged\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-featurestore-editor-role unchanged\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-featurestore-viewer-role unchanged\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-manager-role unchanged\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-metrics-auth-role unchanged\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-metrics-reader unchanged\n",
"rolebinding.rbac.authorization.k8s.io/feast-operator-leader-election-rolebinding unchanged\n",
"clusterrolebinding.rbac.authorization.k8s.io/feast-operator-manager-rolebinding unchanged\n",
"clusterrolebinding.rbac.authorization.k8s.io/feast-operator-metrics-auth-rolebinding unchanged\n",
"service/feast-operator-controller-manager-metrics-service unchanged\n",
"deployment.apps/feast-operator-controller-manager unchanged\n",
"namespace/feast-operator-system created\n",
"customresourcedefinition.apiextensions.k8s.io/featurestores.feast.dev created\n",
"serviceaccount/feast-operator-controller-manager created\n",
"role.rbac.authorization.k8s.io/feast-operator-leader-election-role created\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-featurestore-editor-role created\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-featurestore-viewer-role created\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-manager-role created\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-metrics-auth-role created\n",
"clusterrole.rbac.authorization.k8s.io/feast-operator-metrics-reader created\n",
"rolebinding.rbac.authorization.k8s.io/feast-operator-leader-election-rolebinding created\n",
"clusterrolebinding.rbac.authorization.k8s.io/feast-operator-manager-rolebinding created\n",
"clusterrolebinding.rbac.authorization.k8s.io/feast-operator-metrics-auth-rolebinding created\n",
"service/feast-operator-controller-manager-metrics-service created\n",
"deployment.apps/feast-operator-controller-manager created\n",
"deployment.apps/feast-operator-controller-manager condition met\n"
]
}
Expand All @@ -218,7 +217,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -244,35 +243,35 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\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-6b4b57959d-qkqzc 3/3 Running 0 63m\n",
"pod/postgres-847c9b5c4f-f5jh7 1/1 Running 0 64m\n",
"pod/redis-574b9b57-pqlr2 1/1 Running 0 64m\n",
"NAME READY STATUS RESTARTS AGE\n",
"pod/feast-example-6b4b57959d-fsgfb 0/3 Init:0/1 0 5s\n",
"pod/postgres-847c9b5c4f-pgkb6 1/1 Running 0 29s\n",
"pod/redis-574b9b57-qv42v 1/1 Running 0 29s\n",
"\n",
"NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE\n",
"service/feast-example-offline ClusterIP 172.30.163.181 <none> 443/TCP 63m\n",
"service/feast-example-online ClusterIP 172.30.93.10 <none> 443/TCP 63m\n",
"service/feast-example-registry ClusterIP 172.30.90.18 <none> 443/TCP 63m\n",
"service/postgres ClusterIP 172.30.192.185 <none> 5432/TCP 64m\n",
"service/redis ClusterIP 172.30.85.230 <none> 6379/TCP 64m\n",
"service/feast-example-offline ClusterIP 172.30.13.49 <none> 443/TCP 5s\n",
"service/feast-example-online ClusterIP 172.30.250.213 <none> 443/TCP 5s\n",
"service/feast-example-registry ClusterIP 172.30.83.213 <none> 443/TCP 5s\n",
"service/postgres ClusterIP 172.30.154.200 <none> 5432/TCP 29s\n",
"service/redis ClusterIP 172.30.207.176 <none> 6379/TCP 29s\n",
"\n",
"NAME READY UP-TO-DATE AVAILABLE AGE\n",
"deployment.apps/feast-example 1/1 1 1 63m\n",
"deployment.apps/postgres 1/1 1 1 64m\n",
"deployment.apps/redis 1/1 1 1 64m\n",
"deployment.apps/feast-example 0/1 1 0 5s\n",
"deployment.apps/postgres 1/1 1 1 29s\n",
"deployment.apps/redis 1/1 1 1 29s\n",
"\n",
"NAME DESIRED CURRENT READY AGE\n",
"replicaset.apps/feast-example-6b4b57959d 1 1 1 63m\n",
"replicaset.apps/postgres-847c9b5c4f 1 1 1 64m\n",
"replicaset.apps/redis-574b9b57 1 1 1 64m\n",
"replicaset.apps/feast-example-6b4b57959d 1 1 0 5s\n",
"replicaset.apps/postgres-847c9b5c4f 1 1 1 29s\n",
"replicaset.apps/redis-574b9b57 1 1 1 29s\n",
"deployment.apps/feast-example condition met\n"
]
}
Expand All @@ -284,15 +283,15 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME STATUS AGE\n",
"example Ready 63m\n"
"example Ready 14s\n"
]
}
],
Expand All @@ -309,7 +308,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -342,7 +341,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -370,25 +369,11 @@
" DUMMY_ENTITY = Entity(\n",
"/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",
"/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 'zipcode'.\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 'dob_ssn'.\n",
" entity = cls(\n",
"Applying changes for project credit_scoring_local\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 'zipcode'.\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 'dob_ssn'.\n",
" entity = cls(\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",
" 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",
"Removing infrastructure for \u001b[1m\u001b[31mcredit_history\u001b[0m\n",
"Removing infrastructure for \u001b[1m\u001b[31mzipcode_features\u001b[0m\n"
"Deploying infrastructure for \u001b[1m\u001b[32mdriver_hourly_stats_fresh\u001b[0m\n"
]
}
],
Expand All @@ -399,7 +384,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -442,7 +427,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand All @@ -458,13 +443,6 @@
"source": [
"!kubectl exec deployment/feast-example -itc registry -- feast version"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Loading

0 comments on commit 852ee0f

Please sign in to comment.