Skip to content

Commit

Permalink
Merge branch 'feature/feature-store-marketplace-operator' of github.c…
Browse files Browse the repository at this point in the history
…om:oracle/accelerated-data-science into feature/feature-store-marketplace-operator
  • Loading branch information
KshitizLohia committed Feb 5, 2024
2 parents 1c53f44 + 3bf0175 commit fe75df4
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion ads/feature_store/docs/source/setup_feature_store.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ _____________________________________________________________________

We can manually export images to OCIR using Marketplace UI and then deploy the obtained Helm Chart. Optionally, we can also setup `Feature Store API Gateway stack <https://github.com/oracle-samples/oci-data-science-ai-samples/blob/main/feature_store/README.md>`_ for authentication and authorization.


:doc:`Deployment using Container Service <./user_guides.setup.container>`
_________________________________________________________________________
This is the quickest way to get hands on with feature store. We can manually export images to OCIR using Marketplace UI and then deploy the obtained images using the container service stack.

.. _Database configuration:

Database configuration
Expand All @@ -36,7 +41,6 @@ Here ``feature-store-dynamic-group`` is the dynamic group corresponding to the i
.. seealso::
`Dynamic groups <https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm#:~:text=Dynamic%20groups%20allow%20you%20to,against%20Oracle%20Cloud%20Infrastructure%20services.>`_


.. _Policies:
Policies
---------
Expand Down Expand Up @@ -77,3 +81,4 @@ Known Issues

./user_guides.setup.feature_store_operator
./user_guides.setup.helm_chart
./user_guides.setup.container
8 changes: 8 additions & 0 deletions ads/feature_store/docs/source/user_guides.setup.container.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
================================================
Deployment using Container Service (Recommended for new setup)
================================================

The Feature Store container service stack helps in quickly setting up OCI feature store using the OCI container service. The stack is deployed using the Oracle Resource Manager service.
For details please refer the documentation on `GitHub <https://github.com/oracle-samples/oci-data-science-ai-samples/tree/main/feature_store/container_terraform>`_

.. image:: figures/oci_fs_container.png
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
======================================================
Deployment Using Feature Store Operator (Recommended)
Deployment Using Feature Store Operator (Recommended for deploying in existing cluster)
======================================================

The Feature Store marketplace operator uses your current infrastructure to set up a Feature Store. It helps in setting up the Feature Store API server in your exisiting OKE cluster and MySQL database.
Expand Down
2 changes: 1 addition & 1 deletion ads/opctl/backend/marketplace/helm_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def check_helm_pull(helm_chart_url: str, version: str) -> HelmPullStatus:
stderr = result.stderr.decode("utf-8")
if result.returncode == 0:
return HelmPullStatus.SUCCESS
elif "unauthorized" in stderr.lower():
elif "unauthorized" in stderr.lower() or "forbidden" in stderr.lower():
logger.debug(stderr)
return HelmPullStatus.AUTHENTICATION_FAILURE
else:
Expand Down

0 comments on commit fe75df4

Please sign in to comment.