e005247b89
Currently, by default, kuryr-kubernetes services (controller and CNI daemon) are suppose to be run as a systemd services. The reality is, that in most real world deployments we are using containerized services. In this patch variable KURYR_K8S_CONTAINERIZED_DEPLOYMENT will now have default value set to True, which means, that without even setting it, deploying kuryr-kubernetes will be containerized. Secondly, we agreed[1], that all the gate names should also reflect that change in their names. And finally, non working and outdated local.conf samples for OpenDaylight has to be removed. Behaviour for sample local.confs wasn't change: using them to spin up devstack will still use systemd services. [1] https://etherpad.opendev.org/p/apr2021-ptg-kuryr Change-Id: I2c13893c80e9e5b3b2ac0cb64dd9bd9a40d99e63
72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
[[local|localrc]]
|
|
|
|
RECLONE="no"
|
|
|
|
enable_plugin kuryr-kubernetes \
|
|
https://opendev.org/openstack/kuryr-kubernetes
|
|
|
|
OFFLINE="no"
|
|
LOGFILE=devstack.log
|
|
LOG_COLOR=False
|
|
ADMIN_PASSWORD=pass
|
|
DATABASE_PASSWORD=pass
|
|
RABBIT_PASSWORD=pass
|
|
SERVICE_PASSWORD=pass
|
|
SERVICE_TOKEN=pass
|
|
IDENTITY_API_VERSION=3
|
|
ENABLED_SERVICES=""
|
|
|
|
SERVICE_HOST=UNDERCLOUD_CONTROLLER_IP
|
|
MULTI_HOST=1
|
|
KEYSTONE_SERVICE_HOST=$SERVICE_HOST
|
|
MYSQL_HOST=$SERVICE_HOST
|
|
RABBIT_HOST=$SERVICE_HOST
|
|
|
|
KURYR_CONFIGURE_NEUTRON_DEFAULTS=True
|
|
KURYR_CONFIGURE_BAREMETAL_KUBELET_IFACE=False
|
|
|
|
# Include subnet pool id to use. You can use the one from the default undercloud devstack
|
|
KURYR_NEUTRON_DEFAULT_SUBNETPOOL_ID=UNDERCLOUD_SUBNETPOOL_V4_ID
|
|
|
|
# Include the router to use. You can use the one from the default undercloud devstack
|
|
KURYR_NEUTRON_DEFAULT_ROUTER=router1
|
|
|
|
enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container
|
|
enable_service etcd3
|
|
enable_service kubernetes-master
|
|
enable_service kuryr-kubernetes
|
|
enable_service kuryr-daemon
|
|
|
|
KURYR_POD_VIF_DRIVER=nested-vlan
|
|
|
|
# Kuryr Ports Pools
|
|
# =================
|
|
#
|
|
# To speed up containers boot time the kuryr ports pool driver can be enabled
|
|
# by uncommenting the next line, so that neutron port resources are precreated
|
|
# and ready to be used by the pods when needed
|
|
# KURYR_USE_PORTS_POOLS=True
|
|
#
|
|
# By default the pool driver is noop, i.e., there is no pool. If pool
|
|
# optimizations want to be used you need to set it to 'neutron' for the
|
|
# baremetal case, or to 'nested' for the nested case
|
|
KURYR_VIF_POOL_DRIVER=nested
|
|
#
|
|
# There are extra configuration options for the pools that can be set to decide
|
|
# on the minimum number of ports that should be ready to use at each pool, the
|
|
# maximum (0 to unset), and the batch size for the repopulation actions, i.e.,
|
|
# the number of neutron ports to create in bulk operations. Finally, the update
|
|
# frequency between actions over the pool can be set too
|
|
# KURYR_VIF_POOL_MIN=2
|
|
# KURYR_VIF_POOL_MAX=0
|
|
# KURYR_VIF_POOL_BATCH=5
|
|
# KURYR_VIF_POOL_UPDATE_FREQ=30
|
|
|
|
# Kuryr VIF Pool Manager
|
|
# ======================
|
|
#
|
|
# Uncomment the next line to enable the pool manager. Note it requires the
|
|
# nested-vlan pod vif driver, as well as the ports pool being enabled and
|
|
# configured with the nested driver
|
|
# KURYR_VIF_POOL_MANAGER=True
|