QCDIS / NaaVRE-dev-environment

Integrated development environment for NaaVRE
Apache License 2.0
0 stars 0 forks source link

Cannot setup ingress-dns Ubuntu 22.04 #1

Closed gpelouze closed 10 months ago

gpelouze commented 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).

gpelouze commented 10 months ago

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
gpelouze commented 10 months ago

Added to the README https://github.com/QCDIS/NaaVRE-dev-environment/commit/a3ff2d6e66b99966041a34c53bbcde0eafb70690