Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 3. Fuse on OpenShift

Fuse on OpenShift enables you to deploy Fuse applications on OpenShift Container Platform (OCP).

3.1. Supported version of OpenShift

For details of the supported version (or versions) of OpenShift Container Platform to use with Fuse on OpenShift, see the Supported Configurations page.

3.2. Supported images

Fuse on OpenShift provides the following Docker-formatted images:

  • fuse7/fuse-java-openshift — Spring Boot
  • fuse7/fuse-karaf-openshift — Apache Karaf
  • fuse7/fuse-eap-openshift — Red Hat JBoss Enterprise Application Platform
  • fuse7/fuse-console — Hawtio console

3.3. New features in Fuse 7.1

The main new features of Fuse on OpenShift in version 7.1 are:

XA transactions with scalable deployments
This feature is illustrated by the spring-boot-camel-xa quickstart and template, which demonstrates how to run a Camel service on Spring Boot that supports two external transactional resources: a JMS resource (AMQ), and a database (PostgreSQL).
End-to-end encryption for the Fuse Management Console
The Fuse Management Console now supports end-to-end TLS encryption for communication within the OpenShift cluster, ensuring that communication is encrypted along the entire route from the console.

3.4. Technology Preview features

The following features of Fuse on OpenShift are Technology Preview only and are not supported in Fuse 7.1:

Prometheus metrics
If you already have an installation of Grafana and Prometheus, you can use it to monitor Fuse applications deployed on OpenShift.

3.5. Important notes

Important notes for the Fuse 7.1 release of the Fuse on OpenShift distribution:

OCP 3.10 clusters must use OCP version 3.10.34 or later
If you are using Fuse on OpenShift with OCP 3.10, you must install OCP 3.10.34 or later to avoid encountering this known issue, Bug 1614493.
CDK 3.5 is not compatible with Fuse 7.1 on OpenShift

If you are using the Red Hat Container Development Kit (CDK), we recommend that you use CDK 3.6. Version 3.5 of CDK is affected by the following known issues:

  • ENTESB-9514 — the default version of OCP used by CDK 3.5 is incompatible with Fuse 7.1 on OpenShift.
  • Bug 1614493 — CDK 3.5 uses a version of OCP that is affected by this known issue, which causes builds to get stuck.
Deploying Maven quickstarts using the Fabric8 Maven plugin

In Fuse 7.1, the Maven quickstarts now require that you select the openshift profile when building and deploying. To build and deploy one of the Maven quickstarts, you should now use the command:

mvn fabric8:deploy -Popenshift
Redeploying an application using the Fabric8 Maven plugin

When deploying a Fuse on OpenShift application to OpenShift Container Platform using the Fabric8 Maven plugin, you cannot redeploy the application using just the command mvn fabric8:deploy. Use the following sequence of commands instead:

mvn fabric8:undeploy
mvn fabric8:deploy
Red Hat Enterprise Linux is the only supported operating system
All of the provided Fuse on OpenShift images are based on the Red Hat Enterprise Linux O/S.