Code Monkey home page Code Monkey logo

ocp-install-demo's Introduction

OpenShift Container Platform Install Demo

If you are looking to develop containerized applications, the OpenShift Container Plaform (OCP) can help you by providing private PaaS (Cloud) environment you can install locally. It includes the same container development and run-time tools used to create and deploy containers for large data centers.

This project requires a docker engine, OpenShift command line tools and VirtualBox, but these checks happen when you run the installation and point you to what is missing. It also checks that you have the right versions running too.

Pro Tip: Pay close attention to conosle output, will guide you to dependencies you need if missing. These dependencies are listed here and the install provides pointers to downloads if missing:

1. VirtualBox for Windows and OSX
2. Docker engine version 17.03
3. OpenShift Client (oc) v3.5.5.5

Install on your machine

  1. Download and unzip.

  2. Run 'init.sh' or 'init.bat' file, then sit back. (Note: 'init.bat' must be run with Administrative privileges.)

  3. Follow displayed instructions to log in to your brand new OpenShift Container Platform!

Notes

Log in to the OCP console with:

Developer user:  openshift-dev
Developer pass:  devel

Admin user: admin
Admin pass: admin

Persisitence is enabled, so to shutdown and restart the openshift cluster with your projects in place DO NOT run 'docker-machine rm -f openshift' or use init.sh / init.bat, instead:

# shutdown using:
#
$ oc cluster down --docker-machine=openshift
$ docker-machine stop openshift

# restart use the existing data and configuration:
#
$ docker-machine start openshift
$ oc cluster up --image=registry.access.redhat.com/openshift3/ose --host-data-dir=/var/lib/boot2docker/ocp-data  \
     --docker-machine=openshift --host-config-dir=/var/lib/boot2docker/ocp-config --use-existing-config=true     \
     --host-pv-dir=/var/lib/boot2docker/ocp-pv

Linux errors? If you recieve the following error, on Linux:

Error: did not detect an --insecure-registry argument on the Docker daemon

Then ensure that the Docker daemon is running with the following argument by:

# Add the following to /etc/sysconfig/docker file and
# restart the docker service:
#
INSECURE_REGISTRY='--insecure-registry 172.30.0.0/16'

This project has an install script that is setup to allow you to re-run it without worrying about previous installations. If you re-run it, it removes old 'openshift' machines and reinstalls for you.

Supporting Articles

Released versions

See the tagged releases for the following versions of the product:

  • v1.7 - OpenShift Container Platform v3.5 based on OpenShift command line tools v3.5.5.5 with persistence enabled for restarts.

  • v1.6 - OpenShift Container Platform v3.5 based on OpenShift command line tools v3.5.5.5.

  • v1.5 - OpenShift Container Platform v3.4 based on OpenShift command line tools v3.4.1.2-fixed.

  • v1.4 - OpenShift Container Platform v3.4 based on OpenShift command line tools v3.4.1.2, added more JBoss product templates.

  • v1.3 - OpenShift Container Platform v3.4 based on OpenShift command line tools v3.4.1.2, added Windows installer option.

  • v1.2 - OpenShift Container Platform v3.4 based on OpenShift command line tools v3.4.1.2, improved docker validation for Linux.

  • v1.1 - OpenShift Container Platform v3.4 based on OpenShift command line tools v3.4.1.2.

  • v1.0 - OpenShift Container Platform v3.3 based on OpenShift command line tools v3.3.1.3.

OCP Video

OCP Login

Cloud Suite

ocp-install-demo's People

Contributors

eschabell avatar sabre1041 avatar wohshon avatar

Watchers

Rostislav Svoboda avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.