-
Notifications
You must be signed in to change notification settings - Fork 917
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
operator: dial tcp: lookup karmada-webhook.karmada-system.svc on x.x.x.x: no such host #4893
Comments
The url is hardcoded and actually needs to be entered via a variable. |
cc @calvin0327 to confirm |
/assign |
RainbowMango
moved this from Planned In Release 1.10
to Triaging
in Karmada Overall Backlog
Jun 4, 2024
ping @calvin0327 @zhzhuang-zju |
I will double-check to see if this issue exists. |
After re-verification, error logs were still found in the $ kubectl get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 11d
karmada-system karmada-demo-aggregated-apiserver ExternalName <none> karmada-demo-aggregated-apiserver.test.svc <none> 11d
karmada-system karmada-demo-metrics-adapter ExternalName <none> karmada-demo-metrics-adapter.test.svc <none> 11d
karmada-system karmada-demo-search ExternalName <none> karmada-demo-search.test.svc <none> 11d
$ kubectl logs -f --namespace test karmada-demo-apiserver-69794b89d5-9lcvv
W1112 09:24:01.326687 1 reflector.go:547] storage/cacher.go:/work.karmada.io/resourcebindings: failed to list work.karmada.io/v1alpha1, Kind=ResourceBinding: conversion webhook for work.karmada.io/v1alpha2, Kind=ResourceBinding failed: Post "https://karmada-webhook.karmada-system.svc:443/convert?timeout=30s": dial tcp: lookup karmada-webhook.karmada-system.svc on 10.96.0.10:53: no such host
E1112 09:24:01.326699 1 cacher.go:476] cacher (resourcebindings.work.karmada.io): unexpected ListAndWatch error: failed to list work.karmada.io/v1alpha1, Kind=ResourceBinding: conversion webhook for work.karmada.io/v1alpha2, Kind=ResourceBinding failed: Post "https://karmada-webhook.karmada-system.svc:443/convert?timeout=30s": dial tcp: lookup karmada-webhook.karmada-system.svc on 10.96.0.10:53: no such host; reinitializing... |
/assign |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
when deploying karmada instance by operator,
karmada-apiserver
will reportdial tcp: lookup karmada-webhook.karmada-system.svc on x.x.x.x: no such host
error if the namespace of karmada instance is notkarmada-system
.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
test
karmada-apiserver
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: