Skip to content

aureamunoz/red-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

red-service Project

This project aims to be discovered by Stork Kubernetes Service Discovery Quickstart. This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Packaging the application and building and push a container image

The application can be packaged using the following command, with the quarkus.container-image.build=true and quarkus.container-image.push=true, it will build and push a container image. Chek the configuration in the application.properties file.

./mvnw clean package -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true

Two files named kubernetes.json and kubernetes.yml have been generated under the target/kubernetes/ directory.

The generated manifest can be applied to the cluster from the project root using kubectl:

kubectl apply -f target/kubernetes/kubernetes.yml

Now, you should be able to access the red service in a browser. Navigate to http://red-service.127.0.0.1.nip.io/red

Related Guides

  • Kubernetes (guide): Generate Kubernetes resources from annotations
  • RESTEasy JAX-RS (guide): REST endpoint framework implementing JAX-RS and more

Provided Code

RESTEasy JAX-RS

Easily start your RESTful Web Services

Related guide section...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages