The following is a summary of the fixes for this patch. * The description of k8s environment construction in kuryr-kubernetes was changed to the description of using devstack-plugin-container. * Updated k8s support version to 1.30. * Updated helm support version to 3.15. This patch also contains the following fixes: coredns pods not in RUNNING state: - modified file: roles/restart-kubelet-service/tasks/main.yaml - The coredns pods did not go into RUNNING state after reconfiguring the "cni0" interface. Restarting the coredns pods fixed the problem. Change-Id: Id6d9b3279780a88b15c38f008d1e68e1ae466976
82 lines
2.3 KiB
Plaintext
82 lines
2.3 KiB
Plaintext
[[local|localrc]]
|
|
############################################################
|
|
# Customize the following HOST_IP based on your installation
|
|
############################################################
|
|
HOST_IP=127.0.0.1
|
|
|
|
ADMIN_PASSWORD=devstack
|
|
MYSQL_PASSWORD=devstack
|
|
RABBIT_PASSWORD=devstack
|
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_TOKEN=devstack
|
|
|
|
############################################################
|
|
# Customize the following section based on your installation
|
|
############################################################
|
|
|
|
# Pip
|
|
PIP_USE_MIRRORS=False
|
|
USE_GET_PIP=1
|
|
|
|
#OFFLINE=False
|
|
#RECLONE=True
|
|
|
|
# Logging
|
|
LOGFILE=$DEST/logs/stack.sh.log
|
|
VERBOSE=True
|
|
ENABLE_DEBUG_LOG_LEVEL=True
|
|
ENABLE_VERBOSE_LOG_LEVEL=True
|
|
|
|
# Neutron ML2 with OpenVSwitch
|
|
Q_PLUGIN=ml2
|
|
Q_AGENT=ovn
|
|
|
|
# Disable security groups
|
|
LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver
|
|
|
|
# Enable neutron, heat, networking-sfc and barbican
|
|
enable_plugin neutron https://opendev.org/openstack/neutron master
|
|
enable_plugin heat https://opendev.org/openstack/heat master
|
|
enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc master
|
|
enable_plugin barbican https://opendev.org/openstack/barbican master
|
|
|
|
# Aodh
|
|
enable_plugin aodh https://opendev.org/openstack/aodh master
|
|
|
|
# Tacker
|
|
enable_plugin tacker https://opendev.org/openstack/tacker master
|
|
|
|
enable_service n-novnc
|
|
enable_service n-cauth
|
|
|
|
disable_service tempest
|
|
|
|
# Enable devstack-plugin-container, crio
|
|
|
|
# "KUBERNETES_VIM=True" is not available now. As kuryr-kubernetes project will
|
|
# retire, the procedure when "KUBERNETES_VIM=True" will be changed to deploy
|
|
# with not kuryr-kubernetes but devstack-plugin-container in future updates.
|
|
# KUBERNETES_VIM=True
|
|
|
|
# It is necessary to specify the patch version
|
|
# because it is the version used when executing "apt-get install" command.
|
|
K8S_VERSION="1.30.5"
|
|
K8S_TOKEN="9agf12.zsu5uh2m4pzt3qba"
|
|
CONTAINER_ENGINE="crio"
|
|
CRIO_VERSION="1.30.5"
|
|
|
|
enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container master
|
|
|
|
enable_service k8s-master
|
|
enable_service container
|
|
|
|
[[post-config|/etc/neutron/dhcp_agent.ini]]
|
|
[DEFAULT]
|
|
enable_isolated_metadata = True
|
|
|
|
# NOTE: workaround for Cinder image volume cache problem.
|
|
# https://bugs.launchpad.net/cinder/+bug/1953704
|
|
[[post-config|/etc/cinder/cinder.conf]]
|
|
[lvmdriver-1]
|
|
image_volume_cache_enabled = False
|