Skip to content

Commit

Permalink
Update deployment_type documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcarvalho committed Apr 11, 2017
1 parent 61d1a8c commit 79456a7
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
32 changes: 17 additions & 15 deletions DEPLOYMENT_TYPES.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
#Deployment Types
# Deployment Types

This module supports OpenShift Origin and OpenShift Enterprise Each deployment
type sets various defaults used throughout your environment.
This repository supports OpenShift Origin and OpenShift Container Platform.

The table below outlines the defaults per `deployment_type`.
Various defaults used throughout the playbooks and roles in this repository are
set based on the deployment type configuration (usually defined in an Ansible
hosts file).

| deployment_type | origin | enterprise (< 3.1) | openshift-enterprise (>= 3.1) |
|-----------------------------------------------------------------|------------------------------------------|----------------------------------------|----------------------------------|
| **openshift.common.service_type** (also used for package names) | origin | openshift | |
| **openshift.common.config_base** | /etc/origin | /etc/openshift | /etc/origin |
| **openshift.common.data_dir** | /var/lib/origin | /var/lib/openshift | /var/lib/origin |
| **openshift.master.registry_url openshift.node.registry_url** | openshift/origin-${component}:${version} | openshift3/ose-${component}:${version} | aos3/aos-${component}:${version} |
| **Image Streams** | centos | rhel + xpaas | rhel |
The table below outlines the defaults per `openshift_deployment_type`:

| openshift_deployment_type | origin | enterprise (< 3.1) | openshift-enterprise (>= 3.1) |
|-----------------------------------------------------------------|------------------------------------------|----------------------------------------|----------------------------------------|
| **openshift.common.service_type** (also used for package names) | origin | openshift | |
| **openshift.common.config_base** | /etc/origin | /etc/openshift | /etc/origin |
| **openshift.common.data_dir** | /var/lib/origin | /var/lib/openshift | /var/lib/origin |
| **openshift.master.registry_url openshift.node.registry_url** | openshift/origin-${component}:${version} | openshift3/ose-${component}:${version} | openshift3/ose-${component}:${version} |
| **Image Streams** | centos | rhel + xpaas | rhel |

**NOTE** `enterprise` deployment type is used for OpenShift Enterprise version
3.0.x OpenShift Enterprise deployments utilizing version 3.1 and later will
make use of the new `openshift-enterprise` deployment type. Additional work to
migrate between the two will be forthcoming.

**NOTES**:

- `enterprise` deployment type is used for OpenShift Enterprise version
3.0.x.
- `openshift-enterprise` deployment type is used for OpenShift Enterprise (and now OpenShift Container Platform) version 3.1 and later.
2 changes: 1 addition & 1 deletion README_CONTAINERIZED_INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and _/tmp_. Be mindful of this when passing in files to be processed by `oc` or

### Requisite Images

Based on your deployment_type the installer will make use of the following
Based on your `openshift_deployment_type` the installer will make use of the following
images. Because you may make use of a private repository we've moved the
configuration of docker additional, insecure, and blocked registries to the
beginning of the installation process ensuring that these settings are applied
Expand Down
2 changes: 1 addition & 1 deletion inventory/byo/hosts.origin.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ansible_ssh_user=root
# Debug level for all OpenShift components (Defaults to 2)
debug_level=2

# deployment type valid values are origin, online, atomic-enterprise and openshift-enterprise
# Specify the deployment type. Valid values are origin and openshift-enterprise.
openshift_deployment_type=origin

# Specify the generic release of OpenShift to install. This is used mainly just during installation, after which we
Expand Down
2 changes: 1 addition & 1 deletion inventory/byo/hosts.ose.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ansible_ssh_user=root
# Debug level for all OpenShift components (Defaults to 2)
debug_level=2

# deployment type valid values are origin, online, atomic-enterprise, and openshift-enterprise
# Specify the deployment type. Valid values are origin and openshift-enterprise.
openshift_deployment_type=openshift-enterprise

# Specify the generic release of OpenShift to install. This is used mainly just during installation, after which we
Expand Down
8 changes: 4 additions & 4 deletions roles/openshift_repos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ rhel-7-server-extra-rpms, and rhel-7-server-ose-3.0-rpms repos.
Role Variables
--------------

| Name | Default value | |
|-------------------------------|---------------|----------------------------------------------|
| openshift_deployment_type | None | Possible values enterprise, origin, online |
| openshift_additional_repos | {} | TODO |
| Name | Default value | |
|-------------------------------|---------------|------------------------------------|
| openshift_deployment_type | None | Possible values enterprise, origin |
| openshift_additional_repos | {} | TODO |

Dependencies
------------
Expand Down

0 comments on commit 79456a7

Please sign in to comment.