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

Categorize events to distinguish between create/delete events #1743

Closed
harishspqr opened this issue Nov 8, 2019 · 11 comments
Closed

Categorize events to distinguish between create/delete events #1743

harishspqr opened this issue Nov 8, 2019 · 11 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@harishspqr
Copy link

User Story
Currently the machine events does not indicate if they were related to create/delete of a Machine.
We need more metadata about the event to distinguish between create and delete events.
Detailed Description

Anything else you would like to add:

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 8, 2019
@vincepri
Copy link
Member

/milestone v0.3.0
/priority important-longterm
/help

@k8s-ci-robot
Copy link
Contributor

@vincepri:
This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

/milestone v0.3.0
/priority important-longterm
/help

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 k8s-ci-robot added this to the v0.3.0 milestone Nov 11, 2019
@k8s-ci-robot k8s-ci-robot added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Nov 11, 2019
@noamran
Copy link
Contributor

noamran commented Nov 11, 2019

/assign

@ncdc
Copy link
Contributor

ncdc commented Nov 11, 2019

@noamran do you have an approach in mind for this?

@noamran
Copy link
Contributor

noamran commented Nov 11, 2019

@noamran do you have an approach in mind for this?

@ncdc not yet. Is there a specific approach you think I should be taking?

@ncdc
Copy link
Contributor

ncdc commented Nov 11, 2019

We currently use .Eventf to record events. There is also .AnnotatedEventf, which would allow us to set annotations on the events when we create them. I think that's one possible approach (define a key and values indicating create vs delete)

@ncdc
Copy link
Contributor

ncdc commented Dec 20, 2019

After talking to @yastij yesterday, it sounds like a newer events API is going to remove the annotation support. The recommended path forward is to use conditions instead of events. xref #1658

@ncdc
Copy link
Contributor

ncdc commented Jan 10, 2020

Going through open unassigned issues in the v0.3.0 milestone. We have a decent amount of work left to do on features (control plane, clusterctl, etc). I think we need to defer it to v0.4.

/milestone Next

@k8s-ci-robot k8s-ci-robot modified the milestones: v0.3.0, Next Jan 10, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/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 Apr 9, 2020
@vincepri
Copy link
Member

vincepri commented Apr 9, 2020

Going to close this one for now, and merge the requirement in the conditions proposal coming up.

cc @fabriziopandini
/close

@k8s-ci-robot
Copy link
Contributor

@vincepri: Closing this issue.

In response to this:

Going to close this one for now, and merge the requirement in the conditions proposal coming up.

cc @fabriziopandini
/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
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

6 participants