aa0d451e3f
This PR adds docker container runtime support. To enable it, you could set CONTAINER_RUNTIME=docker in local.conf. It also fixes kubeadm to v1.7.0 because bugs on latest version. Implements: blueprint container-runtime Change-Id: I7e8e2f0a889b932c6fb3a43167bd884e097d2ad2 Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
32 lines
895 B
Plaintext
32 lines
895 B
Plaintext
[[local|localrc]]
|
|
# Supported container runtimes: frakti, docker
|
|
CONTAINER_RUNTIME=frakti
|
|
# Set to local host's IP
|
|
HOST_IP=10.0.0.3
|
|
# Set to master node's IP
|
|
SERVICE_HOST="10.0.0.2"
|
|
MYSQL_HOST=${SERVICE_HOST}
|
|
RABBIT_HOST=${SERVICE_HOST}
|
|
ADMIN_PASSWORD=password
|
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
|
|
ENABLED_SERVICES=""
|
|
|
|
# Neutron
|
|
enable_service q-agt
|
|
|
|
# Kubernetes
|
|
STACKUBE_HOME=${STACKUBE_HOME:-$DEST/stackube}
|
|
# Kubernetes master IP, should set to master IP for minions
|
|
KUBERNETES_MASTER_IP=${SERVICE_HOST}
|
|
# Get token by running following command on the master node
|
|
# sudo kubeadm token list | awk '/kubeadm/{print $1}'
|
|
KUBEADM_TOKEN="token"
|
|
CONTAINER_CIDR="10.244.2.0/24"
|
|
enable_plugin stackube git://git.openstack.org/openstack/stackube
|
|
enable_service stackube
|
|
# Enable kubernetes node components
|
|
enable_service kubernetes_node
|