View on GitHub

wildfly-charts

Helm Charts for WildFly

Helm logo  WildFly logo

Install Helm Repository for WildFly Chart

The wildfly Chart can be installed from http://docs.wildfly.org/wildfly-charts/

$ helm repo add wildfly http://docs.wildfly.org/wildfly-charts/
"wildfly" has been added to your repositories

$ helm search repo wildfly
NAME                    CHART VERSION   APP VERSION     DESCRIPTION
wildfly/wildfly         1.5.2           25.0            A Helm chart to build and deploy WildFly applic...

Compatibility with WildFly S2I images

The 2.x Helm Chart for WildFly relies on the new source-to-image (S2I) from WildFly that is available at quay.io/wildfly/wildfly-s2i-jdk11. It is not compatible with the legacy S2I image at quay.io/wildfly/wildfly-centos7.

You can continue to use the 1.x Helm Chart for WildFly with the legacy S2I images by specifying a version when you install with helm. For example, to use the latest 1.x release of the Helm Chart, you can use:

helm install my-legacy-app -f app.yaml wildfly/wildfly --version ^1.x

Update the Helm Repository for WildFly

The wildfly Helm chart uses the WildFly S2I images corresponding to its appVersion. To ensure that you are using the latest release from WildFly to build and deploy your application images, you need to update the wildfly chart by running the command:

$ helm repo update
...Successfully got an update from the "wildfly" chart repository

Install a Helm Release

We can build and deploy the microprofile-config quickstart using Bootable Jar with this example file:

$ helm install microprofile-config-app \
    -f https://raw.githubusercontent.com/wildfly/wildfly-charts/main/examples/microprofile-config/microprofile-config-app.yaml \
    wildfly/wildfly
NAME: microprofile-config-app
LAST DEPLOYED: Tue Mar  9 11:57:33 2021
NAMESPACE: jmesnil1-dev
STATUS: deployed
REVISION: 1
TEST SUITE: None

Documentation

A complete documentation of the widlfly Chart is available in its README.