Documentation
https://docs.openstack.org/magnum/latest/user/
Pre-requirements
# install OSC magnum client to fix "a bytes-like object is required, not 'str'"
echo "deb http://archive.ubuntu.com/ubuntu hirsute main restricted" > /etc/apt/sources.list.d/hirsute.list
apt update
apt install -y python3-magnumclient
# install kubectl
snap install kubectl --classicCLI
openstack stack list
openstack stack show d8a1c3af-7993-4493-91be-19cfce38a870
openstack coe cluster update k8s-cluster replace node_count=2Configure deployment kolla-ansible
# cat /etc/kolla/config/magnum.conf
[cinder]
default_docker_volume_type = VT1
[trust]
cluster_user_trust = True
/etc/kolla/config/heat.conf
[DEFAULT]
#region_name = ch-zh1
region_name_for_services = RegionOne
# /etc/kolla/globals.yml
# magnum_tag: "7.0.0.1"
enable_magnum: "yes"Redeploy / Reconfigure container
kolla-ansible -i /etc/kolla/inventory-hosts deploy -t magnum
Get Fedora AtomicHost images
https://dl.fedoraproject.org/pub/alt/atomic/stable/?C=M;O=D