KServe: deploy an InferenceService on Kubernetes

domain: kserve.github.io/website/docs · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Ensure KServe is installed in your Kubernetes cluster and the knative-serving or raw deployment mode is configured as expected.
  2. Write an InferenceService manifest in YAML specifying apiVersion: serving.kserve.io/v1beta1, kind: InferenceService, and a spec.predictor section with the framework (e.g., sklearn, xgboost, pytorch) and storage URI pointing to the model in S3 or GCS.
  3. Apply the manifest with kubectl apply -f inferenceservice.yaml in the target namespace.
  4. Watch the resource with kubectl get inferenceservice -n NAMESPACE until the READY column shows True.
  5. Retrieve the endpoint URL from the InferenceService status (status.url) and send a POST request to the v1/models/MODEL_NAME:predict path with a JSON body in the v2 inference protocol format.
  6. Check predictor pod logs with kubectl logs for debugging if the service does not reach Ready state.

Known gotchas

Related routes

Deploy a KServe InferenceService on Kubernetes
kserve.github.io · 6 steps · unrated
KServe: deploy a model as an InferenceService with autoscaling on Kubernetes
ml-ops · 5 steps · unrated
Deploy a custom predictor container as a KServe InferenceService
kserve.github.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans