heat-templates/openshift-origin/F19
huangtianhua 41927fa086 Use 'openstack' commands instead in docs
Now we suggest to use 'openstack' commands to
replace individual commands of every project.

Change-Id: I47dac03e9da1f00f33bd7caba003de0dd1a110b6
2017-01-03 06:42:36 +00:00
..
aws-template New heat templates for Openshift-Origin deployment using scalability functionality 2014-08-28 13:56:10 +02:00
elements Adds Support for OpenShift Origin v3.0 on Fedora 19 2014-02-25 05:42:35 +00:00
hot-template Fix linting errors in YAML 2016-03-11 14:57:38 +01:00
README.rst Use 'openstack' commands instead in docs 2017-01-03 06:42:36 +00:00

OpenShift Origin Templates

Note

These templates have only been tested with OpenShift V2 and are now deprecated. For up to date templates for deploying OpenShift V3 and beyond on OpenStack refer to the OpenShift-on-OpenStack github project.

This directory contains files for deploying OpenShift Origin to an OpenStack environment via Heat.

The templates has been tested with the OpenStack Icehouse 2014.1 release.

It includes the following folders:

  • hot-template - heat templates in HOT format for launching OpenShift Origin
  • aws-template - heat templates in AWS format for launching OpenShift Origin
  • elements - diskimage-builder elements to build images

To build with diskimage-builder, do the following in the parent directory of heat-templates:

git clone https://github.com/openstack/diskimage-builder.git
apt-get install -y qemu-utils kpartx
mkdir $HOME/tmp
export DIB_RELEASE=19
export ELEMENTS_PATH=heat-templates/openshift-origin/F19/elements
export TMP_DIR=$HOME/tmp
export DIB_IMAGE_SIZE=5
diskimage-builder/bin/disk-image-create --no-tmpfs -a amd64 vm fedora openshift-origin-broker -o F19-x86_64-openshift-origin-broker
openstack image create F19-x86_64-openshift-origin-broker --public true --disk-format qcow2 --container-format bare < F19-x86_64-openshift-origin-broker.qcow2
export DIB_IMAGE_SIZE=20
diskimage-builder/bin/disk-image-create --no-tmpfs -a amd64 vm fedora openshift-origin-node -o F19-x86_64-openshift-origin-node
openstack image create F19-x86_64-openshift-origin-node --public true --disk-format qcow2 --container-format bare < F19-x86_64-openshift-origin-node.qcow2