Merge "Use CRI driver for capsule by default"
This commit is contained in:
commit
db45dc31a7
@ -178,12 +178,8 @@ function create_zun_conf {
|
|||||||
|
|
||||||
# (Re)create ``zun.conf``
|
# (Re)create ``zun.conf``
|
||||||
rm -f $ZUN_CONF
|
rm -f $ZUN_CONF
|
||||||
if [[ ${ZUN_DRIVER} == "docker" ]]; then
|
iniset $ZUN_CONF DEFAULT container_driver $ZUN_DRIVER
|
||||||
iniset $ZUN_CONF DEFAULT container_driver docker
|
iniset $ZUN_CONF DEFAULT capsule_driver $ZUN_CAPSULE_DRIVER
|
||||||
fi
|
|
||||||
if [[ ${ZUN_CAPSULE_DRIVER} == "cri" ]]; then
|
|
||||||
iniset $ZUN_CONF DEFAULT capsule_driver cri
|
|
||||||
fi
|
|
||||||
iniset $ZUN_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
iniset $ZUN_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
|
||||||
if [[ $SERVICE_IP_VERSION == 6 ]]; then
|
if [[ $SERVICE_IP_VERSION == 6 ]]; then
|
||||||
iniset $ZUN_CONF DEFAULT my_ip "$HOST_IPV6"
|
iniset $ZUN_CONF DEFAULT my_ip "$HOST_IPV6"
|
||||||
|
@ -30,7 +30,7 @@ Interdependencies to other options:
|
|||||||
* None
|
* None
|
||||||
"""),
|
"""),
|
||||||
cfg.StrOpt('capsule_driver',
|
cfg.StrOpt('capsule_driver',
|
||||||
default='docker',
|
default='cri',
|
||||||
help="""Defines which driver to use for controlling capsule.
|
help="""Defines which driver to use for controlling capsule.
|
||||||
Possible values:
|
Possible values:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user