-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
AWSSD: Add rudimentary support for RegisterInstance with port #2553
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: miklapko The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/check-cla |
Bumping this as it is really small / simple and would be a huge help if implemented. |
Any chance of merging this please? Have been running external-dns with this change for months now without issues and with expected behavior. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
This isn't entirely accurate: if the SD service is configured to include a SRV record, the port is used for the SRV record. External-dns will generate SRV I'm not sure what the right answer is here. For some sources, like |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
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. |
Description
When using AWS SD services with healthchecks, external-dns isn't able to register any instances (
RegisterInstance
) of said services - it doesn't provide a default port to AWS API, and this parameter is required.This PR will result in external-dns AWS SD provider always using port 443 when registering instances, however it a) won't break anything since when no healthchecks are configured in AWS, the port isn't used and b) adds at least some support for registering instances with healthchecks while there was previously none.
RegisterInstance
in aws_sd.go.Tested on a cluster for a few days, external-dns is able to successfully register instances of an AWS SD service with healthchecks enabled.
Checklist