stackube/install/config_example
Pei Tong ba9fa99f6c blueprint cluster-installation
Add install tool

The tool aims to make the deploying of stackube as easy as possible.
User could set up a whole Stackube cluster automatically by using it.
It uses docker images provided by OpenStack Kolla Project to run a
containerized OpenStack, and uses kubeadm to deploy kubenetes, then
bootstrap the Stackube cluster.

Change-Id: I6f18cf4d1a792bc505f955937f000dc0967341ce
Implements: blueprint cluster-installation
2017-08-30 09:33:39 +00:00

42 lines
994 B
Bash

#!/bin/bash
# Control Node
# At least one and only one node (for now).
CONTROL_NODE_PUBLIC_IP='147.75.77.67'
CONTROL_NODE_PRIVATE_IP='192.168.1.1'
# Network Node(s)
# At least one node. Could be more (separated by commas).
NETWORK_NODES_PRIVATE_IP='192.168.1.2'
NETWORK_NODES_NEUTRON_EXT_IF='eth2'
# Compute Node(s)
# At least one node. Could be more (separated by commas).
COMPUTE_NODES_PRIVATE_IP='192.168.1.1,192.168.1.2'
# Storage Node(s)
# At least one node. Could be more (separated by commas).
STORAGE_NODES_PRIVATE_IP='192.168.1.1,192.168.1.2'
STORAGE_NODES_CEPH_OSD_DATA_DIR='/var/lib/stackube/ceph/ceph_osd,/var/lib/stackube/ceph/ceph_osd'
# NEUTRON_PUBLIC_SUBNET='subnet-range;gateway;allocation-pool'
NEUTRON_PUBLIC_SUBNET='147.75.192.224/29;147.75.192.225;start=147.75.192.226,end=147.75.192.230'
#CEPH_FSID=
#RABBITMQ_PWD=
#MYSQL_ROOT_PWD=
#MYSQL_KEYSTONE_PWD=
#MYSQL_NEUTRON_PWD=
#MYSQL_CINDER_PWD=
#KEYSTONE_ADMIN_PWD=
#KEYSTONE_NEUTRON_PWD=
#KEYSTONE_CINDER_PWD=