Customizing the IBM Streams application image
If your IBM®
Streams application requires dependencies that aren't included in the default application image, you must
create a custom application image and enable it for use by your Streams jobs.
Before you begin
To build a custom application image, you must do the following tasks:
- Load the Streams images into an image registry.
- Set up an image build system with Docker installed. You must be able to access and log in to the image registry where the Streams images are located.
About this task
The default application image is built from Red Hat Universal Base Image (UBI). It contains the
runtime code that is needed to run a Streams application and the streamtool commands that are required by some specialized
toolkits. The image sets up the streamsapp (1000320901) operating system user for
running applications.
Your Streams application might require dependencies, such as software packages or libraries, that are not included in the default application image that Streams provides. To enable your application to run, you must create a custom application image based on the default application image that is provided by Streams.
Procedure
What to do next
- You can specify your image for the default application image in the
IBMStreamsInstancemanifest through theimage.applicationandimage.applicationTagparameters. For more information, see Using a customIBMStreamsInstancemanifest. - You can specify your image in an application resource template. For instructions, see Creating an application resource template. After the application resource template is created, you can configure submission-time parameters to optimize job deployment to use one or more application resource templates. For more information, see Configuring submission-time parameters to optimize job deployment.