Closed gpelouze closed 10 months ago
On Ubuntu 22.04 we cannot setup minikube ingress-dns following the official instructions.
This is because Ubuntu 22.04 relies on systemd-resolved, while the documentation only supports resolvconf and NetworkManager.
Related:
These solutions involve bypassing systemd-resolved (too invasive), or manually editing /etc/resolv.conf (will be overwritten).
/etc/resolv.conf
We can do the following:
sudo mkdir /etc/systemd/resolved.conf.d sudo tee /etc/systemd/resolved.conf.d/minikube.conf << EOF [Resolve] DNS=$(minikube ip) Domains=~test EOF sudo systemctl restart systemd-resolved
Added to the README https://github.com/QCDIS/NaaVRE-dev-environment/commit/a3ff2d6e66b99966041a34c53bbcde0eafb70690
On Ubuntu 22.04 we cannot setup minikube ingress-dns following the official instructions.
This is because Ubuntu 22.04 relies on systemd-resolved, while the documentation only supports resolvconf and NetworkManager.
Related:
These solutions involve bypassing systemd-resolved (too invasive), or manually editing
/etc/resolv.conf
(will be overwritten).