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

Request for Events Generation for Automatic Changes in Cluster State #11944

Open
huaqing1994 opened this issue Mar 10, 2025 · 2 comments
Open
Labels
needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@huaqing1994
Copy link

In the CAPI, there are certain behaviors that automatically trigger changes in the cluster state, such as certificate rotation and MHC. After these behaviors occur, we can only know what happened by querying the logs.

I would like to propose that for such automatic behaviors, corresponding events should be generated. This would allow for easier observation of these changes and enable other systems to be aware of them in a more streamlined manner.

Implementing event generation for these actions would improve overall observability and strengthen integration capabilities with other monitoring and automation systems.

Thank you for considering this enhancement.

@k8s-ci-robot k8s-ci-robot added needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 10, 2025
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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-sigs/prow repository.

@chrischdi
Copy link
Member

Did you consider to rely on metrics (e.g. via kube-state-metrics + custom config) instead (e.g. via condition metrics)?

events are not an api we provide, nor is standardized what they contain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants