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

Egress events doesn't record event when EgressIP is unassigned from EgressNode and not assigned to any other K8s Node #5996

Closed
Atish-iaf opened this issue Feb 16, 2024 · 2 comments · Fixed by #6011
Assignees
Labels
area/transit/egress Issues or PRs related to Egress (SNAT for traffic egressing the cluster). kind/bug Categorizes issue or PR as related to a bug.

Comments

@Atish-iaf
Copy link
Contributor

Describe the bug
Egress events doesn't record an event when EgressIP is unassigned from EgressNode and not assigned to any other K8s Node.

To Reproduce

  1. Label anyone K8s Node(say NodeA) in the K8s cluster with some label(say labelA)
  2. Apply externalippool with nodeSelector as labelA
  3. Apply Egress and use above applied externalippool in the egress.
  4. EgressIP is assigned to NodeA and this event is recorded.
  5. Now remove labelA from NodeA or make the EgressNode down.
  6. EgressIP is unassigned from NodeA and not assigned to any other K8s Node as no other Node has labelA but this event doesn't get recorded.

Expected
When EgressIP is unassigned from EgressNode and not assigned to any other K8s Node, it should be recorded as an event.

Actual behavior
Above mentioned event doesn't get recorded.

Versions:

Additional context

@Atish-iaf Atish-iaf added kind/bug Categorizes issue or PR as related to a bug. area/transit/egress Issues or PRs related to Egress (SNAT for traffic egressing the cluster). labels Feb 16, 2024
@tnqn
Copy link
Member

tnqn commented Feb 20, 2024

@Atish-iaf thanks for creating the issue. I think it should be fixed. Are you working on a patch?

@jainpulkit22
Copy link
Contributor

@tnqn @Atish-iaf I can take this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/transit/egress Issues or PRs related to Egress (SNAT for traffic egressing the cluster). kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants