OpenShift Build and Deploy a JEE Application with S2I

From NovaOrdis Knowledge Base
Revision as of 08:04, 25 November 2017 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

Process

Create the Application

oc new-app <name> \
 --param APPLICATION_NAME=<application-name> \
 --param SOURCE_REPOSITORY_URL=<git-url> \ 
 --param SOURCE_REPOSITORY_REF=master \
 --param CONTEXT_DIR=/

This creates:

  • a build configuration
  • an image stream
  • a deployment configuration
  • a route
  • a service