diff --git a/csi/GET_STARTED.md b/csi/GET_STARTED.md index 5307c057..eee17eb1 100644 --- a/csi/GET_STARTED.md +++ b/csi/GET_STARTED.md @@ -26,7 +26,7 @@ We assume all [prerequisites](#prerequisites) are satisfied at this point. 3. Setup local deployment of *Kserve* using the provided *Kserve quick installation* script ```bash - curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.12/hack/quick_install.sh" | bash + curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.14/hack/quick_install.sh" | bash ``` 4. Install *model registry* in the local cluster @@ -257,5 +257,5 @@ EOF If you do not have DNS, you can still curl with the ingress gateway external IP using the HOST Header. ```bash SERVICE_HOSTNAME=$(kubectl get inferenceservice iris-model -n kserve-test -o jsonpath='{.status.url}' | cut -d "/" -f 3) - curl -v -H "Host: ${SERVICE_HOSTNAME}" -H "Content-Type: application/json" "http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/iris-v1:predict" -d @/tmp/iris-input.json + curl -v -H "Host: ${SERVICE_HOSTNAME}" -H "Content-Type: application/json" "http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/iris-model:predict" -d @/tmp/iris-input.json ``` diff --git a/manifests/kustomize/options/csi/clusterstoragecontainer.yaml b/manifests/kustomize/options/csi/clusterstoragecontainer.yaml new file mode 100644 index 00000000..1731bbc0 --- /dev/null +++ b/manifests/kustomize/options/csi/clusterstoragecontainer.yaml @@ -0,0 +1,20 @@ +apiVersion: "serving.kserve.io/v1alpha1" +kind: ClusterStorageContainer +metadata: + name: model-registry-storage-initializer-2 +spec: + container: + name: storage-initializer + image: kubeflow/model-registry-storage-initializer:latest + env: + - name: MODEL_REGISTRY_BASE_URL + value: "model-registry-service.kubeflow.svc.cluster.local:8080" + resources: + requests: + memory: 100Mi + cpu: 100m + limits: + memory: 1Gi + cpu: "1" + supportedUriFormats: + - prefix: model-registry:// diff --git a/manifests/kustomize/options/csi/kustomization.yaml b/manifests/kustomize/options/csi/kustomization.yaml new file mode 100644 index 00000000..f453382b --- /dev/null +++ b/manifests/kustomize/options/csi/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: kubeflow + +resources: +- clusterstoragecontainer.yaml