Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 2.65 KB

README.md

File metadata and controls

37 lines (30 loc) · 2.65 KB

An AMQ Interconnect for openshift v3

#About Some simple scripts that show how to set up and use the Red Hat Openshift Container Platform.

Important notes:

  • For Red Hat PS MW SAs, this has been validated against rhsademo and this is the recommended platform.
  • Assumes password authentication
  • In general these scripts attempt to do simple validation checks and attempt to prevent uncessary processes. It should be generally safe to rerun any of these at any time without causing any harm.
  • When in doubt, run the clean.sh script

#Prerequisites

You'll need a couple of things for this demo to work. Most of these are standard kit for Red Hat PS MW SAs.

  • an existing installation of Openshift Container Platform: by default this is already configured to use RHSAdemo (maintained by Peter Larsen)
  • the requisite JBoss xPaaS images installed on this instance: by default only standard images are used
  • an account with default privileges on this instance: by default only standard privileges are used
  • sufficient resource quotes (recommend 10 services, 10 pods, 6 CPUs, 6 GB Ram, 6 GB storage): by default minimal resources are needed
  • a local workstation with a (tiny) amount of storage; Fedora 26+ recommended
  • command line tools: bash 4.2+ ; openshift [cli tools](https://access.redhat.com/downloads/content/290 or dnf install -f origin-clients) (user account at access.redhat.com required)

Also recommended:

  • eclipse with openshift, git, maven, and a handful of other plugins; JBoss Developer Studio 10.0+ (user account at access.redhat.com required) recommended as it already has the necessary plugins
  • a web browser; Firefox 52+ recommended

#Workflow

The recommend workflow is

  • clone this repository
  • set your password via an environment variable; if present OPENSHIFT_RHSADEMO_USER_PASSWORD_DEFAULT will be used, otherwise it expects OPENSHIFT_PRIMARY_USER_PASSWORD_DEFAULT
  • verify any settings in config.sh are correct; primarily this will be to point to the correct Openshift instance and setting your username
  • on your local workstation in a bash terminal, run run-demo.sh
    • this script will launch several other setup-*.sh scripts
    • these scripts will output basic information to the terminal describing the steps
    • these scripts will pause and wait for the user to hit enter at various points so the presenter can show items in the web console, discuss the process steps, or other activities
  • run clean-reset.sh to reset the
  • run clean-all.sh to remove any script and openshift artifacts; the eclipse project/artifacts are left in place in case you want to keep them