Skip to content

[BUG] Creating an incorrect custom resource may lead to metrics/logs flood #58

@s-vitaliy

Description

@s-vitaliy

Description

If someone creates an incorrect object that cannot be parsed, and the issuer/validator instance is restarted it creates a lot of warning events. Not that this behavior can be reproduced only when the app is restarted.

If a broken object is created without restart, the app will issue a single warning and you may think that it's not a big deal. But it is.

Steps to reproduce the issue

  1. Create a broken K8S object (e.g. without a requied field)
  2. Restart the kube-rs informer
  3. See a lot of warnings.

Describe the results you expected

Single warning per object.

System information

No response

Metadata

Metadata

Assignees

Labels

code/bugSomething isn't working

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions