Deploys OpenShift Origin to an existing Kubernetes cluster. This is arguably the most ideal way to deploy OpenShift, for a few reasons:
This system requires the following things:
This is the process this system uses to deploy OpenShift:
openshift-origin
namespace.PersistentVolume
created by the user.PersistentVolumeClaim
to claim this storage.The cli allows you to interactively edit the config, among other features.
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.