aws-load-balancer-controller icon indicating copy to clipboard operation
aws-load-balancer-controller copied to clipboard

Configure ingress with new group name does not delete old alb automatically

Open jennyli-z opened this issue 3 years ago • 2 comments

Describe the bug Configure ingress with new group name does not delete old alb automatically

Steps to reproduce

  1. create ingress with name A
  2. change ingress name to B(it already created alb before for other ingress)
  3. the ingress change to bind with new alb
  4. check the aws console ,the old one still exists.

Expected outcome The old one should be deleted automatically.

Environment

  • AWS Load Balancer controller version
  • Kubernetes version
  • Using EKS (yes/no), if so version? yes,Using EKS. 1.23 Additional Context:

jennyli-z avatar Sep 29 '22 12:09 jennyli-z

@jennyli-z It should be deleted. Would you help share the output of kubectl get ingress/<ingressA> -o yaml. There should be a finalizer on it.

M00nF1sh avatar Oct 03 '22 18:10 M00nF1sh

finalizers: - group.ingress.k8s.aws/[New group]

Yes, it has a finalizer with new created group of alb.

jennyli-z avatar Oct 06 '22 02:10 jennyli-z

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:

  • 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:

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

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

/lifecycle stale

k8s-triage-robot avatar Jan 10 '23 23:01 k8s-triage-robot

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:

  • 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:

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

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

/lifecycle rotten

k8s-triage-robot avatar Feb 09 '23 23:02 k8s-triage-robot

I've noticed the same issue - adding or changing group on Ingress objects creates new ALB (good) but does not clean up the old ALB (not good)

Fodoj avatar Feb 21 '23 11:02 Fodoj

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

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

/close not-planned

k8s-triage-robot avatar Mar 23 '23 11:03 k8s-triage-robot

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

In response to this:

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

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

/close not-planned

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 avatar Mar 23 '23 11:03 k8s-ci-robot