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

event-namespace doesn't appear to work #977

Open
tzneal opened this issue Oct 16, 2024 · 3 comments
Open

event-namespace doesn't appear to work #977

tzneal opened this issue Oct 16, 2024 · 3 comments

Comments

@tzneal
Copy link

tzneal commented Oct 16, 2024

When using a non-default event-namespace, events don't appear to get emitted.

From the code, there are two cases:

  • If there is no involved object, event must be in the default namespace
  • The event must be in the namespace of the object (default or empty namespace for Node objects)

Does this option serve another purpose?

@dims
Copy link
Member

dims commented Oct 17, 2024

@tzneal is this related? kubernetes/kubernetes#89062 (comment)

@tzneal
Copy link
Author

tzneal commented Oct 17, 2024

Maybe so, there doesn't seem to be clear docs about it and if this should work.

@liggitt
Copy link
Member

liggitt commented Oct 18, 2024

I don't think kubernetes/kubernetes#89062 (comment) is related to the namespace issue

The rule for events is that they have to be in the same namespace as the related object, or the default namespace for cluster-scoped objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants