New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airgapped: unable to reach the dashboard through public-url #703
Comments
from inside the
looking into the microk8s coredns container, I can see timeouts to resolve the url:
it's clear that it is indeed a dns resolution problem, microk8s is using the google dns by default |
The DNS add-on of microk8s should be configured to the host's local nameserver, this is possible by running:
Tested and verified this fix. We should add a note about this in our air-gapped documentation: to correctly set the dns in your kubernetes cluster. |
Nice finding! I'll include this to my PR to we can close this issue. But before doing so, @NohaIhab does the above change make CoreDNS to only use the new DNS server or it will still use If it replaces |
@kimwnasptd it will replace |
@NohaIhab I updated the doc per your note: https://discourse.charmhub.io/t/install-charmed-kubeflow-in-an-air-gapped-environment/11733#heading--microk8s-dns |
Closing this, since we now configure the dns accordingly in #682 |
Bug Description
Airgapped Charmed Kubeflow
Getting a
403 Forbidden
when trying to curl the public-url. Looking at the logs inoidc-gatekeeper
:oidc is not able to reach dex through the public-url.
However, when setting the public-url to the in-cluster service IP of dex, the dashboard is reachable. For example by doing:
I can reach the dashboard with:
Based on the above, the issue is potentially with dns resolution. To confirm this, we can exec into a pod in the cluster and try to curl the url.
To Reproduce
Environment
microk8s 1.24/stable
juju 2.9/stable
Relevant Log Output
The text was updated successfully, but these errors were encountered: