kubernetes-sigs / external-dns

Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
Apache License 2.0
7.72k stars 2.57k forks source link

namespaced with source:service failed to sync *v1.Node #3879

Closed cpboyd closed 7 months ago

cpboyd commented 1 year ago

What happened:

{"level":"info","msg":"Instantiating new Kubernetes client","time":"2023-08-17T16:02:36Z"}
{"level":"debug","msg":"apiServerURL: ","time":"2023-08-17T16:02:36Z"}
{"level":"debug","msg":"kubeConfig: ","time":"2023-08-17T16:02:36Z"}
{"level":"info","msg":"Using inCluster-config based on serviceaccount-token","time":"2023-08-17T16:02:36Z"}
{"level":"info","msg":"Created Kubernetes client https://10.100.0.1:443","time":"2023-08-17T16:02:36Z"}
{"level":"fatal","msg":"failed to sync *v1.Node: context deadline exceeded","time":"2023-08-17T16:03:36Z"}

What you expected to happen: The node resource shouldn't have been requested according to the docs.

How to reproduce it (as minimally and precisely as possible): Here's the Helm values.yaml:

logLevel: debug
logFormat: json

namespaced: true

sources:
  - service
  - ingress

txtOwnerId: 'external-dns'

domainFilters: ['example.com']

Anything else we need to know?: Commenting out the source - service eliminates the error.

Environment:

k8s-triage-robot commented 9 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 8 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 7 months ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes-sigs/external-dns/issues/3879#issuecomment-2021028135): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
didlawowo commented 6 months ago

bug style there using namespaced and cloudflare

please reopen

time="2024-05-05T18:16:55Z" level=info msg="config: {APIServerURL: KubeConfig: RequestTimeout:30s DefaultTargets:] GlooNamespaces:[gloo-system] SkipperRouteGroupVersion:zalando.org/v1 Sources:[service ingress] Namespace:security AnnotationFilter: LabelFilter: IngressClassNames:] FQDNTemplate: CombineFQDNAndAnnotation:false IgnoreHostnameAnnotation:false IgnoreIngressTLSSpec:false IgnoreIngressRulesSpec:false GatewayNamespace: GatewayLabelFilter: Compatibility: PublishInternal:false PublishHostIP:false AlwaysPublishNotReadyAddresses:false ConnectorSourceServer:localhost:8080 Provider:cloudflare GoogleProject: GoogleBatchChangeSize:1000 GoogleBatchChangeInterval:1s GoogleZoneVisibility: DomainFilter:] ExcludeDomains:] RegexDomainFilter: RegexDomainExclusion: ZoneNameFilter:] ZoneIDFilter:] TargetNetFilter:] ExcludeTargetNets:] AlibabaCloudConfigFile:/etc/kubernetes/alibaba-cloud.json AlibabaCloudZoneType: AWSZoneType: AWSZoneTagFilter:] AWSAssumeRole: AWSAssumeRoleExternalID: AWSBatchChangeSize:1000 AWSBatchChangeSizeBytes:32000 AWSBatchChangeSizeValues:1000 AWSBatchChangeInterval:1s AWSEvaluateTargetHealth:true AWSAPIRetries:3 AWSPreferCNAME:false AWSZoneCacheDuration:0s AWSSDServiceCleanup:false AWSZoneMatchParent:false AWSDynamoDBRegion: AWSDynamoDBTable:external-dns AzureConfigFile:/etc/kubernetes/azure.json AzureResourceGroup: AzureSubscriptionID: AzureUserAssignedIdentityClientID: BluecatDNSConfiguration: BluecatConfigFile:/etc/kubernetes/bluecat.json BluecatDNSView: BluecatGatewayHost: BluecatRootZone: BluecatDNSServerName: BluecatDNSDeployType:no-deploy BluecatSkipTLSVerify:false CloudflareProxied:false CloudflareDNSRecordsPerPage:100 CoreDNSPrefix:/skydns/ RcodezeroTXTEncrypt:false AkamaiServiceConsumerDomain: AkamaiClientToken: AkamaiClientSecret: AkamaiAccessToken: AkamaiEdgercPath: AkamaiEdgercSection: InfobloxGridHost: InfobloxWapiPort:443 InfobloxWapiUsername:admin InfobloxWapiPassword: InfobloxWapiVersion:2.3.1 InfobloxSSLVerify:true InfobloxView: InfobloxMaxResults:0 InfobloxFQDNRegEx: InfobloxNameRegEx: InfobloxCreatePTR:false InfobloxCacheDuration:0 DynCustomerName: DynUsername: DynPassword: DynMinTTLSeconds:0 OCIConfigFile:/etc/kubernetes/oci.yaml OCICompartmentOCID: OCIAuthInstancePrincipal:false OCIZoneScope:GLOBAL OCIZoneCacheDuration:0s InMemoryZones:] OVHEndpoint:ovh-eu OVHApiRateLimit:20 PDNSServer:http://localhost:8081 PDNSAPIKey: PDNSSkipTLSVerify:false TLSCA: TLSClientCert: TLSClientCertKey: Policy:upsert-only Registry:txt TXTOwnerID:default TXTPrefix: TXTSuffix: TXTEncryptEnabled:false TXTEncryptAESKey: Interval:1m0s MinEventSyncInterval:5s Once:false DryRun:false UpdateEvents:false LogFormat:text MetricsAddress::7979 LogLevel:info TXTCacheInterval:0s TXTWildcardReplacement: ExoscaleEndpoint: ExoscaleAPIKey: ExoscaleAPISecret: ExoscaleAPIEnvironment:api ExoscaleAPIZone:ch-gva-2 CRDSourceAPIVersion:externaldns.k8s.io/v1alpha1 CRDSourceKind:DNSEndpoint ServiceTypeFilter:] CFAPIEndpoint: CFUsername: CFPassword: ResolveServiceLoadBalancerHostname:false RFC2136Host: RFC2136Port:0 RFC2136Zone:] RFC2136Insecure:false RFC2136GSSTSIG:false RFC2136KerberosRealm: RFC2136KerberosUsername: RFC2136KerberosPassword: RFC2136TSIGKeyName: RFC2136TSIGSecret: RFC2136TSIGSecretAlg: RFC2136TAXFR:false RFC2136MinTTL:0s RFC2136BatchChangeSize:50 RFC2136UseTLS:false RFC2136SkipTLSVerify:false NS1Endpoint: NS1IgnoreSSL:false NS1MinTTLSeconds:0 TransIPAccountName: TransIPPrivateKeyFile: DigitalOceanAPIPageSize:50 ManagedDNSRecordTypes:[A AAAA CNAME] ExcludeDNSRecordTypes:] GoDaddyAPIKey: GoDaddySecretKey: GoDaddyTTL:0 GoDaddyOTE:false OCPRouterName: IBMCloudProxied:false IBMCloudConfigFile:/etc/kubernetes/ibmcloud.json TencentCloudConfigFile:/etc/kubernetes/tencent-cloud.json TencentCloudZoneType: PiholeServer: PiholePassword: PiholeTLSInsecureSkipVerify:false PluralCluster: PluralProvider: WebhookProviderURL:http://localhost:8888 WebhookProviderReadTimeout:5s WebhookProviderWriteTimeout:10s WebhookServer:false TraefikDisableLegacy:false TraefikDisableNew:false}"
time="2024-05-05T18:16:55Z" level=info msg="Instantiating new Kubernetes client"
time="2024-05-05T18:16:55Z" level=info msg="Using inCluster-config based on serviceaccount-token"
time="2024-05-05T18:16:55Z" level=info msg="Created Kubernetes client https://10.43.0.1:443"
time="2024-05-05T18:17:55Z" level=fatal msg="failed to sync *v1.Node: context deadline exceeded"
Stream closed EOF for security/external-dns-684bf5bcd-bfkh6 (external-dns)
mxkmp commented 1 month ago

Hey, I'm facing similiar issues and my code looks nearly the same. Just trying to create a Gateway and enabled gateways on the external dns.

I'm always getting this output:

│ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=info msg="Instantiating new Kuberne ││ tes client"                                                                                        ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=debug msg="apiServerURL: "          ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=debug msg="kubeConfig: "            ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=info msg="Using inCluster-config ba ││ sed on serviceaccount-token"                                                                       ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=info msg="Created Kubernetes client ││  https://100.72.49.65:443"                                                                         ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=debug msg="apiServerURL: "          ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=debug msg="kubeConfig: "            ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=info msg="Using inCluster-config ba ││ sed on serviceaccount-token"                                                                       ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:30:58Z" level=info msg="Created GatewayAPI client ││  https://100.72.49.65:443"                                                                         ││ external-dns-8d7b947b6-b2b7c time="2024-10-15T08:31:58Z" level=fatal msg="failed to sync *v1.Names ││ pace: context deadline exceeded"