Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Deploy Quarkus applications directly to OpenShift using S2I

June 7, 2023
Yashwanth Maheshwaram
Related topics:
JavaKubernetesQuarkus
Related products:
Developer SandboxRed Hat build of QuarkusRed Hat OpenShift

Share:

Quarkus is a Kubernetes-native Java framework that offers a great developer experience, providing extensions for most modern development and management needs while enabling you to write imperative and reactive code. Red Hat OpenShift is a unified platform to run your applications at scale while offering a great developer experience for managing applications and their infrastructure. Quarkus and OpenShift are a great combination. Simply put, the combination of OpenShift and Quarkus helps application engineering teams to become highly productive and have a reliable runtime for their applications at scale.

This article shows how you can quickly deploy your applications to OpenShift without worrying about build configs, pipelines, YAML, and deployment configs. We'll use the Source2Image (S2I) approach, in which you specify only the Git repo where the code sits, and OpenShift automatically deploys and make the application available at a URL.

Deploy your Quarkus application to OpenShift

For the demonstration, we'll use the Developer Sandbox for Red Hat OpenShift (available as a no-cost subscription) to deploy our Quarkus application to OpenShift.

Follow the instructions below to create a basic application. Once your application is ready, you'll publish it to a Git repository. For the sake of simplicity, let’s use a readily available Quarkus repository from https://github.com/quarkusio/quarkus-quickstarts.

  1. Sign up for the free Developer Sandbox for Red Hat OpenShift.
  2. Start your Developer Sandbox (Figure 1).
    Getting started in the Developer Sandbox for Red Hat OpenShift.
    Figure 1: Starting your free Developer Sandbox instance.
  3. Choose the Import from Git option under the +Add section (Figure 2).
    Import code from your Git repository to the Developer Sandbox for Red Hat OpenShift.
    Figure 2: Select the Import from Git option in the Developer Sandbox.
  4. Input your Git repo URL (Figure 3). Once you input the repo URL, OpenShift automatically fills in the config to run your application. In this case, we are working with a directory in a larger repository and hence we specify the directory path where our application exists.
    Enter the Git repo URL for the Quarkus quick start.
    Figure 3: Enter the Git repository URL.
  5. Click Create (Figure 4).
    The Create button is marked in the Developer Sandbox UI.
  6. Wait for OpenShift to build your application (Figure 5).
    Waiting for the application to build in OpenShift.
    Figure 5: The build in progress.
  7. Once the process is done, click on the upper-right icon to open your application URL, as shown in Figure 7.
    The URL icon displayed in the upper-right corner of the Quarkus application.
    Figure 7: Click the icon to open the application URL.
  8. Congrats—your Quarkus application is now available on OpenShift! (Figure 8).
    The Quarkus application upon successful creation.
    Figure 8: The Quarkus application upon successful deployment.

Conclusion

You can replicate the same steps on the cluster to deploy Quarkus applications on OpenShift. For more information and to stay updated about Quarkus on OpenShift, visit the Red Hat build of Quarkus product page.

Last updated: September 19, 2023

Related Posts

  • Build smaller container images using S2I

  • Getting started with OpenShift Java S2I

  • Pipenv and S2I: A better way to manage Python dependencies in containers

  • How to add libraries to a Node.js container with S2I

  • Maven mirrors on OpenShift with and without Source to Image (S2I)

Recent Posts

  • How to implement and monitor circuit breakers in OpenShift Service Mesh 3

  • Analysis of OpenShift node-system-admin-client lifespan

  • What's New in OpenShift GitOps 1.18

  • Beyond a single cluster with OpenShift Service Mesh 3

  • Kubernetes MCP server: AI-powered cluster management

What’s up next?

Quarkus for Spring Developers

Learn how to optimize Java for today’s compute and runtime demands with Quarkus. Quarkus for Spring Developers introduces Quarkus to Java developers, with a special eye for helping those familiar with Spring’s conventions make a quick and easy transition.

Get the e-book
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
© 2025 Red Hat

Red Hat legal and privacy links

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

Report a website issue