Skip to content

configurable frequency time to check for annotations and reduce logging to show only errors and objects deleted. #41

@amjadseera

Description

@amjadseera

Describe the feature request

right now the code check every five minutes and scans for all the objects for the annotations. i would be good if can have a configurable time for it.
2023/07/27 07:18:10 Execution took 9840ms, sleeping for 5m0s
2023/07/27 07:23:19 Execution took 9752ms, sleeping for 5m0s
2023/07/27 07:28:29 Execution took 9734ms, sleeping for 5m0s
2023/07/27 07:33:30 [persistentvolumeclaims/nifi-state-nifi-0] is configured with a TTL of 5s, which means it has expired 42h54m8s ago
2023/07/27 07:33:30 [persistentvolumeclaims/nifi-state-nifi-0] deleted
2023/07/27 07:33:32 [statefulsets/nifi] is configured with a TTL of 5s, which means it has expired 18m39s ago
2023/07/27 07:33:32 [statefulsets/nifi] deleted
2023/07/27 07:33:39 Execution took 10125ms, sleeping for 5m0s

Why do you personally want this feature to be implemented?

it would be nice if its configurable or made intelligent using watch. that would

How long have you been using this project?

1 month

Additional information

abiliity to watch for annotations or a configurable frequency to check
reduce logging to show only error and objects deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions