https://rancher.com/ logo
Title
s

stale-fish-49559

08/26/2022, 4:45 PM
Hi, I am able to boot of k3s on yocto without an issues, that i know of, but coredns just keeps printing `still waiting on: kubernetes`` and eventually has a timeout on the api server
Kubernetes API connection failure: Get "<https://10.43.0.1:443/version>": dial tcp 10.43.0.1:443: connect: network is unreachable
. Any ideas how to approached this problem? DNS cache issue, flannel?
i deployed a debug imagine with host network true and i can ping the coredns IP
curl <https://10.43.0.1/version> -k
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "Unauthorized",
  "reason": "Unauthorized",
  "code": 401
}
if i remove host network true
and try the same
eventually timeouts
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.42.0.1       0.0.0.0         UG    0      0        0 eth0
10.42.0.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.42.0.0       10.42.0.1       255.255.0.0     UG    0      0        0 eth0
deleted.