Verify that the model-serving runtime is ready
You can use the OpenShift CLI (oc) to verify that your model-serving runtime is ready for use by checking that the downstream generation activities are complete.
-
You configured the
ServingRuntimesCR. -
You created the
InferenceServiceCR. -
You have root user access to your machine.
-
The OpenShift CLI (
oc) is installed.
-
Check that the AI model is deployed in your custom namespace by running the following command:
$ oc get -n ai-demo deploymentExample outputNAME READY UP-TO-DATE AVAILABLE AGE ovms-resnet50-predictor 1/1 1 1 72s -
Confirm that your deployment is in progress by running the following command:
$ oc rollout status -n ai-demo deployment ovms-resnet50-predictorExample outputdeployment "ovms-resnet50-predictor" successfully rolled out -
Check that the AI model workload pod is deployed in your custom namespace by running the following command:
$ oc get -n ai-demo podExample outputNAME READY STATUS RESTARTS AGE ovms-resnet50-predictor-6fdb566b7f-bc9k5 2/2 Running 1 (72s ago) 74s -
Check for the service that KServe created by running the following command:
$ oc get svc -n ai-demoExample outputNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE ovms-resnet50-predictor ClusterIP None <none> 80/TCP 119s
-
Create a
Routeobject so that your applications can reach the MicroShift node.