Skip to content
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

support external ips for istio #3720

Closed

Conversation

JaehoonHyun
Copy link

@JaehoonHyun JaehoonHyun commented Jun 21, 2023

Description

When externalIPs of service which is loadbalancer type created, external-dns doesn't support for istio-gateway, istio-virtualservice.

Checklist

  • Unit tests updated
  • End user documentation updated

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 21, 2023
@mloiseleur
Copy link
Contributor

thanks @JaehoonHyun
CLA step is ok.
Now, this PR needs some (unit) tests. Do you think you can add them ?

@JaehoonHyun
Copy link
Author

thanks @JaehoonHyun CLA step is ok. Now, this PR needs some (unit) tests. Do you think you can add them ?

oh, I got it. Thanks your rapid response. I will try it now

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 22, 2023
@k8s-ci-robot
Copy link
Contributor

@mloiseleur: changing LGTM is restricted to collaborators

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.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: JaehoonHyun, mloiseleur
Once this PR has been reviewed and has the lgtm label, please assign raffo for approval. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@JaehoonHyun
Copy link
Author

@mloiseleur
And then Next What do I do?

@mloiseleur
Copy link
Contributor

mloiseleur commented Jun 23, 2023

@JaehoonHyun Reviewers and maintainers will review it when they can.

@johngmyers
Copy link
Contributor

For the Service source, ExternalIPs take precedence over LoadBalancer.Ingress. Why do the Istio sources need to return both?

@johngmyers
Copy link
Contributor

Would it make sense to call extractLoadBalancerTargets() instead of (incompletely) duplicating the logic?

@johngmyers
Copy link
Contributor

Is it intentional that the code also includes the ExternalIPs of matching Services of type other than LoadBalancer?

@JaehoonHyun
Copy link
Author

JaehoonHyun commented Jun 27, 2023

For the Service source, ExternalIPs take precedence over LoadBalancer.Ingress. Why do the Istio sources need to return both?

in this case, I don't consider the priority. you want to do same thing like Service

@JaehoonHyun
Copy link
Author

Is it intentional that the code also includes the ExternalIPs of matching Services of type other than LoadBalancer?

noop. I will make same priority like Service

@johngmyers
Copy link
Contributor

In #3734 we're discussing the possibility of refactoring the service source to make its endpoint extraction code consumable by sources such as Istio.

@JaehoonHyun
Copy link
Author

In #3734 we're discussing the possibility of refactoring the service source to make its endpoint extraction code consumable by sources such as Istio.

Is it right thing? I feel that these code are target to independent logic.

@johngmyers
Copy link
Contributor

@JaehoonHyun could you explain why you believe the logic should be independent?

@JaehoonHyun
Copy link
Author

@JaehoonHyun could you explain why you believe the logic should be independent?

I have refer Service code, Istio Gateway code and Virtual service code, it is some different test code style between Service and Istio Resources.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 24, 2023
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

@k8s-triage-robot
Copy link

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

This bot triages PRs 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 PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 21, 2024
@k8s-triage-robot
Copy link

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

This bot triages PRs 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 PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 20, 2024
@k8s-triage-robot
Copy link

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:

  • 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 PR is closed

You can:

  • Reopen this PR with /reopen
  • Mark this PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

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

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closed this PR.

In response to this:

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:

  • 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 PR is closed

You can:

  • Reopen this PR with /reopen
  • Mark this PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

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

/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants