Openshift

Testing OpenShift Enterprise V3

So much for testing OpenShift Origin with Vagrant on OS X, because it does not work yet. Let’s evaluate OpenShift Enterprise v3 on RHEL! First go get yourself an eval license. The OpenShift VMs will run RHEL7.1 and ride on top of RHEV.

Documentation

First off, here are some starting points to get oriented and acquainted with OpenShift.

Docs

Videos

Continue reading

Testing Openshift Origin V3 with Ansible and Vagrant on OS X

The OpenShift Origin project provides Ansible playbooks and roles for installing OpenShift on various infratructure. I’m going to try out the example using Vagrant and VirtualBox on my Mac. I’m not very familiar with Vagrant or OpenShift v3 yet, so I’m just going to think out loud and see how it goes. I’ve also recently started testing OpenShift Enterprise.

Some Background

OpenShift Origin is an opensource PaaS (platform as a service). It is the upstream project for Red Hat’s OpenShift Online and OpenShift Enterprise. Version 3 of the OpenShift platform is a complete rewrite just launched in June 2015. It now utilizes Docker as the container engine and Kubernetes as the orchestrator. The Enterprise edition uses Red Hat Atomic Enterprise Platform as the underlying OS. The example used in this post will create Vagrant CentOS boxes.

Continue reading

Openshift V2 and Flask with Virtualenv on OS X

Create a flask app for Openshift with a matching local python virtualenv to perform local testing.

In this case we’ll use Python 2.7 on Mac OS X 10.9.

Overview of the steps

  1. Install Homebrew
  2. Install Python Development Environment on Mac OS X
  3. Install rhc client tools.
  4. Install and Configure a Python Flask for OpenShift

Installing Homebrew

Ready the system for Homebrew

  • First unhide ~/Library folder.

    1. Open Finder
    2. Press shift-command-H
    3. Press command-J
    4. Check Show Library Folder
  • Now Setup shell environment Some of these settings are only relevant to later steps, but go ahead and put them all in now.

    Continue reading