Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How to deploy the Offline Knowledge Portal on OpenShift

October 3, 2025
Abdoul Djire Teg-Wende Regis Nare
Related topics:
ContainersDisconnected environments
Related products:
Red Hat OpenShift

    The Red Hat Offline Knowledge Portal is a game-changer for anyone using Red Hat products in disconnected or low-bandwidth scenarios. It provides a concise and current compilation of Red Hat information, encompassing product documentation, knowledge-based articles, CVEs, errata, and security data APIs. This comprehensive collection is delivered as a container image, designed for deployment in environments with limited to no internet connectivity.

    The Red Hat Developer article, How to install Offline Knowledge Portal on a local system, discussed deploying the Red Hat Offline Knowledge Portal as a standalone container. This is suitable for test environments, but an enterprise setting typically requires running the instance from a central location on a Kubernetes platform like Red Hat OpenShift.

    This guide will walk you through deploying the portal on an existing OpenShift cluster.

    Prerequisites

    Before you begin, ensure you meet these key requirements:

    • A fully functional OpenShift cluster with cluster-admin privileges.
    • An active Red Hat Satellite subscription.
    • Red Hat Customer Portal credentials: To download the image and generate your access key, you'll need your Red Hat Customer Portal, Red Hat Developer, or Registry Service Account credentials.
    • An access key generated from the Red Hat Offline Knowledge Portal Access Key Generator.
    • A jump host: A machine that can access the internet (for downloading the image) and your disconnected OpenShift environment (for transferring the image). Once downloaded, it's designed to run completely offline.
    • Podman: We'll use the Podman command-line tool to download, tag, and push the container image. 

    Step 1: Download the container image

    Perform this step on a machine with internet connectivity. You will use Podman to log into the Red Hat registry and pull the portal image.

    1. Log into the Red Hat container registry as follows:

      $ podman login registry.redhat.io 
      # Enter your username and password when prompted. 
      # You should see "Login Succeeded!"
    2. Pull the latest image for the portal. The exact image tag might vary. The rhokp-rhel9:latest is a common one, but you should always verify the latest on the Red Hat Ecosystem Catalog Portal.

      $ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest 

      Note: Ensure you have sufficient disk space. The offline portal can be several GB in size (about 12GB at the time of writing this article).  

    3. Save the image as a .tar file. This file will be transferred to your disconnected environment. 

      $ podman save --format oci-archive -o rhokp.tar registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest

    Step 2: Move the image to your registry

    Transfer the rhokp.tar file to your jump host and then to a registry accessible to your OpenShift cluster.

    1. Transfer the rhokp.tar file to your jump host using a secure method.  
    2. Load the image from the .tar file onto your jump host's local Podman storage.  

      $ podman load -i rhokp.tar
    3. Push the image to your private image registry and have OpenShift pull from there. 

      Note: For more information on tagging and pushing using Podman, see the Podman documentation page.  

    Step 3: Deploy on OpenShift

    With the image available in your environment, you can now deploy the portal as a standard OpenShift workload. You can use the OpenShift web console or the oc CLI. To deploy from the CLI:

    1. Create a new project: Create a dedicated project for the portal. 

      $ oc new-project rhokp-portal  
    2. Create a secret with the access key: This requires your access key to enable full functionality of the portal.  

      $ oc create secret generic access-key --from-literal=access-key=<YOUR_ACCESS_KEY> -n rhokp-portal
    3. Authentication: Ensure you have configured the necessary authentication to access your secured or private registry. See the OpenShift documentation on allowing pods to reference images from secured registries.
    4. Create a deployment: Create a rhokp.yaml manifest to deploy the portal. The following example creates a simple deployment and service. You may need to customize this for your specific environment, including adding persistent storage or custom routes. Additionally, you need to update the sample YAML file to reflect the actual container image in your registry.
    apiVersion: v1
    kind: Service
    metadata:
      name: rhokp-portal
      namespace: rhokp-portal
    spec:
      selector:
        app: rhokp-portal
      ports:
        - protocol: TCP
          port: 8080
          targetPort: 8080
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: rhokp-portal
      namespace: rhokp-portal
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: rhokp-portal
      template:
        metadata:
          labels:
            app: rhokp-portal
        spec:
          containers:
            - name: rhokp-portal
              image: <Your-Registry>/<example_repository>/image:latest
              env:
                # This references the secret created in the previous step
                - name: ACCESS_KEY
                  valueFrom:
                    secretKeyRef:
                      name: access-key
                      key: access-key
              ports:
                - containerPort: 8080
                  protocol: TCP
      $ oc create -f rhokp.yaml -n rhokp-portal

    It may take some time for the pod to spin up and become ready.

    1. Expose the service: Create a route to expose the portal to internal or external users. A route is the easiest method for a basic setup. 

      $ oc expose svc rhokp-portal --port=8080 -n rhokp-portal 
      $ oc get route -n rhokp-portal 

      Note: Refer to the OpenShift documentation for configuring secured and unsecured routes.

    Step 4: Access the portal

    After you have created the deployment and route, you can access the Offline Knowledge Portal at the URL provided by the route. You'll be presented with a searchable interface, as shown in Figure 1.

    The Offline Knowledge Portal search interface.
     Figure 1: This shows the user interface of the Red Hat Offline Knowledge Portal.

    Next steps

    The Red Hat Offline Knowledge Portal offers a robust solution for users operating in disconnected or low-bandwidth environments, providing a comprehensive collection of Red Hat information locally. We demonstrated the process of deploying Offline Knowledge Portal on an OpenShift cluster, from downloading the container image and moving it to your registry, to deploying and accessing the portal within your OpenShift environment. By following these steps, you can leverage Offline Knowledge Portal to efficiently browse product documentation, search for error codes, look up CVEs, and check product lifecycles, all from a local container. For further details, refer to the product page.

    Related Posts

    • How to install Offline Knowledge Portal on a local system

    • Disconnected OpenShift Virtualization made easy

    • Using .NET Core in a "Disconnected" Environment

    • How to verify container signatures in disconnected OpenShift

    Recent Posts

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    What’s up next?

    In disconnected environments, especially those with stringent security requirements, OpenShift installations require additional consideration, including mirroring of all necessary content locally and steps to simulate an internet connection for OpenShift's functionality. This cheat sheet shows you how to perform an OpenShift disconnected installation in a secured environment.

    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.