paralin / openshift-under-kubernetes

A full system for deploying and managing Openshift Origin under an existing Kubernetes cluster.
Apache License 2.0
16 stars 5 forks source link

Openshift under Kubernetes

Deploys OpenShift Origin to an existing Kubernetes cluster. This is arguably the most ideal way to deploy OpenShift, for a few reasons:

Requirements

This system requires the following things:

Deploy Process

This is the process this system uses to deploy OpenShift:

The cli allows you to interactively edit the config, among other features.

Usage

To install it:

$ pip install openshift-under-kubernetes

To use it:

$ openshift-under-kubernetes --help

This will output:

Usage: openshift-under-kubernetes [OPTIONS] COMMAND [ARGS]...

Options:
  --config PATH             kube config path
  --context TEXT            kube context
  --openshift-version TEXT  force openshift version (default 1.1.4)
  --secure / --no-secure    enables https checking
  -y                        auto-answer for all confirmations
  --help                    Show this message and exit.

Commands:
  addclusterrole  Adds a CLUSTER role to a user by directly...
  deploy          Deploy OpenShift to the cluster.
  deployregistry  Deploy an OpenShift Registry to the cluster.
  editconfig      Interactively edits master-config.yaml
  execute         Executes any of the OpenShift commands inside...
  getconfig       Writes the entire openshift config to a...
  info            Show cluster information
  undeploy        Removes OpenShift from the cluster.

You can get started by running openshift-under-kubernetes info to check that the tool can properly communicate with your cluster. Then, use "deploy" to publish a new openshift cluster.