adamant-kite-43734
09/01/2023, 7:59 AMcreamy-pencil-82913
09/01/2023, 8:00 AMnarrow-belgium-64581
09/01/2023, 8:52 AM2023/09/01 08:21:23 max retry time elapsed: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup opentelemetry-collector.observability.svc on 192.168.86.8:53: server misbehaving"
I0901 08:25:20.801632 1 trace.go:219] Trace[1237873995]: "Get" accept:application/json, */*,audit-id:92892e7b-c318-495d-bcfa-70592eb2753e,client:192.168.130.185,protocol:HTTP/2.0,resource:pods,scope:resource,url:/api/v1/namespaces/kube-system/pods/kube-apiserver-cl4-srv-01/log,user-agent:k9s/v0.0.0 (linux/amd64) kubernetes/$Format,verb:GET (01-Sep-2023 08:25:17.047) (total time: 3753ms):
Trace[1237873995]: ---"Writing http response done" 3748ms (08:25:20.801)
Trace[1237873995]: [3.753935377s] [3.753935377s] END
W0901 08:25:33.644090 1 logging.go:59] [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {
"Addr": "opentelemetry-collector.observability.svc:4317",
"ServerName": "opentelemetry-collector.observability.svc:4317",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "transport: Error while dialing dial tcp: lookup opentelemetry-collector.observability.svc on 192.168.86.8:53: server misbehaving"
2023/09/01 08:25:33 max retry time elapsed: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup opentelemetry-collector.observability.svc on 192.168.86.8:53: server misbehaving"
the "192.168.86.8" is the host DNS nameserver in /etc/resolv.conf. Is the same for both dnsPolicy (ClusterFisrt and ClusterFirstWithHostNet.
BTW all kube-system containers handled by RKE2 are with "hostNetwork: true" on the manifest. Does any config to change that (the dnsPolicy) at the install of RKE2 ?narrow-belgium-64581
09/01/2023, 10:29 AM