Open didlawowo opened 2 months ago
/assign
i have also tested an another way and i get this error
leTLSInsecureSkipVerify:false PluralCluster: PluralProvider: WebhookProviderURL:http://localhost:8888 WebhookProviderReadTimeout:5s WebhookProviderWriteTimeout:10s Webhook │ │ Server:false TraefikDisableLegacy:false TraefikDisableNew:false}" │ │ time="2024-10-03T14:51:40Z" level=debug msg="apiServerURL: " │ │ time="2024-10-03T14:51:40Z" level=debug msg="kubeConfig: " │ │ time="2024-10-03T14:51:40Z" level=info msg="Using inCluster-config based on serviceaccount-token" │ │ time="2024-10-03T14:51:40Z" level=info msg="Created GatewayAPI client https://10.43.0.1:443" │ │ time="2024-10-03T14:51:40Z" level=info msg="Instantiating new Kubernetes client" │ │ time="2024-10-03T14:51:40Z" level=debug msg="apiServerURL: " │ │ time="2024-10-03T14:51:40Z" level=debug msg="kubeConfig: " │ │ time="2024-10-03T14:51:40Z" level=info msg="Using inCluster-config based on serviceaccount-token" │ │ time="2024-10-03T14:51:40Z" level=info msg="Created Kubernetes client https://10.43.0.1:443" │ │ time="2024-10-03T14:52:40Z" level=fatal msg="failed to sync *v1.HTTPRoute: context deadline exceeded" │ │ Stream closed EOF for whoami/external-dns-gateway-695c8d9dbf-pxv48 (external-dns-gateway)
i'm using gateway standard spec.
You need to add this configuration to your traefik deployment:
https://doc.traefik.io/traefik/providers/kubernetes-gateway/#statusaddress
As extra args it would be:
args:
- --providers.kubernetesGateway.statusAddress.service.namespace=<traefik_namespace>
- --providers.kubernetesGateway.statusAddress.service.name=<traefik_service_name>
I also have the same issue using Istio with httproutes.gateway.networking.k8s.io
.
Nothing happens on external-dns when I create the http route with host name in annotation and spec but eventually external-dns crashes with msg="failed to sync *v1beta1.Gateway: context deadline exceeded"
.
I've deployed external-dns with --source=gateway-httproute
flag.
I'm getting this annoying issue after I added
to my externalDNS config and now pods are failing to start and end up in CrashBackLoopOff, however, just restarting the deployment seems to do enough to et them working again. I don't understand.
{"level":"info","msg":"Using inCluster-config based on serviceaccount-token","time":"2024-11-25T16:26:54Z"}
{"level":"info","msg":"Created Kubernetes client https://172.20.0.1:443","time":"2024-11-25T16:26:54Z"}
{"level":"info","msg":"Using inCluster-config based on serviceaccount-token","time":"2024-11-25T16:26:55Z"}
{"level":"info","msg":"Created GatewayAPI client https://172.20.0.1:443","time":"2024-11-25T16:26:55Z"}
{"level":"fatal","msg":"failed to sync *v1alpha3.Gateway: context deadline exceeded","time":"2024-11-25T16:27:55Z"}```
Actually, now I've seen better, is that pod starts and, at some point get into that timeout and get stuck. What is causing this error? IDK, it looks like and slow endpoint but ExternalDNS should not get stuck on this error anywat
-->
What happened: try to configure external dns with gateway api to provide dns entry
What you expected to happen: nslookup working
How to reproduce it (as minimally and precisely as possible): create a gateway / httproute with annotation
Anything else we need to know?: don't see anything in logs
Environment: k3s
external-dns --version
): latestmy config
Pod info