Page MenuHomePhabricator

KFServing + Dex Inference

Authored By
ACraze
May 7 2021, 6:32 PM
Size
491 B
Referenced Files
None
Subscribers
None

KFServing + Dex Inference

MODEL_NAME=tf-sample
INPUT_PATH=@./tf-input.json
INGRESS_HOST=$(minikube ip)
CLUSTER_IP=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.clusterIP}')
SERVICE_HOSTNAME=$(kubectl -n kubeflow-user get inferenceservice ${MODEL_NAME} -o jsonpath='{.status.url}' | cut -d "/" -f 3)
SESSION=<insert session cookie>
curl -v -H "Host: ${SERVICE_HOSTNAME}" -H "Cookie: authservice_session=${SESSION}" http://${CLUSTER_IP}/v1/models/${MODEL_NAME}:predict -d ${INPUT_PATH}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9067702
Default Alt Text
KFServing + Dex Inference (491 B)

Event Timeline