aleobons
(ALEXANDRE LEOBONS SOUZA)
1
Hi, guys.
I need to some help, please.
When I run the command: sudo microk8s juju deploy kubeflow-lite --trust
I receive this error:
ERROR resolving with preferred channel: Post “https://api.charmhub.io/v2/charms/refresh”: dial tcp: lookup api.charmhub.io on 10.152.183.10:53: server misbehaving
Below it is the debug:
SO: Ubuntu 16.04.7 LTS
Kubernetes: Microk8s 1.21/stable
thanks
eludwig
(Eric Ludwig)
2
I am getting a Error as well. Not the same Error but I am getting no route to host. But i am able to ping and curl the https://api.charmhub.io/v2/charms/refresh
you may need to update codedns configmap. Please run the command below and see if nameserver ip address are properly set.
microk8s.kubectl get configmap -n kube-system coredns -o yaml > coredns.yaml
If not, update coredns.yaml and run the command below
microk8s.kubectl apply -f coredns.yaml
1 Like
Hi @halilagin, I’m having a similar error message.
I runned your command and the coredns.yaml
is as follows:
apiVersion: v1
data:
Corefile: |
.:53 {
errors
health {
lameduck 5s
}
ready
log . {
class error
}
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
forward . 8.8.8.8 8.8.4.4
cache 30
loop
reload
loadbalance
}
kind: ConfigMap
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","data":{"Corefile":".:53 {\n errors\n health {\n lameduck 5s\n }\n ready\n log . {\n class error\n }\n kubernetes cluster.local in-addr.arpa ip6.arpa {\n pods insecure\n fallthrough in-addr.arpa ip6.arpa\n }\n prometheus :9153\n forward . 8.8.8.8 8.8.4.4\n cache 30\n loop\n reload\n loadbalance\n}\n"},"kind":"ConfigMap","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"EnsureExists","k8s-app":"kube-dns"},"name":"coredns","namespace":"kube-system"}}
creationTimestamp: "2023-03-04T13:59:39Z"
labels:
addonmanager.kubernetes.io/mode: EnsureExists
k8s-app: kube-dns
name: coredns
namespace: kube-system
resourceVersion: "45724"
uid: d487bae2-3c85-48e2-841d-8696ee0df090
How would I change this to solve the problem as you suggest?
Thank you for your collaboration!
1 Like