External-dns: Do not wait forever when API server is unreachable

Created on 31 Jul 2017  路  16Comments  路  Source: kubernetes-sigs/external-dns

Currently it tries forever to connect to api server.

Should be:

  • Have a backoff and max wait time before failing
  • Have a health check that indicates that ExternalDNS is functioning, e.g.

    • Can speak to the API server

    • checks on dns provider availability

    • ...

kinfeature lifecyclrotten sizM

Most helpful comment

Would be great to have backoffs on AWS when throttling is occurring.

{"level":"error","msg":"Throttling: Rate exceeded\n\tstatus code: 400, request id: c8b2c3e2-8f25-11e7-b1f4-1fad538d0a89","time":"2017-09-01T14:56:51Z"}

All 16 comments

Health check should include checks on dns provider availability

@ideahitme added it to the desription.

Would be great to have backoffs on AWS when throttling is occurring.

{"level":"error","msg":"Throttling: Rate exceeded\n\tstatus code: 400, request id: c8b2c3e2-8f25-11e7-b1f4-1fad538d0a89","time":"2017-09-01T14:56:51Z"}

I'm having this issue two with two k8s clusters both running external-dns in the same AWS account.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

/remove-lifecycle rotten

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

/remove-lifecycle stale

This would actually help a soft dependency problem we have when provisioning new clusters. Using Weave Flux, we deploy both kube2iam and external-dns, and if external-dns comes up before kube2iam, external-dns won't have permission to talk to AWS. There is nothing except human intervention that will get us out of this error state. If /healthz would return something other than 200 when calls to the provider are failing, the cluster could restart the pod and let it come up with proper IAM creds (in our use case)

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

/remove-lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings