zun/devstack/settings
Hongbin Lu 436a0e6091 Configure default container runtime in devstack
* If Kata Container is enabled, configure default runtime as
  "kata-runtime" in Zun config file.
* Update sample devstack config to document enabling kata

Change-Id: I016fd6f59a1a8b631e76f9567d5ef2e38da2bdd7
2020-03-15 23:11:57 +00:00

37 lines
1007 B
Plaintext

# Devstack settings
## Modify to your environment
# FLOATING_RANGE=192.168.1.224/27
# PUBLIC_NETWORK_GATEWAY=192.168.1.225
# PUBLIC_INTERFACE=em1
# FIXED_RANGE=10.0.0.0/24
## Log all output to files
# LOGFILE=$HOME/devstack.log
## Neutron settings
# Q_USE_SECGROUP=True
# ENABLE_TENANT_VLANS=True
# TENANT_VLAN_RANGE=
# PHYSICAL_NETWORK=public
# OVS_PHYSICAL_BRIDGE=br-ex
# Configure Docker cluster store
DOCKER_CLUSTER_STORE=${DOCKER_CLUSTER_STORE:-etcd://$SERVICE_HOST:$ETCD_PORT}
# Enable/Disable Kata Container
ENABLE_KATA_CONTAINERS=${ENABLE_KATA_CONTAINERS:-false}
# Configure CNI plugins
CNI_PLUGINS_INSTALL_PLUGINS=loopback,zun-cni
CNI_PLUGINS_CONF_SOURCE_DIR=$DEST/zun/etc/cni/net.d
# Enable Zun services
if [[ ${HOST_IP} == ${SERVICE_HOST} ]] || [[ "[${HOST_IPV6}]" == "${SERVICE_HOST}" ]]; then
enable_service zun-api
enable_service zun-compute
enable_service zun-wsproxy
enable_service zun-cni-daemon
else
enable_service zun-compute
enable_service zun-cni-daemon
fi