summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-03-14 19:39:59 +0000
committerGerrit Code Review <gerrit@onap.org>2023-03-14 19:39:59 +0000
commit1ca95eead50a3b8994751b013d7b39dc1e5e3562 (patch)
tree97014060a8221b67f432227f7e6d296a86421ba3
parent64da4e7f878c9744a8cd2e6380654a1d3b72ca3c (diff)
parentd1561edf6ffc08b7624a99936f59832cb30ba125 (diff)
Merge "[POLICY] Add Kserve installation as optional add-on"
-rw-r--r--docs/sections/guides/infra_guides/oom_base_config_setup.rst2
-rw-r--r--docs/sections/guides/infra_guides/oom_base_optional_addons.rst41
2 files changed, 42 insertions, 1 deletions
diff --git a/docs/sections/guides/infra_guides/oom_base_config_setup.rst b/docs/sections/guides/infra_guides/oom_base_config_setup.rst
index d228f5df56..dfc247a07d 100644
--- a/docs/sections/guides/infra_guides/oom_base_config_setup.rst
+++ b/docs/sections/guides/infra_guides/oom_base_config_setup.rst
@@ -147,6 +147,8 @@ Verify the installation::
strimzi-cluster-operator-7f7d6b46cf-mnpjr 1/1 Running 0 2m
+.. _oom_base_setup_cert_manager:
+
Install Cert-Manager
********************
diff --git a/docs/sections/guides/infra_guides/oom_base_optional_addons.rst b/docs/sections/guides/infra_guides/oom_base_optional_addons.rst
index b424c65c7d..f795a8664a 100644
--- a/docs/sections/guides/infra_guides/oom_base_optional_addons.rst
+++ b/docs/sections/guides/infra_guides/oom_base_optional_addons.rst
@@ -9,6 +9,7 @@
.. _Istio best practices: https://docs.solo.io/gloo-mesh-enterprise/latest/setup/prod/namespaces/
.. _Istio setup guide: https://istio.io/latest/docs/setup/install/helm/
.. _Kiali setup guide: https://kiali.io/docs/installation/installation-guide/example-install/
+.. _Kserve setup guide: https://kserve.github.io/website/0.10/admin/kubernetes_deployment/
.. _oom_base_optional_addons:
@@ -59,6 +60,8 @@ ONAP is currenty planned to support Istio as default ServiceMesh platform.
Therefor the following instructions describe the setup of Istio and required tools.
Used `Istio best practices`_ and `Istio setup guide`_
+.. _oom_base_optional_addons_istio_installation:
+
Istio Platform Installation
===========================
@@ -179,4 +182,40 @@ For setup the kiali operator is used, see `Kiali setup guide`_
Jaeger Installation
===================
-To be done... \ No newline at end of file
+To be done...
+
+
+Kserve Installation
+********************
+
+KServe is a standard Model Inference Platform on Kubernetes. It supports RawDeployment mode to enable InferenceService deployment with Kubernetes resources. Comparing to serverless deployment it unlocks Knative limitations such as mounting multiple volumes, on the other hand Scale down and from Zero is not supported in RawDeployment mode.
+
+This installation is necessary for the ML models to be deployed as inference service. Once deployed, the inference services can be queried for the prediction.
+
+**Kserve participant component in Policy ACM requires this installation. Kserve participant deploy/undeploy inference services in Kserve.**
+
+Dependent component version compatibility details and installation instructions can be found at `Kserve setup guide`_
+
+Kserve installation requires the following components:
+
+- Istio. Its installation instructions can be found at :ref:`oom_base_optional_addons_istio_installation`
+
+- Cert-Manager. Its installation instructions can be found at :ref:`oom_base_setup_cert_manager`
+
+Installation instructions as follows,
+
+- Create kserve namespace::
+
+ > kubectl create namespace kserve
+
+- Install Kserve::
+
+ > kubectl apply -f https://github.com/kserve/kserve/releases/download/v<recommended-kserve-version>/kserve.yaml
+
+- Install Kserve default serving runtimes::
+
+ > kubectl apply -f https://github.com/kserve/kserve/releases/download/v<recommended-kserve-version>/kserve-runtimes.yaml
+
+- Patch ConfigMap inferenceservice-config as follows::
+
+ > kubectl patch configmap/inferenceservice-config -n kserve --type=strategic -p '{"data": {"deploy": "{\"defaultDeploymentMode\": \"RawDeployment\"}"}}'