Few fixes in steps for running pods-in-vm

Binding section parameters are missing in steps. Also localrc
files are being improved by including MULTI_HOST variable.

Change-Id: I857cab7e6d5d526811cbccfd7ecf77f3f720bcc0
Partially-Implements: blueprint binding-drivers-porting
This commit is contained in:
vikaschoudhary16 2017-01-19 17:38:54 +05:30
parent 794ec706c5
commit 1422c6dde6
3 changed files with 13 additions and 2 deletions

View File

@ -90,6 +90,12 @@ How to try out nested-pods locally:
[kubernetes]
pod_vif_driver = nested-vlan
- Configure binding section::
[binding]
driver = kuryr.lib.binding.drivers.vlan
link_iface = <VM interface name eg. eth0>
- Restart kuryr-k8s-controller from within devstack screen.
Now launch pods using kubectl, Undercloud Neutron will serve the networking.

View File

@ -16,8 +16,11 @@ SERVICE_TOKEN=pass
IDENTITY_API_VERSION=3
ENABLED_SERVICES=""
enable_service key
enable_service mysql
SERVICE_HOST=UNDERCLOUD_CONTROLLER_IP
MULTI_HOST=1
KEYSTONE_SERVICE_HOST=$SERVICE_HOST
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
enable_service docker
enable_service etcd

View File

@ -11,6 +11,8 @@ LOG_COLOR=False
# If you want the screen tabs logged in a specific location, you can use:
# SCREEN_LOGDIR="${HOME}/devstack_logs"
MULTI_HOST=1
# Credentials
ADMIN_PASSWORD=pass
DATABASE_PASSWORD=pass