Skip to content

gskumar1010/quarkus-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started with Quarkus

This is a minimal CRUD service exposing a couple of endpoints over REST.

Under the hood, this demo uses:

  • RESTEasy to expose the REST endpoints
  • REST-assured and JUnit 5 for endpoint testing

In this demo, you will learn how to build a basic Quarkus application using the Quarkus Helm Chart.

Add the Red Hat Helm Chart Repository

Be sure to add the Red Hat Helm Chart Repository if deploying via the Helm CLI:

helm repo add redhat https://redhat-developer.github.io/redhat-helm-charts

This repository is already configured if you are installing via the OpenShift UI.

Run Quarkus in JVM mode

The Quarkus Helm Chart is configured to run Quarkus in JVM mode by default. Simply install the Helm chart to build and deploy your Quarkus application:

helm install quarkus-app redhat/quarkus

To configure your installation beyond the defaults, take a look at the Quarkus chart's values.

Run Quarkus as a native executable

To run Quarkus as a native executable, change the build.mode value to native in a values file:

build:
  mode: native

This will generate an inline Dockerfile to compile your application in native mode.

To install, simply run the following command:

helm install quarkus-app redhat/quarkus --values values.yaml

To configure your installation beyond the defaults, take a look at the Quarkus chart's values.

About

A quickstart using Red Hat's Quarkus Helm Chart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.7%
  • Java 42.0%
  • Shell 1.3%