Problem: with both microk8s
and microstack
installed, the k8s' nginx
server is started on the default port (8080)
Solution: Changing the default port for Horizon to 5001
sudo snap set microstack config.network.ports.dashboard=5001
sudo snap restart microstack
Additional notes: MySQL and RabbitMQ ports can also be changed similarly
config.network.ports.mysql
config.network.ports.rabbit
Edit /var/snap/microstack/common/etc/nginx/snap/nginx.conf
Add in the http
section: client_max_body_size 2G;
(adapt the value to what you think you will need).
Restart microstack for changes to take effect.
Problem: microstack
uses kvm
as its default for libvirt
which sadly prevents VirtualBox from running
Solution: Disable kvm
in the 5.8 (Ubuntu 20.04) kernel + Change microstack
to use qemu
Add to /etc/modprobe.d/blacklist.conf
blacklist kvm_intel
blacklist kvm_amd
blacklist kvm
Edit the /var/snap/microstack/common/etc/nova/nova.conf.d/hypervisor.conf
file and replace the [libvirt]
section content by
virt_type = qemu
cpu_mode = host-model
nova
can be manually restarted using systemctl restart snap.microstack.nova-compute.service
Reboot recommended for the blacklist
to take effect.
Note: Truly not my preferred solution but a workaround for the time being
Sources: