Skip to content

Refine k8s event type: change kubernetes event type from Error to Warning#301

Open
yshngg wants to merge 1 commit into
AliyunContainerService:release/1.2.12from
yshngg:features/refine-k8s-event-type
Open

Refine k8s event type: change kubernetes event type from Error to Warning#301
yshngg wants to merge 1 commit into
AliyunContainerService:release/1.2.12from
yshngg:features/refine-k8s-event-type

Conversation

@yshngg
Copy link
Copy Markdown
Contributor

@yshngg yshngg commented Feb 13, 2025

What type of PR is this?
PR类型是什么?

/kind design

What this PR does / why we need it:
这个PR解决了什么问题:

Kubernetes currently defines only two event types: Warning and Normal (with possible future expansions). To adhere to Kubernetes semantics and reduce cognitive friction, we should align Prometheus metrics by replacing the non-standard Error type with the canonical Warning type.

Ref: https://kubernetes.io/docs/reference/kubernetes-api/cluster-resources/event-v1/

Does this PR introduce a breaking change?:
PR带来的破坏性变更:

NONE

Test/Final result:
测试/最终运行结果:

@yshngg yshngg changed the title Refine k8s event level: change kubernetes event level from Error to Warning. Refine k8s event type: change kubernetes event type from Error to Warning. Feb 21, 2025
@yshngg yshngg changed the title Refine k8s event type: change kubernetes event type from Error to Warning. Refine k8s event type: change kubernetes event type from Error to Warning Feb 21, 2025
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

Successfully merging this pull request may close these issues.

1 participant