Skip to content

Commit

Permalink
Update serving runtime version for 0.12 release and add some notes (#354
Browse files Browse the repository at this point in the history
)

* Fix few bugs, add quick install failure note and update docs for release 0.12.0

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Add warning about control plane namespaces

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

* Resolve comments

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>

---------

Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 authored Apr 4, 2024
1 parent a833bbb commit f1fc5f9
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 26 deletions.
3 changes: 1 addition & 2 deletions docs/admin/kubernetes_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ First in ConfigMap `inferenceservice-config` modify the `defaultDeploymentMode`
kubectl patch configmap/inferenceservice-config -n kserve --type=strategic -p '{"data": {"deploy": "{\"defaultDeploymentMode\": \"RawDeployment\"}"}}'
```

then modify the `ingressClassName` in `ingress` section to point to `IngressClass` name created in step 1.

then modify the `ingressClassName` in `ingress` section to point to `IngressClass` name created in [step 1](#1-install-istio).
```yaml
ingress: |-
{
Expand Down
4 changes: 1 addition & 3 deletions docs/get_started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The [Kubernetes CLI (`kubectl`)](https://kubernetes.io/docs/tasks/tools/install-

## Install the KServe "Quickstart" environment
1. After having kind installed, create a `kind` cluster with:

```bash
kind create cluster
```
Expand All @@ -38,6 +37,5 @@ The [Kubernetes CLI (`kubectl`)](https://kubernetes.io/docs/tasks/tools/install-
3. You can then get started with a local deployment of KServe by using _KServe Quick installation script on Kind_:

```bash
curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.11/hack/quick_install.sh" | bash
curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.12/hack/quick_install.sh" | bash
```

4 changes: 4 additions & 0 deletions docs/get_started/first_isvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ is provided as reference.
storageUri: "gs://kfserving-examples/models/sklearn/1.0/model"
EOF
```
!!! Warning
Do not deploy `InferenceServices` in control plane namespaces (i.e. namespaces with `control-plane` label). The webhook is configured
in a way to skip these namespaces to avoid any privillage escalations. Deploying InferenceServices to these namespaces will result in the storage initializer not being
injected into the pod, causing the pod to fail with the error `No such file or directory: '/mnt/models'`.

### 3. Check `InferenceService` status.

Expand Down
Loading

0 comments on commit f1fc5f9

Please sign in to comment.