1.5. Installing the Red Hat OpenShift AI RPM


To use AI models in MicroShift deployments, install the Red Hat OpenShift AI (Red Hat OpenShift AI Self-Managed) RPM with a new MicroShift installation. You can also install the RPM on an existing MicroShift instance if you restart the system.

注意

The microshift-ai-model-serving RPM contains manifests that deploy kserve, with the raw deployment mode enabled, and ServingRuntimes objects in the redhat-ods-applications namespace.

重要

Red Hat OpenShift AI is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see the following link:

Prerequisites

  • The system requirements for installing MicroShift have been met.
  • You have root user access to your machine.
  • The OpenShift CLI (oc) is installed.
  • You configured your LVM VG with the capacity needed for the PVs of your workload.
  • You have the RAM and disk space required for your AI model.
  • You configured the required accelerators, hardware, operating system, and MicroShift to provide the resources your model needs.
  • Your AI model is ready to use.

Procedure

  1. Install the MicroShift AI-model-serving RPM package by running the following command:

    $ sudo dnf install microshift-ai-model-serving
  2. As a root user, restart the MicroShift service by entering the following command:

    $ sudo systemctl restart microshift
  3. Optional: Install the release information package by running the following command:

    $ sudo dnf install microshift-ai-model-serving-release-info
    注意

    The microshift-ai-model-serving-release-info RPM contains a JSON file with image references useful for offline procedures or deploying a copy of a ServingRuntime Custom Resource to your namespace during a bootc image build.

Verification

  • Verify that the kserve pod is running in the redhat-ods-applications namespace by entering the following command:

    $ oc get pods -n redhat-ods-applications

    Example output

    NAME                                        READY   STATUS    RESTARTS   AGE
    kserve-controller-manager-7fc9fc688-kttmm   1/1     Running   0          1h

Next steps

  • Create a namespace for your AI model.
  • Package your model into an OCI image.
  • Configure a model-serving runtime.
  • Verify that your model is ready for inferencing.
  • Make requests against the model server.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部