Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Goal

GraalVM is a virtual machine capable of executing code in different programming languages, applying certain optimizations in the compilation process, and making the performance of the programs significantly better. In addition, it has the ability to create native images for processes that require a quick startup, with the minimum need for dependencies, and can be executed without the need for, for example, a specific runtime.

How to use it

From the Platform, we have created a new functionality for creating microservices templates, where you can reference your microservice uploaded to Git. Here, if your microservice is programmed with Java17, you can select the option to use GraalVM for image creation. To do this, you must access the Development -> Microservice Template menu:

Here you will have to indicate the repository in which the Git project with the microservice is located, with the user and private token to access it. You also need to indicate the relative path of the project, where the pom.xml is located, and since you have selected the GraalVM option, you will not need the Dockerfile to create the image once you have created the microservice from this template.

To create the microservice, simply select the created template as the microservice template. To do this, access the Development -> Microservices Management menu.

For the creation of the microservice, apart from selecting the template with your microservice in GraalVM in the selector, you will need to enter the necessary information from the Git where you want to copy the repository, the Jenkins and the Rancher.

  • No labels