291127f0d1
The plugin install components including * OpenStack Keystone, Neutron and Cinder with Ceph backend * Kubernetes with frakti container runtime * Kubernetes auth via keystone Implements: blueprint kubernetes-deploy Change-Id: Ib2ad60b71bc51bdedaefd7014c83ed7ba56414e3 Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
30 lines
823 B
Plaintext
30 lines
823 B
Plaintext
[[local|localrc]]
|
|
# 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
|