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:
parent
794ec706c5
commit
1422c6dde6
@ -90,6 +90,12 @@ How to try out nested-pods locally:
|
|||||||
[kubernetes]
|
[kubernetes]
|
||||||
pod_vif_driver = nested-vlan
|
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.
|
- Restart kuryr-k8s-controller from within devstack screen.
|
||||||
|
|
||||||
Now launch pods using kubectl, Undercloud Neutron will serve the networking.
|
Now launch pods using kubectl, Undercloud Neutron will serve the networking.
|
||||||
|
@ -16,8 +16,11 @@ SERVICE_TOKEN=pass
|
|||||||
IDENTITY_API_VERSION=3
|
IDENTITY_API_VERSION=3
|
||||||
ENABLED_SERVICES=""
|
ENABLED_SERVICES=""
|
||||||
|
|
||||||
enable_service key
|
SERVICE_HOST=UNDERCLOUD_CONTROLLER_IP
|
||||||
enable_service mysql
|
MULTI_HOST=1
|
||||||
|
KEYSTONE_SERVICE_HOST=$SERVICE_HOST
|
||||||
|
MYSQL_HOST=$SERVICE_HOST
|
||||||
|
RABBIT_HOST=$SERVICE_HOST
|
||||||
|
|
||||||
enable_service docker
|
enable_service docker
|
||||||
enable_service etcd
|
enable_service etcd
|
||||||
|
@ -11,6 +11,8 @@ LOG_COLOR=False
|
|||||||
# If you want the screen tabs logged in a specific location, you can use:
|
# If you want the screen tabs logged in a specific location, you can use:
|
||||||
# SCREEN_LOGDIR="${HOME}/devstack_logs"
|
# SCREEN_LOGDIR="${HOME}/devstack_logs"
|
||||||
|
|
||||||
|
MULTI_HOST=1
|
||||||
|
|
||||||
# Credentials
|
# Credentials
|
||||||
ADMIN_PASSWORD=pass
|
ADMIN_PASSWORD=pass
|
||||||
DATABASE_PASSWORD=pass
|
DATABASE_PASSWORD=pass
|
||||||
|
Loading…
Reference in New Issue
Block a user